How to migrate from OpenVZ VPS to KVM Cloud Server

If you are currently on OpenVZ-based VPS and wanted to migrate your server to our KVM Cloud Server, here the basic steps. These steps are not exclusive, there are many other methods you can use to migrate between these virtualization technology.


a. Make sure both server are exact same OS and updated to latest release.

b. Login to both of the servers and run "yum install mingetty"

c. Open your favourite text editor and edit /etc/inittab and make entry / modify as per following:

1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

d. Install rsync on both servers by run "yum install rsync"

e. Create an exclude file /tmp/exclude.txt with and customize based on your own needs. Typically following listed in the exclude file:


f. Run following in your OpenVZ-based server:

rsync --exclude-from="/tmp/exclude.txt" --delete --numeric-ids -avpogtStlHz -e "ssh -p <ssh port>" / [email protected]<KVM server ip>:/

g. Once done, reboot the KVM Cloud Server. Check everything work fine and your server content synced.

  • 4 Users Found This Useful
Was this answer helpful?

Related Articles

How to mount /tmp and /var/tmp with noexec nosuid

Get this output from csf? " /tmp should be mounted as a separate filesystem with the...

How to change timezone on AlmaLinux

By default AlmaLinux 8 or 9 come preset with UTC time. To change to your own timezone, please...

How to activate cloud server firewall

There are two levels of firewall for Cloud Server: 1) default firewall (firewallld, iptables,...

IP Change Request

IP address is automatically assign by our system when service activation. As such, in general we...