How Can We Help?
< All Topics
Print

VPS Migration: A Step-by-Step Guide to Moving Your Server to Another VPS

This guide provides steps for migrating your current VPS data to another VPS, covering general procedures for any Linux-based server, although tasks may vary based on your operating system and applications.

a) Prepare backups

vps

1. First, make sure you have an up-to-date backup of all necessary files and the backup location on your server. If using a database, perform a new dump and confirm the backup location.

b) Set up your new VPS

1. Then, it is necessary to have a valid VPS order:

  • Choose a VPS plan with more RAM if your previous server used up to 2 GB of RAM.
  • Your VPS will be permanently deleted, and any content that existed before the migration will be overwritten.

2. If your previous server had an older operating system version, it’s time to upgrade to the latest version on your new VPS.

3. Next, you can install your current applications like Apache, PHP, MariaDB, Redis, and Node.JS.

c) Transfer data

1. After that, log into the server as root and shut down all running services to prevent any errors from initiating the data transfer process.

2. Then, upload the backup to the new VPS using FTP, scp, or rsync tools, then move the application files to the correct location after completion.

Notes: The control panel may also have an internal transfer tool that can be utilized.

d) Test

1. After restoring the backup, perform a test on all applications to ensure proper operation and potentially make configuration file changes to update hostnames and IP addresses.

Notes: If you encounter any issues or configuration-related problems after the transfer, we suggest reaching out to your developer or our technical support for further assistance.

e) Point your domain

1. After testing and ensuring smooth operation, update the A record on your domain to match the new VPS IP address.

2. Finally, your application will be fully operational on the new VPS.

Table of Contents