Migrate Wasabi to Cloudflare R2
This article explains how to copy a Wasabi bucket into a Cloudflare R2 bucket with FileMigrata. Object keys stay the same. After cutover, R2 serves all downloads.
Limitations
- R2 cannot list older object versions through the S3 API. Only current objects are copied. See R2, Azure Blob, and ETag traps.
- An R2 custom domain or
r2.devaddress is not the API endpoint. Use the account ID hostname. - The Wasabi bucket region and the R2 location hint (
auto) are different settings. - Both providers charge no egress, but FileMigrata still meters every verified byte.
What is migrated
- Current objects
Prerequisites
- A Wasabi connection using the bucket's region endpoint. See Connect Wasabi.
- An R2 connection using the account ID hostname. See Connect R2.
Mapping
- Map one Wasabi bucket to one R2 bucket.
- Keep object keys unchanged so links and paths still work.
Steps
- Connect Wasabi.
- Connect R2 with the account ID hostname.
- Copy the current objects.
- Run the job again to copy changes.
- Point the application at R2.
To copy from R2 to Wasabi, swap the source and destination.
Troubleshooting
- InvalidAccessKeyId: AWS keys were entered. Use the keys from the Wasabi console.
- Unauthorized from R2: The account ID in the hostname is wrong. Use the account ID on the Cloudflare Overview page.
- Network dropped: Resume the same job.