Engineering notes
Migrate from DigitalOcean to Vozora: a step-by-step guide
How to move your workloads from a DigitalOcean Droplet onto a Vozora VPS without losing data or taking unnecessary downtime. Covers file transfer, database migration, DNS cutover and verification.
You have decided to move. This is the mechanical part: how to get your workloads from a DigitalOcean Droplet onto a Vozora VPS without losing data or taking unnecessary downtime. The whole process takes under an hour for a typical server; DNS cutover is the only window that needs care.
If you are still comparing and have not committed yet, see the DigitalOcean vs Vozora breakdown first.
This guide covers a single-server migration: one Droplet, running a Linux stack. If you are running managed databases, load balancers, or DigitalOcean Spaces, the data-transfer sections apply but you will need to adapt the steps to each service.
Before you start
Take five minutes to inventory what you are moving:
- What is actually running on the Droplet? List the services: web server (Nginx, Caddy, Apache), database (Postgres, MySQL, SQLite), language runtime (Node, Python, PHP, Ruby), any Docker containers, any cron jobs.
- Where is persistent data? Application files, database data directories, uploaded files, SSL certificates (if manually managed),
.envfiles and secrets. - What DNS records point at this server? Note the A records and their current TTLs. You will need to reduce them to 60 seconds before cutover.
- Do you have a database? Databases cannot be transferred with a straight rsync. They need a clean dump.
Step 1: Create your Vozora VPS
Create an account and provision a VPS. Pick a plan that matches or exceeds your current Droplet: same or more RAM, same or more storage. An hourly server can be resized to a larger size later, with the server stopped, but not down to a smaller one, and monthly-subscription servers cannot be resized yet; overpaying for one migration week is cheaper than under-speccing and scrambling.
Choose the distribution from the Vozora catalogue that matches your Droplet's family. Vozora offers Ubuntu 24.04 LTS and Debian 12. For Ubuntu or Debian Droplets, either keeps apt package management consistent. There is no RHEL-family image yet, so a CentOS or RHEL Droplet means moving to Ubuntu or Debian and adapting your package commands. The full current catalogue is at vozora.io/pricing.
Add your SSH public key when you order the server, or save it first under SSH keys in the console. The key you choose when ordering is your login method from the first boot.
Once provisioned, note the IPv4 address. You will use it throughout this guide as NEW_SERVER_IP.
Step 2: Verify clean SSH access
From your local machine:
ssh YOUR_SSH_USERNAME@NEW_SERVER_IP
Your SSH username is shown on the server's Overview tab in the Vozora console, under Connect. The Debian 12 image logs in as debian. Direct root SSH is not enabled: use sudo for commands that need elevated access, or open a root shell with sudo -i before you begin.
Run a quick sanity check:
uname -r # kernel version
df -h / # disk space
free -h # memory
Step 3: Prepare the source Droplet
On the DigitalOcean Droplet (your current server), run a full update before you touch anything:
apt update && apt upgrade -y
This is not strictly necessary, but migrating a server that is mid-package-update creates noise you do not need.
Step 4: Transfer your files
For a simple web server with no database
rsync is the right tool. It is idempotent, restartable, and preserves permissions and timestamps. Run this from your local machine (replace YOUR_SSH_USERNAME with the username shown in your Vozora panel):
rsync -azP --delete \
root@OLD_DROPLET_IP:/var/www/ \
YOUR_SSH_USERNAME@NEW_SERVER_IP:/var/www/
Adjust the paths to match your actual document root. For application files:
rsync -azP --delete \
root@OLD_DROPLET_IP:/home/myapp/ \
YOUR_SSH_USERNAME@NEW_SERVER_IP:/home/myapp/
Repeat for any other directories that hold state: /etc/nginx, /etc/letsencrypt (if you want to carry over certificates), custom scripts in /usr/local/bin, and so on.
Skip /proc, /sys, /dev, and anything else that is not real files.
Transferring environment files and secrets
Do not forget .env files, API keys, and configuration that sits outside the document root:
rsync -azP root@OLD_DROPLET_IP:/var/www/myapp/.env \
YOUR_SSH_USERNAME@NEW_SERVER_IP:/var/www/myapp/.env
If secrets are in a secrets manager or injected at runtime, configure those on the new server before starting services.
Step 5: Transfer your database
PostgreSQL
On the source Droplet, dump the database:
pg_dump -U postgres myapp_database > /tmp/myapp_dump.sql
Transfer it to the new server:
rsync -azP root@OLD_DROPLET_IP:/tmp/myapp_dump.sql \
YOUR_SSH_USERNAME@NEW_SERVER_IP:/tmp/myapp_dump.sql
On the Vozora VPS, restore (commands shown for Debian 12):
sudo apt install postgresql postgresql-contrib -y
sudo systemctl start postgresql
sudo -u postgres createdb myapp_database
sudo -u postgres psql myapp_database < /tmp/myapp_dump.sql
MySQL / MariaDB
On the source:
mysqldump -u root -p myapp_database > /tmp/myapp_dump.sql
Transfer with the same rsync command above. On the Vozora VPS (Debian 12 shown):
sudo apt install mysql-server -y
mysql -u root -p -e "CREATE DATABASE myapp_database;"
mysql -u root -p myapp_database < /tmp/myapp_dump.sql
Step 6: Install and configure your software stack
This is the main work of the migration. Re-install everything the Droplet was running:
sudo apt update
sudo apt install -y nginx certbot python3-certbot-nginx nodejs npm
Copy over your configuration files (already done with rsync in step 4 if you included /etc/nginx), create systemd unit files for your application, and start services:
sudo systemctl enable nginx
sudo systemctl start nginx
Test everything using the new server's IP address directly, before you touch DNS. Set a Host header if your Nginx config is vhost-based:
curl -H "Host: example.com" http://NEW_SERVER_IP/
For HTTPS: if you copied /etc/letsencrypt from the old server, Nginx should serve the existing certificate fine. If you are issuing a new one, do it after DNS has cut over (Certbot needs the domain to resolve to the server).
Step 7: Reduce DNS TTLs
Before cutover, go to wherever your DNS is managed (usually your domain registrar, Cloudflare, or DigitalOcean Networking) and reduce the TTL on all A records pointing at the Droplet to 60 seconds.
Wait for the existing TTL to expire before proceeding. If the current TTL is 3,600 seconds (one hour), wait an hour after setting it to 60 before you flip the record.
You can verify the TTL is live with:
dig +noall +answer example.com A
The TTL in the response should read 60 (or thereabouts).
Step 8: Do a final rsync
Just before cutover, put the Droplet into maintenance mode if your application supports it, or stop the services cleanly on the Droplet:
systemctl stop nginx
systemctl stop myapp
Run the rsync one more time from your local machine to catch any changes since the first transfer:
rsync -azP --delete root@OLD_DROPLET_IP:/var/www/ YOUR_SSH_USERNAME@NEW_SERVER_IP:/var/www/
rsync -azP root@OLD_DROPLET_IP:/tmp/myapp_dump.sql YOUR_SSH_USERNAME@NEW_SERVER_IP:/tmp/myapp_dump.sql
Re-run the database restore on the Vozora VPS if data has changed since step 5.
Start your services on the new server:
sudo systemctl start nginx
sudo systemctl start myapp
Do a final sanity check against the new IP:
curl -I http://NEW_SERVER_IP/
Step 9: Flip the DNS
Update the A records for your domain from OLD_DROPLET_IP to NEW_SERVER_IP. This is the moment of cutover.
Within 60 seconds (your new TTL), traffic will start hitting the Vozora VPS. Watch your application logs:
sudo tail -f /var/log/nginx/access.log
If something is wrong, flip the DNS back immediately. You still own the Droplet.
Step 10: Issue new SSL certificates
Once DNS is pointing at the new server and you have confirmed traffic is flowing, issue a fresh Let's Encrypt certificate:
sudo certbot --nginx -d example.com -d www.example.com
This replaces any certificate you may have carried over and ensures the renewal schedule is anchored to the new server.
Step 11: Verify, then cancel DigitalOcean
Keep the Droplet running for 48 to 72 hours after cutover. DNS propagation is usually fast but not instantaneous, and some clients cache aggressively.
Once you are confident traffic is clean on the new server:
- Take a final snapshot of the Droplet in DigitalOcean (optional, but costs nothing and provides a restore point).
- Destroy the Droplet in the DigitalOcean dashboard.
- Remove any Volumes, Floating IPs, or managed resources you are no longer using.
What DigitalOcean equivalents exist on Vozora?
| DigitalOcean feature | Vozora equivalent |
|---|---|
| Droplets (compute) | VPS instances |
| Block Storage Volumes | Volumes of 1 to 500 GB, attached to one server at a time, with snapshots |
| Floating IPs | Not offered: each VPS receives its own IPv4 and IPv6 address; re-IP by reprovisioning |
| Managed databases | Not offered: run your own Postgres/MySQL on the VPS |
| Load balancers | Not offered: use Nginx as a reverse proxy or HAProxy |
| Spaces (object storage) | S3-compatible object storage buckets |
| DNS management | Free DNS hosting, with zone file import, or keep your current provider |
Vozora does not try to replicate the full DigitalOcean platform surface. The trade is fewer managed services and more control per server. If you are using DigitalOcean Managed Postgres or App Platform heavily, factor in the effort of running those services yourself.
Common issues
My application cannot connect to the database after migration.
Check the database host in your .env or config file. If it points to localhost on the old server, it should still work. If it pointed to the old server's IP directly, update it.
Nginx returns 502 Bad Gateway.
Your application process is not running or is listening on the wrong port. Check sudo systemctl status myapp and compare the proxy_pass address in your Nginx config to the port the application reports in its logs.
Let's Encrypt certificate renewal will fail on the old server. If you left the Droplet running after cutover, Certbot on the old server will try to renew the certificate but DNS no longer points there, so the HTTP challenge fails. This is harmless since you have a certificate on the new server; just note it before you destroy the Droplet so the renewal attempt does not surprise you.
I am getting SSL errors immediately after cutover. DNS is still propagating. Curl the new server's IP directly to confirm HTTPS is working there, then wait for propagation.
That is it
UK VPS hosting. NVMe compute, unique routed IPv4, no support bot. The same job as the Droplet, without the managed layer you were not using.