1. Create the new unmanaged machine via your "Server control" page, making sure to use the same OS.
2. Connect to the new machine via SSH.
3. Run a command like the following on the new machine:
Code: Select all
rsync -aHvz --sparse your.old.machine.ip:/ / \
--exclude=/proc \
--exclude=/sys \
--exclude=/mnt \
--exclude=/dev \
--exclude=/tmp \
--exclude=/swap.img \
--exclude=/etc/udev/rules.d/70-persistent-net.rules \
--exclude=/etc/conf.d/net \
--exclude=/etc/network/interfaces \
--exclude=/etc/sysconfig/network-scripts \
--exclude=/etc/sysconfig/network \
--exclude=/etc/conf.d/hostname \
--exclude=/etc/hostname \
--exclude=/etc/fstab \
--exclude=/etc/resolv.conf \
--exclude=/etc/localtime \
--exclude=/var/log \
--exclude=/var/run \
--exclude=/var/spool \
--exclude=/var/tmp \
--delete
The process should be relatively quick, since only changed files will be transferred. To conserve bandwidth, files will be compressed as they are transferred.