TutorialNov 24, 20268 min read

How to Upgrade a VPS or Windows RDP to a Bigger Plan Without Downtime

A running VPS or RDP can't be resized in place here, so you upgrade by moving: order the bigger plan, copy your data server to server with robocopy or rsync, switch over, and let the old server run out. Step by step for Windows and Linux.

Short answer: to upgrade, order the bigger plan, move your data to it, and let the old server run out. A running server can't be resized in place, but both servers run side by side while you move, so nothing stops until you switch: a new Windows RDP is ready in 10 to 20 minutes, a Linux VPS in 1 to 5.

Customers ask this in many languages: can I upgrade my RDP, or do I have to delete it and start again? You don't delete anything. You build the bigger server next to the old one, copy what matters, test, switch, and only then turn the old one off.

01What Does an Upgrade Involve?

StepWhat happensTime or cost
Resize the running serverNot available
Order the bigger planNew server in any of our six locations, same price everywhereWindows 10 to 20 minutes, Linux 1 to 5 minutes
Copy your dataServer to server, both runningDepends on the amount of data
Switch overPoint DNS, bots or your own client at the new IPMinutes
Old serverTurn off auto-renew, it stops at the end of its paid period
Same plan, other locationExtras card on the server page: move to another location, new IP$5

The plans you can move to, per month, same price in every location and for every term:

Windows RDPPriceLinux VPSPrice
2 vCPU, 6 GB, 40 GB NVMe$13.001 vCPU, 1 GB, 10 GB NVMe$3.90
4 vCPU, 8 GB, 60 GB NVMe$26.001 vCPU, 2 GB, 20 GB NVMe$6.50
8 vCPU, 12 GB, 80 GB NVMe$45.502 vCPU, 2 GB, 20 GB NVMe$6.50
10 vCPU, 12 GB, 140 GB NVMe$78.004 vCPU, 6 GB, 40 GB NVMe$13.00
10 vCPU, 36 GB, 140 GB NVMe$104.006 vCPU, 10 GB, 40 GB NVMe$26.00
6 vCPU, 10 GB, 80 GB NVMe$39.00

02Do You Really Need a Bigger Plan?

Check before you buy. On Windows, open Task Manager, tab Performance, during your busiest hour. On Linux run free -m and df -h /. Upgrade when memory stays near the top, the CPU sits at 100% for long stretches, or the disk is nearly full.

A full disk on Linux is often logs or Docker images, not a plan that's too small: Linux VPS Disk Full? shows what is safe to delete. A slow Remote Desktop is more often distance than hardware: 9 fixes for a laggy RDP.

03Before You Start

  1. 1Take a backup of the old server. On the server page, Extras card, Backups: one backup slot is free. It's your way back if something goes wrong while you copy.
  2. 2Order the bigger plan. Pick the same location to keep the latency your bot or terminal is used to, or a closer one. Choose the same system version as the old server, so your programs behave the same.
  3. 3Write down what runs on the old server: programs, scheduled tasks, services, open ports in the firewall card, reverse DNS. You'll set these again on the new one.

04How Do You Move a Windows RDP to the New Server?

The fastest way is to copy directly between the two servers, at data centre speed, instead of downloading everything to your PC and uploading it again. You do it with Remote Desktop's drive sharing, from the new server to the old one.

  1. 1Sign in to the new server with Remote Desktop.
  2. 2On the new server, open Remote Desktop Connection (press Win+R, type mstsc). Click Show Options, tab Local Resources, More..., and tick Drives (or just Local Disk (C:)).
  3. 3Connect to the old server's IP with its username and password. You now have a window of the old server inside the new one.
  4. 4In the old server's session, File Explorer shows the new server's disk as C on followed by the new server's name. Its path is \\tsclient\C.
  5. 5Copy with robocopy in Command Prompt on the old server, as shown below.
bat
mkdir \\tsclient\C\migrate
robocopy "C:\Users\Administrator\Documents" "\\tsclient\C\migrate\Documents" /E /Z /R:2 /W:5
robocopy "C:\Users\Administrator\Desktop" "\\tsclient\C\migrate\Desktop" /E /Z /R:2 /W:5

/E copies all subfolders, /Z resumes a file if the connection drops, /R:2 /W:5 retries a locked file twice instead of a million times. Add a line for every other folder you use, for example a bot folder on C:\ or D:\.

Programs themselves don't move by copying their folder: install them fresh on the new server, then copy their data.

Moving MetaTrader 4 or 5

  1. 1Install the terminal on the new server, log in to your broker account once and close it.
  2. 2On the old server, open the data folder: in MetaTrader, File, Open Data Folder. Close the terminal there too, so nothing is written while you copy.
  3. 3Copy the MQL4 or MQL5 folder and the Profiles folder into the same place in the new terminal's data folder (open it the same way on the new server).
  4. 4Start the terminal on the new server, check that your Expert Advisors and charts are back, and turn on Algo Trading.
  5. 5Stop the EA on the old server before you turn it on in the new one, so the same strategy doesn't trade twice.

Which location gives the lowest ping to your broker: Which server location is best for forex or MT5?.

Moving scheduled tasks

On the old server, export each task in Task Scheduler (right-click, Export) to an XML file in your migrate folder, and import it on the new server (Action, Import Task). Enter the password of the account again when asked.

05How Do You Move a Linux VPS to the New Server?

On Linux, rsync over SSH copies directly from the old server to the new one and can be run again to send only what changed.

1. Copy your files

Run this on the old server. It asks for the new server's root password from its server page:

bash
rsync -aHAX --numeric-ids --info=progress2 /srv/ root@NEW_IP:/srv/
rsync -aHAX --numeric-ids --info=progress2 /home/ root@NEW_IP:/home/
rsync -aHAX --numeric-ids --info=progress2 /root/apps/ root@NEW_IP:/root/apps/

Use your own folders: wherever your bot, site or app lives (/srv, /opt, /var/www, /home/...). -a keeps permissions and times, -H, -A, -X keep hard links, ACLs and extended attributes, --numeric-ids keeps file owners intact.

2. Copy configuration and services

bash
# On the old server
rsync -a /etc/nginx/ root@NEW_IP:/etc/nginx/               # if you use nginx
rsync -a /etc/letsencrypt/ root@NEW_IP:/etc/letsencrypt/   # TLS certificates
rsync -a /etc/systemd/system/*.service root@NEW_IP:/etc/systemd/system/
crontab -l > /root/crontab.txt && rsync -a /root/crontab.txt root@NEW_IP:/root/
apt-mark showmanual > /root/packages.txt && rsync -a /root/packages.txt root@NEW_IP:/root/

On the new server, install the same packages and turn the services on:

bash
apt-get update && xargs -a /root/packages.txt apt-get install -y
crontab /root/crontab.txt
systemctl daemon-reload
systemctl enable --now yourbot.service    # for each service you copied

The package list works when both servers run the same Debian or Ubuntu version. On AlmaLinux, Rocky or Fedora, use dnf history userinstalled instead of apt-mark.

3. Move databases with a dump, not with rsync

A database that is running changes while rsync copies it, and the copy can be broken. Dump it instead:

bash
# MySQL or MariaDB, on the old server
mysqldump --all-databases --single-transaction --routines --events > /root/all.sql
# PostgreSQL, on the old server
sudo -u postgres pg_dumpall > /root/all.sql

rsync -a /root/all.sql root@NEW_IP:/root/
bash
# On the new server, after installing the same database server
mysql < /root/all.sql                     # MySQL or MariaDB
sudo -u postgres psql -f /root/all.sql    # PostgreSQL

4. Docker

Copy the folder with your docker-compose.yml like any other folder. Named volumes live in /var/lib/docker/volumes: stop the stack on the old server with docker compose down, stop Docker on both servers with systemctl stop docker, rsync that folder, then start Docker and docker compose up -d on the new server.

06How Do You Switch Over Without Downtime?

  1. 1Lower the DNS TTL a day before if a domain points at the server, for example to 300 seconds, so the change spreads fast.
  2. 2Run the copy again just before switching. rsync and robocopy only send what changed since the first run, so the second pass is short. Stop the app on the old server first if it writes files all the time.
  3. 3Stop the old instance, start the new one. A Telegram bot may only poll from one place: with two copies running, Telegram answers the second with a 409 Conflict error. The same goes for an EA that trades the same account.
  4. 4Point everything at the new IP: the DNS A record, your bot's webhook, firewall allow lists at your exchange or broker, saved Remote Desktop connections.
  5. 5Set the firewall card and reverse DNS on the new server the way they were on the old one.
  6. 6Test for a day, with the old server still there as a fallback.

Moving off a server whose IP changed? Your SSH client will warn that the host key changed when you reuse a name or IP: how to fix that warning.

07What Happens to the Old Server?

Turn off auto-renew on the old server's page. It keeps running until the end of its paid period, then it is stopped and later removed with its data. Copy anything you still need before that date. If you want it gone sooner, delete it yourself from the server page once you are sure the new one works.

FAQ

Not in place. Order the bigger plan as a new server, copy your data to it while the old one keeps running, and let the old one run out at the end of its paid period.

  • upgrade vps plan
  • upgrade rdp plan
  • migrate vps to new server
  • move windows rdp to new server
  • rsync migrate vps
  • robocopy tsclient
  • bigger vps without downtime
  • resize vps

Keep reading

All articles