Small Corner Labs

How Long Does a VPS Migration Take? A Server Cloner Test

By Small Corner Labs · · 2 min read

In one local Server Cloner test, Clone took 3.45 seconds and Cutover took 2.46 seconds. The source had a 256 MiB test file and an 8 MiB file added after Clone. Both SHA-256 checksums matched on the destination. For a real VPS move, estimate the initial copy and the maintenance window separately.

What did we test?

SmallCornerLabs ran Server Cloner v1.1.0 in same-release mode between two Ubuntu 24.04 containers on one Docker Desktop host. The Docker VM provided 10 CPUs and about 7.75 GiB of memory shared by the containers. The two containers exchanged data over the local Docker network.

The timers measured the whole Clone and Cutover calls, including internal checks and transfer overhead. The 256 MiB and 8 MiB figures are the two test files. The system copy also included files in the container filesystem. The test used no live database, production DNS change or destination reboot.

How can you estimate the time on your VPS?

Divide the bytes to transfer by the sustained throughput measured between your two servers. For example, at 20 MiB/s, a 20 GiB first copy takes about 17 minutes before file scanning, database work or service startup. That is an estimate using example inputs. Many small files or slow disk I/O can add time even on a fast connection.

For the maintenance window, measure the time to pause writes, copy the change set, restore data if required, start services and run a real application check. Time a rehearsal with representative data and record when a user-facing request fails and when it starts working again.

When should you change DNS?

Verify HTTPS for the production hostname and test an endpoint that reads the migrated data. Plan to reconcile writes before switching traffic back if the destination has already accepted changes. The 2.46-second result measures the local Cutover call. Use your end-to-end rehearsal to set a maintenance window.

Quick checklist

  • Measure the first copy and final sync separately.
  • Record how much data changes between the two passes.
  • Test the application and verify files or records on the destination.
  • Schedule the maintenance window from the rehearsal.

Frequently asked questions

How do I tell when the maintenance window actually ends?

Measure a request that uses migrated data at the same public hostname users open. Record the first failed or maintenance response and the first healthy response after the switch. A completed copy or a running process only covers part of that window.

Should I repeat a migration timing test?

Run the same rehearsal more than once with a representative file and database workload. Use the slower observed run as a starting point for scheduling and allow extra time for recovery.