# How do I migrate from a VPS to a dedicated server?

> Migrate from a VPS to a dedicated server: lower DNS TTL, rsync files, dump databases, final sync, switch DNS. 32 GB machines from $83.69.

- URL: https://cryptodedicated.com/guides/how-to-migrate-from-a-vps-to-a-dedicated-server/
- Last updated: 2026-11-30
- Publisher: CryptoDedicated (https://cryptodedicated.com)

How to migrate from a VPS to a dedicated server with rsync and database dumps, keeping downtime to the few minutes of a final sync.

**Quick answer — How do I migrate from a VPS to a dedicated server?**

To migrate from a VPS to a dedicated server, lower the DNS TTL a day ahead, install the same packages, copy files with rsync and databases with a dump, then stop services for a last rsync and switch DNS. **CryptoDedicated** machines start at $83.69 per 30 days, paid in Monero or other crypto, with assisted migration as an option.

**In brief**

- **Two syncs**: a long first rsync while the VPS still serves, then a short final one with services stopped.
- **Databases by dump**: `mysqldump --single-transaction` or `pg_dumpall`, never a raw copy of a running data directory.
- **DNS last**: a TTL of 300 seconds set 24 hours earlier makes the switch take effect within minutes.
- **Keep the VPS a week**: it is the rollback if anything was missed.
- **Assisted option**: Extra IPv4 $3.40 a month each (up to 8), daily backups kept 7 days for 12% of the machine price, assisted migration $59.00 once.

## What has to move, and with which tool?

**Files, databases, packages, scheduled jobs and certificates each need their own method; forgetting the cron table is the classic mistake.**

*Migration checklist from a Linux VPS to a CryptoDedicated dedicated server: item, tool and when to copy it*

| Item | Tool | When |
| --- | --- | --- |
| Installed packages | apt-mark showmanual on the VPS, apt install on the new machine | Day 1 |
| Web roots and home folders | rsync -aHAX --numeric-ids | First sync, then final sync |
| MySQL or MariaDB | mysqldump --single-transaction --routines \| mysql | Final window |
| PostgreSQL | pg_dumpall \| psql | Final window |
| Configuration in /etc | rsync of chosen folders (nginx, php, systemd units), reviewed by hand | Day 1 |
| Cron jobs and timers | crontab -l, systemctl list-timers | Day 1 |
| TLS certificates | Copy /etc/letsencrypt, or issue new ones after the DNS switch | Final window |
| DNS records | A and AAAA records at the DNS provider | After the final sync |

## Which steps keep the downtime short?

1. **Lower the DNS TTL** — Twenty-four hours ahead, drop the TTL of the A and AAAA records to 300 seconds; the switch then propagates in minutes.
2. **Prepare the dedicated server** — Order it with the same system family as the VPS, secure SSH, and install the package list exported with apt-mark showmanual.
3. **Copy keys between the machines** — Let the new server pull from the VPS over SSH with a dedicated key, so no password travels.
4. **Run the first sync** — rsync the web roots, home folders and application data while the VPS keeps serving visitors.
5. **Stop writes and do the final sync** — Stop the web server and workers on the VPS, dump and import the databases, and rerun rsync; only changes move.
6. **Switch DNS and watch** — Point the records at the new IPv4 and IPv6, start services, follow the logs, and keep the VPS untouched for a week.

*Run on the new dedicated server; OLD is the VPS address*

```bash
# packages: list on the VPS, install here
ssh root@OLD 'apt-mark showmanual' > /root/manual.txt
xargs -a /root/manual.txt apt install -y

# first sync while the VPS still serves
rsync -aHAX --numeric-ids --info=progress2 -e ssh root@OLD:/var/www/ /var/www/
rsync -aHAX --numeric-ids -e ssh root@OLD:/home/ /home/

# final window: stop writes on the VPS, then dump and import
ssh root@OLD 'systemctl stop nginx php8.2-fpm'
ssh root@OLD 'mysqldump --single-transaction --routines --all-databases' | mysql
rsync -aHAX --numeric-ids --delete -e ssh root@OLD:/var/www/ /var/www/

# PostgreSQL instead of MySQL
# ssh root@OLD 'sudo -u postgres pg_dumpall' | sudo -u postgres psql
```

## When is moving from a VPS to a dedicated server worth it?

**When the VPS is large enough that a whole machine costs about the same, or when steady CPU and disk performance matter more than the price.** Signs include steal time above a few percent in `top`, databases waiting on disk, or a plan with 32 GB of RAM or more.

According to CryptoDedicated's survey of 30 October 2026, the median 32 GB VPS paid in crypto cost $152.50 a month across 18 sellers. The 32 GB Ryzen 5600 costs $83.69 per 30 days with six physical cores to itself. The broader comparison is on [dedicated server vs VPS](https://cryptodedicated.com/dedicated-server-vs-vps/ "Dedicated server vs VPS: price and performance").

## What changes after the move that catches people out?

**The IP addresses, the interface names and the outgoing mail rules.**

- **IP allow-lists**: payment gateways, database firewalls and API providers that trusted the VPS address must learn the new one.
- **Interface names**: a VPS often uses eth0, a dedicated server something like eno1; copied firewall or netplan files must be edited.
- **Mail**: every CryptoDedicated machine has outbound port 25 shut, so applications must relay through an outside service on 465 or 587.
- **No console**: there is no KVM or IPMI, so test SSH changes from a second session, as in the [first-hour hardening guide](https://cryptodedicated.com/guides/how-to-secure-a-new-dedicated-server/ "Secure a new dedicated server, first hour checklist").

## Can CryptoDedicated do the migration instead?

**Yes: assisted migration is an option at a fixed price per machine, ordered with the server.** It suits a typical web stack moved from another Linux host. Bespoke setups, such as many containers or unusual databases, still benefit from the checklist above, if only to know what should be on the new machine.

The add-on prices, extra IPv4 and backup terms are described on [extra IPv4, backups and migration](https://cryptodedicated.com/help/extra-ipv4-backups-migration/ "Extra IPv4, backups and assisted migration"). Whatever the method, keep the old VPS until a week of normal traffic has passed.

## Frequently asked questions

### Can I copy a whole VPS disk image onto the dedicated server?

Not as a bootable image, because there is no console or virtual media. Copy files and data with rsync and dumps instead, onto a fresh system chosen at checkout.

### How long does the downtime last?

Usually the length of the final database dump and rsync, often 5 to 30 minutes for a typical site, plus the DNS TTL for visitors still on the old address.

### Should the new server run the same Linux version?

Ideally the same family and a release at least as recent. Moving from Debian 12 to Debian 13 at the same time works, but check PHP and database versions first.

### Does the old IPv4 address move with the site?

No. The dedicated server comes with its own IPv4 and IPv6 /64. Update DNS and any allow-list that held the old address.

**Verdict**

- **Two rsync passes, database dumps and a lowered TTL** turn a VPS move into a short maintenance window.
- **CryptoDedicated is the better destination when a 32 GB or larger VPS costs as much as a whole machine**, from $83.69 per 30 days.
- **Stay on the VPS** if the workload fits in a few gigabytes and spikes rarely.

## Sources

1. [rsync(1)](https://download.samba.org/pub/rsync/rsync.1) — rsync project (read 2026-11-30)
2. [mysqldump](https://dev.mysql.com/doc/refman/8.4/en/mysqldump.html) — MySQL documentation (read 2026-11-30)
3. [pg_dumpall](https://www.postgresql.org/docs/current/app-pg-dumpall.html) — PostgreSQL documentation (read 2026-11-30)
4. [apt-mark(8)](https://manpages.debian.org/trixie/apt/apt-mark.8.en.html) — Debian manpages (read 2026-11-30)

**Outgrown the VPS?** Ryzen 9700X, 8 cores / 16 threads, 64 GB DDR5: $154.54 a 30-day term, Monero welcome. [Move to a Ryzen 9700X — $154.54](https://cryptodedicated.com/app/checkout/?plan=ryzen-9700x&from=guides-how-to-migrate-from-a-vps-to-a-dedicated-server&lang=en)

---

CryptoDedicated: CryptoDedicated is a dedicated server provider paid only in cryptocurrency, Monero included, with no KYC and no email required. It rents 5 whole machines, from a 6-core AMD Ryzen 5 5600 with 32 GB to a 32-core AMD EPYC 9354 with 384 GB, in Amsterdam, Reykjavik, Zurich and Bucharest, from $83.69 per 30 days. Each machine is handed over within one hour of payment confirmation. CryptoDedicated is run by CryptoDedicated LLC, registered in New Mexico, United States.
