How to Verify Data After a VPS Migration
By Small Corner Labs ·
A successful file transfer proves that a copy completed. A successful migration also proves that the app can read, write, and recover the right data on the new VPS. Verify the copy and the workload separately.
Choose the check that fits the data
For an archive or immutable asset, compare a checksum calculated on both sides. For active databases, use a consistent export or supported replication method, then compare row counts, selected aggregates, and the newest expected records. A raw hash of live database files is rarely a useful application-level check.
For a local JSON store, validate that it parses and compare selected record counts and stable identifiers. Record the checkpoint at which the source was captured. Protect personal information by reporting counts and checks rather than publishing raw production records.
Test under the actual service identity
Read a representative record through the destination app. Check that the process user can access the right paths, restore any indexes it needs, and write to its intended store. If a write test is necessary, use an isolated copy or authorized test fixture rather than editing a real customer record.
Verify the application talks to the expected upstream services. A valid local backup does not prove that external integrations, push notifications, or scheduled jobs have the necessary configuration.
Record discrepancies before cutover
Identify which differences come from normal changes after the snapshot and which indicate a bad transfer. Reconcile the final delta, recheck the relevant counts, and retain the source export and verification record until the move is stable.
Quick checklist
- Match hashes for immutable files and archives.
- Compare representative data at a known checkpoint.
- Test reads and safe writes via the application.
- Keep a restore and verification record through cutover.
