Data migration between servers

Data migration moves files, objects and application data from one place to another without losing or corrupting any of it. The arithmetic of volume against bandwidth sets the plan; careful verification makes it safe.

How is data migration different from database migration?

Database migration moves structured data with the engine's own tools, as described in Database migration. Data migration covers everything else: user uploads, media libraries, document archives, log history, object stores and home directories. These are often far larger than the database, so transfer time, not conversion, is the main challenge.

How long will the transfer take?

Divide the volume by the real throughput. A 1 Gbps port moves about 110 MB per second in practice, roughly 9.5 TB a day at full speed. A guaranteed 10 Gbps port moves around ten times that. Disks can be the slower side: a mirror of hard disks reading millions of small files may manage far less than the network, while large files stream quickly.

VolumeAt 1 GbpsAt 3 GbpsAt 10 Gbps
500 GBAbout 1.3 hoursAbout 26 minutesAbout 8 minutes
5 TBAbout 13 hoursAbout 4.2 hoursAbout 1.3 hours
50 TBAbout 5.3 daysAbout 1.8 daysAbout 13 hours

European and Canadian ports are unmetered, so these transfers carry no traffic charge. In Singapore, Sydney and Mumbai, check that the volume fits the monthly allowance, 25 TB on most models.

What is a multi-pass sync?

The standard way to keep downtime short. Copy everything while the service runs, then copy again to pick up changes, and repeat until the difference is small. Finally stop writes, run one last pass that moves only the remaining changes, and switch over. With rsync, each pass after the first only transfers changed files.

rsync -aHAX --numeric-ids --info=progress2 -e "ssh -T -c aes128-gcm@openssh.com" /srv/media/ mover@203.0.113.60:/srv/media/
# later, after stopping uploads
rsync -aHAX --numeric-ids --delete -e "ssh -T" /srv/media/ mover@203.0.113.60:/srv/media/

The -H, -A and -X flags keep hard links, ACLs and extended attributes, which plain copies drop. Our Copy data between servers with rsync guide covers options in detail.

How do I speed up millions of small files?

Run several transfers in parallel, each on a different subdirectory, because a single rsync handles files one after another. Alternatively, stream an archive without compression over the link, which avoids per-file round trips.

ls /srv/media | xargs -P 6 -I{} rsync -aHAX --numeric-ids /srv/media/{} mover@203.0.113.60:/srv/media/
tar -C /srv -cf - archive | ssh mover@203.0.113.60 "tar -C /srv -xf -"

How do I prove the data arrived intact?

Compare checksums, not only sizes. rsync's checksum mode re-reads both sides and lists differences without copying, which is a good final check. For archives, generate a manifest of hashes on the source and verify it on the target.

cd /srv/archive && find . -type f -print0 | xargs -0 -P 8 sha256sum > /root/archive.sha256
ssh mover@203.0.113.60 "cd /srv/archive && sha256sum --quiet -c -" < /root/archive.sha256

What about object storage?

Use a tool that speaks the S3 protocol on both sides, such as rclone, which copies between buckets with parallel transfers and checks hashes. Self-hosted object stores on a Storage line server accept the same tools, so moving between providers or into your own cluster follows the same pattern.

rclone sync oldstore:assets newstore:assets --transfers 32 --checkers 64 --checksum --progress

What happens after cutover?

Keep the old copy read-only for a while, so any missed file can still be recovered, then delete it securely once you are confident. Update backups to point at the new location and confirm the first backup run succeeds. A target with plenty of room, such as STORAGE-2 2026 with 2x 960 GB SSD NVMe (system) + 2x 24 TB HDD SAS, Soft RAID and a guaranteed 3 Gbps port, makes large moves faster. See Migrate to a new server for moving a whole server.

Machines often used as migration targets

ModelProcessorCoresMemoryDrivesPortPer month
STORAGE-1AMD Ryzen 7 Pro 3700832 GB2x 480 GB SSD SATA + 4x 14 TB HDD SAS1 Gbps unmetered$109.80
STORAGE-2 2026AMD EPYC 4345P832 GB2x 960 GB SSD NVMe + 2x 24 TB HDD SAS3 Gbps unmetered$273.00
STORAGE-3 2024Intel Xeon Gold 6554S36128 GB2x 960 GB SSD NVMe + 24x 22 TB HDD SAS10 Gbps unmetered$1,037.40
BUSINESS-2 2024AMD EPYC 4344P864 GB2x 960 GB SSD NVMe3 Gbps unmetered$109.80

Related pages

Copy data between servers with rsync

Move or mirror data from one machine to another over SSH with rsync, keep permissions intact, resume big copies and do a final short sync.

Read more

Migrate to a new server

Move a live service to a newer or larger machine with minutes of downtime: plan the overlap, copy, replicate the database and switch DNS.

Read more

Database migration

Moving a database to a new server or engine: dump and restore, replication cutover, schema conversion, validation queries and keeping downtime to minutes.

Read more

Storage servers

High capacity hard disk servers from 44 TB to 576 TB raw.

from $109.80 a monthRead more

Questions and answers

How long does it take to move 5 TB between servers?

About 13 hours at a real 1 Gbps, or about 1.3 hours at 10 Gbps, provided disks keep up.

How do I migrate files with minimal downtime?

Sync in several passes while the service runs, then stop writes, run a final short pass and switch over.

How do I verify copied data?

Compare SHA-256 checksums from a manifest, or run rsync in checksum mode to list any differences.

Is migration traffic charged on your servers?

No, ports in Europe and Canada are unmetered. Singapore, Sydney and Mumbai include a monthly allowance.

How can I copy millions of small files faster?

Run several rsync processes on different directories in parallel, or stream a tar archive over SSH.