Connect Backblaze B2 (S3-compatible) to FileMigrata
This article explains how to connect Backblaze B2 to FileMigrata, for example to move backup data into Microsoft 365, Google, or another bucket.
FileMigrata uses the B2 S3-compatible API, not the native B2 API.
Limitations
- The native B2 API at
api.backblazeb2.comis not supported. Use the S3 endpoint. - B2 bills Class A, B, and C transactions. Listing a very large bucket has a cost, even when storage is cheap.
- Only current object versions are copied. Versions hidden by a lifecycle rule are not.
- Do not use the friendly download URL as the endpoint.
- B2 Fireball (USB ingest) is not supported. FileMigrata is an online copy.
- When copying to Google Drive, B2 objects stay as files.
What is migrated
FileMigrata copies files and objects over the Amazon S3 API or a compatible dialect. It does not copy IMAP mail.
- This store can be a source or a destination.
- Jobs copy by default and leave the source in place. Move, which deletes the source after verification, is optional.
- Only the current version of each file is copied. See Current files only.
- Re-runs skip objects whose hash already matches.
- Data streams through FileMigrata and is not stored. See We never store your files.
Prerequisites
- A B2 application key with list, read, and write permission on the bucket. Do not use the master key, which can see every bucket.
- The bucket's region, such as
us-west-004oreu-central-003.
Connection details
| Setting | Value |
|---|---|
| Protocol | S3-compatible |
| Authentication | Access key (keyID as access key, applicationKey as secret) |
| Endpoint | https://s3.<region>.backblazeb2.com |
| Regions | 2 |
| Pricing | Per transaction (Class A/B/C) |
Steps
- In Backblaze, open App Keys, add a new application key, and limit it to one bucket.
- Copy the keyID and applicationKey. The applicationKey is shown only once.
- In FileMigrata, select Backblaze and set the endpoint to
https://s3.<region>.backblazeb2.com. - Enter the keyID as the access key and the applicationKey as the secret.
- Click Verify.
A successful Verify means FileMigrata could list the store. It does not mean a multi-terabyte migration will finish by a given date. For a dated cutover, contact sales. Start with one mapping. If a job fails partway, resume it rather than starting a duplicate.
Choosing the root
- Public and private buckets are both copied through the S3 API.
- A prefix corresponds to a folder in the B2 browser.
Troubleshooting
- InvalidAccessKeyId: A B2 keyID was entered in the Amazon S3 connector with an AWS endpoint. Use the Backblaze connector and the backblazeb2.com host.
- Access Denied on PutObject: The key is read-only. Create a key with write permission if B2 is the destination.