# Export Apify Datasets to Backblaze B2

**Use case:** 

Preview Apify dataset exports to Backblaze B2 cloud storage in JSONL format. Generate sample export files and a manifest without API credentials using dry-run mode. Ideal for testing automated dataset backups, ETL workflows, and S3-compatible storage integrations.

## Input

```json
{
  "provider": "backblaze",
  "region": "us-east-1",
  "sampleItems": [
    {
      "company": "OptiRefine",
      "product": "Multicloud Dataset Exporter",
      "category": "Cloud Storage",
      "records": 1200
    },
    {
      "company": "OptiRefine",
      "product": "Data Backup Pipeline",
      "category": "ETL",
      "records": 2500
    },
    {
      "company": "OptiRefine",
      "product": "Dataset Archive",
      "category": "Backup",
      "records": 4800
    }
  ],
  "format": "jsonl",
  "keyPrefix": "apify-exports/backblaze-preview",
  "maxItems": 3,
  "maxRowsPerPart": 1000,
  "maxBytesPerPart": 5242880,
  "compressGzip": false,
  "forcePathStyle": true,
  "incremental": false,
  "cursorStoreName": "multicloud-exporter-backblaze-cursor",
  "dryRun": true
}
```

## Output

```json
{
  "objectKey": {
    "label": "Object key",
    "format": "string"
  },
  "bucket": {
    "label": "Bucket",
    "format": "string"
  },
  "rows": {
    "label": "Rows",
    "format": "integer"
  },
  "bytes": {
    "label": "Stored bytes",
    "format": "integer"
  },
  "dryRun": {
    "label": "Preview only",
    "format": "boolean"
  },
  "sha256": {
    "label": "SHA-256 checksum",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Multi-Cloud Dataset Exporter — S3, R2, B2 & Wasabi Actor is ready to run with the inputs already set for "Export Apify Datasets to Backblaze B2". [Sign up or log in](https://console.apify.com/create-task-from-example/Jp4uRjZUAoCuIJGbA) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export Apify Datasets to Backblaze B2" task

The Multi-Cloud Dataset Exporter — S3, R2, B2 & Wasabi Actor will start running based on the input automatically. You can also change all the input fields, like cloud storage provider, cloud region, and more, to match your specific use case.

### 3. Receive the "Export Apify Datasets to Backblaze B2" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as object key, bucket, rows, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export Apify Datasets to Backblaze B2" task via API](https://apify.com/optirefine/multicloud-dataset-exporter.md).

## FAQ

### What format can I export my Apify datasets in?

The Export Apify Datasets to Backblaze B2 task exports datasets in JSONL format.

### What does the 'dryRun' mode do in this task?

The 'dryRun' mode allows users to preview the export files and generate a manifest without uploading any data to Backblaze B2.

### What output fields does this task generate?

The task generates output fields including object key, bucket name, row count, stored bytes, dry run status, and SHA-256 checksum.

### How does the task handle data partitioning during export?

The task automatically partitions the data based on a maximum row limit of 1000 and a maximum byte limit of 5 MiB per part.

### Can I automate the running of this task?

Yes, this task can be scheduled to run automatically in the Apify Console.

### What storage location does this task target for exporting datasets?

This task specifically targets Backblaze B2 cloud storage for exporting datasets.

## About this Actor

This example demonstrates how to use [Multi-Cloud Dataset Exporter — S3, R2, B2 & Wasabi](https://apify.com/optirefine/multicloud-dataset-exporter.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/optirefine/multicloud-dataset-exporter.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/optirefine/multicloud-dataset-exporter.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
