Skip to content

Data migration center

Data migration moves data from other S3-compatible storage into your Bitiful buckets. After you enter the source and destination, the task runs in the background and can be paused and resumed at any time. It supports resumable transfers and incremental sync, and you finish by cutting over smoothly with mirror back-to-origin. You don't need to set up servers or write scripts.

To get there, go to Object storage › Data migration in the sidebar (open).

The data migration task list: three tasks that are Migrating, Waiting for time window, and Completed

Supported sources

Source providerDescription
Alibaba Cloud OSSThe endpoint is filled in automatically when you choose a region. For OSS accounts opened after March 20, 2025, buckets in Chinese mainland regions can't be read through the default public endpoint. Confirm access in the OSS console first
Tencent Cloud COSThe endpoint is filled in automatically when you choose a region. Include the APPID in the bucket name, for example examplebucket-1250000000
AWS S3The endpoint is filled in automatically when you choose a region
Huawei Cloud OBSThe endpoint is filled in automatically when you choose a region
Qiniu KodoThe endpoint is filled in automatically when you choose a region
Cloudflare R2The endpoint looks like https://<account ID>.r2.cloudflarestorage.com. Use auto as the region
MinIOEnter the public address of your MinIO server, for example https://minio.example.com. You usually need to turn on Path-style access
Other S3-compatible storageEnter the source endpoint and region. Leave the region blank if unsure

The source must be reachable over the internet. Migration can't read data from private network addresses.

Before you start

  • Your account has completed identity verification and has no overdue balance.
  • At the source, prepare a sub-account key that can only read and list objects. The key is stored encrypted and used only for this task.
  • Create the destination bucket on Bitiful.
  • Understand the source's costs: migration reads data from the source, and the source provider charges outbound internet traffic and request fees at its own prices.

Create a migration task

Click New migration task and complete four steps:

Source

Choose the Source provider, then enter the region, source endpoint, source bucket, and the source AccessKey and SecretKey. To migrate only part of the bucket, enter a directory in Only migrate this prefix, for example images/. Leave it blank for the whole bucket.

Step 1 of a new migration task: choose the source provider and enter the region, endpoint, bucket, prefix, and keys

Destination

Choose the Destination bucket, and if needed enter a directory in Destination prefix, for example old-site/. Leave it blank for the bucket root. The Object key mapping example below shows what source objects will be named on Bitiful after migration.

Step 2: choose the destination bucket and prefix, with an object key mapping example below

Settings

Set how existing objects are handled, the threads, the time window, and more. See Migration settings below for what each option means.

Step 3: task name, existing object handling, threads, time window, Warm cache on write, and Copy object tags

Precheck and create

The precheck runs automatically when you reach this step. After it passes, click Create and start. The task is queued and usually starts within seconds.

Step 4: the precheck passed, listing each check result, the sampled data size estimate, and the object key mapping

What the precheck checks

CheckDescription
Source endpointMust be a public address and reachable
Source credentials and permissionsCan list and read source objects
Destination bucketExists and belongs to your account
Data size estimateEstimated by sampling the first 1000 source objects. The actual count is determined during migration

You can't create the task until the precheck passes. Make the suggested changes, then click Check again.

Migration settings

SettingDescription
Task nameOptional. Helps you identify the task in the list
When an object already existsSkip existing (default, recommended): keep objects that already exist in the destination and don't transfer them. Overwrite if changed: compare size and modification time, and overwrite only if the source is newer. Always overwrite: always replace destination objects with the source version
Threads1–10. Each thread reaches about 10 MB/s. When bandwidth is tight, tasks share it proportionally instead of failing
Time windowAll day, or Specific hours (Beijing time; the window can cross midnight, for example 22:00 to 06:00 the next day). Outside the window the task pauses and resumes automatically
Warm cache on writeOff by default. Migrated data is usually cold, and not warming the cache keeps room for hot files. Turn this on only if the data will be heavily accessed right after cutover
Copy object tagsOff by default. When on, each object needs an extra request to read its tags, which increases source requests

Whichever option you choose for existing objects, migration never overwrites objects you newly write to Bitiful. Files uploaded to Bitiful after cutover aren't replaced by older versions from the source.

How tasks run

  • Each account can have up to 20 migration tasks, and up to 2 run at the same time. Other tasks wait in the queue and start automatically when a running task finishes or is paused.
  • Source objects are listed while they're migrated, so the number of objects found on the details page grows as the task runs.
  • Each object's content is verified after it's migrated.
  • Resumable transfers: after you resume a paused task or the service restarts, migration continues from where it stopped. For large files, only the missing parts are uploaded, and objects already migrated aren't transferred again.
StatusMeaning
QueuedWaiting for earlier tasks to finish or pause
Waiting for time windowOutside the time window you set. The task starts automatically when the window opens
MigratingMigration is in progress
Pausing, PausedStops after the objects in progress finish. You can resume at any time
CompletedEvery object in this run was migrated or already existed
Partly completedThe run ended, but some objects failed. See Failures
Needs attentionThe task can't continue because of a problem such as the source credentials, endpoint, or network, and has stopped where it left off. Fix it as the page suggests, then click Resume. Objects already migrated aren't transferred again. The only exception is The destination write credentials are no longer valid, which requires deleting the task and creating it again
Canceling, CanceledThis run was canceled. Objects already migrated are kept

Task details

Click a task name to open its details page. Actions such as Pause, Resume, and Incremental sync are at the top, with five tabs below.

Task details overview: four number cards for Migrated, Skipped (already exist), Failed, and Current speed, with a progress bar and the task settings
TabContents
OverviewThe number and size of migrated, skipped (already existing), and failed objects, the current speed, this run's progress, and the source, destination, and main settings
FailuresFailed objects and their reasons. You can export them as CSV and retry
Run historyThe start time, duration, and result of each full migration, incremental sync, and retry of failed objects
SettingsChange the task name, source credentials, and migration settings
Cutover guideSix steps from full migration to cutting over your business

Pause, resume, and cancel

ActionEffect
PauseStops after the objects in progress finish
ResumeContinues from where it stopped
Cancel runMigrated objects are kept, and unfinished multipart uploads of large files are cleaned up. You can start an incremental sync at any time afterward

Incremental sync and retrying failed objects

ActionEffect
Incremental syncCompares all source objects again and transfers only new and changed ones. Objects already migrated and unchanged aren't transferred again
Retry failed objectsProcesses only the objects in the failure list again. Successful ones are removed from the list

After the full migration finishes, you can run incremental syncs as many times as needed to catch up on later changes at the source.

Failures

Failures: filter by reason, listing the object key, size, reason, and last attempt, with Export CSV and Retry failed objects in the upper-right corner
ReasonWhat to do
Archived object. Restore it at the source first.Archive and Cold Archive objects must be restored at the source first. After restoring, click Retry failed objects
Read denied by the sourceCheck whether the source key has permission to read this object
Unsupported object keyThe object key doesn't follow Bitiful's naming rules: it contains path levels such as . or .., is longer than 1024 bytes, or contains control characters or other disallowed characters. Rename it at the source, then migrate it again
Conflicts with an existing folder or file in the destinationBitiful stores objects in a directory structure, so a and a/b can't both exist. If the source has both, whichever is migrated second fails. Migrating an object a also fails when the destination already has an a/ folder. Rename one of them at the source or destination, or use a different destination prefix, then click Retry failed objects
The source object kept changing during migrationThe object was modified throughout the migration. Wait until it stops changing, then retry
Network or service temporarily unavailableUsually retrying later is enough

Click Export CSV to download the full list.

Run history

Run history: the type, status, start time, duration, and migrated, skipped, and failed counts of each run

Change settings

While the task is running, only its name can be changed. Pause the task to change other settings. When the source key expires or is replaced, enter the new AccessKey and SecretKey here, then click Resume. Objects already migrated aren't transferred again.

The Settings tab: task name, source endpoint and region, new keys, existing object handling, threads, time window, and two toggles

Cut over without downtime

The Cutover guide tab on the details page lists six steps from migration to cutover:

Cutover guide: six steps, Full migration, Incremental sync, Enable mirror back-to-origin, Cut over, Final incremental sync, and Disable mirror back-to-origin

Full migration

The first run migrates every source object. Large buckets can take days, during which your apps keep using the source.

Incremental sync

After the full migration, run one or two incremental syncs until each run changes very little.

Enable mirror back-to-origin

Click Enable. Objects not yet in the bucket are fetched from the source and saved on first access, so there are no 404s after cutover. Requires an HTTPS source endpoint and a source prefix that's empty or ends with /. Once enabled, a rule labeled Private S3 origin appears in the bucket's Mirror back-to-origin tab.

Cut over

Point your apps or DNS at Bitiful. Migration never overwrites objects written to Bitiful after cutover.

Final incremental sync

Catches up on changes made at the source around the cutover.

Disable mirror back-to-origin

After confirming the data is complete, delete the rule in the bucket's Mirror back-to-origin tab. The migration is done.

For more complete migration planning (feature mapping, switching the CDN and certificates, and more), see Migrate to Bitiful.

Migration sub-user

Each task automatically creates a dedicated sub-user, btf-migrate-<task ID>, that can only write to the destination bucket or destination prefix. It's used to write data into your bucket. It doesn't appear in the sub-users list, can't be modified, and is deleted together with the task.

If the task reports The destination write credentials are no longer valid, this sub-user may have been deleted or disabled. Delete the task and create it again.

Delete a task

Delete a task from its More actions menu. Deleting removes only the task record, the saved source credentials, and the migration sub-user. Data already migrated to your bucket isn't affected.

Pricing

Migrated data is billed at Bitiful's standard storage and request prices. There's no migration service fee. When data is read from the source, the source provider charges outbound internet traffic and request fees at its own prices. Turning on Copy object tags increases the number of source requests.

Limits

ItemLimit
Migration tasks20 per account
Running at the same time2. Others wait in the queue
Threads1–10 per task, about 10 MB/s per thread
Precheck sampleThe first 1000 objects

FAQ

The precheck says the source endpoint isn't a public address

Migration can only read from sources reachable over the internet. Enter the source's public address. Private network and localhost addresses can't be used.

The precheck fails to read from Alibaba Cloud OSS

For OSS accounts opened after March 20, 2025, buckets in Chinese mainland regions can't be read through the default public endpoint. Confirm access in the OSS console first, or use an endpoint that can be reached.

Will migration overwrite files I already have on Bitiful?

The default is Skip existing, so nothing is overwritten. Even if you choose to overwrite, migration never overwrites objects you newly write to Bitiful.

Migration is slow

Increase Threads in Settings (pause the task first). Tasks running at the same time share bandwidth proportionally, and rate limits at the source also affect speed.

The task shows "Needs attention"

The task has stopped where it left off. Follow the instructions on the page. For example, if the source credentials expired, update the keys in Settings; if the source endpoint or bucket name is wrong, correct it and click Resume. Objects already migrated aren't transferred again. If you see The destination write credentials are no longer valid, delete the task and create it again. If the problem persists, contact support.