Restore FTP Backups
SolusVM has a great feature built-in to the software to take regular snapshots of virtual servers. These Snapshots are exactly like a restore point in your Windows PC. The software will take an image of your VPS server whilst it is still online then store that image in a separate location. You can restore SolusVM AutoFTP backups from the command line using the AutoFTP restore commands. In this guide, we will restore a KVM VPS server which has been backed up using the AutoFTP settings in SolusVM.
- Before starting it’s worth noting the speed on this system is not great. If your backup is large then this may take a while to complete.
- For the restore to work, the server which needs to be restored should still reside on the host node. You should not remove the VPS server to restore it. If you do you will need to make some changes to the backup file and create a new server, we will detail this later on.
Restore AutoFTP Backups
To begin the restore process login to the host node which the server currently resides on. You need to be the root user to do this. Next issue the below command;
The host node will now connect to the backup storage configured in SolusVM. you now need to enter the vserverID, it will be listed in SolusVM under the ID collum.
The software will then copy that backup to your host node and restore the server. It will take some time but you can monitor the progress from the command line.
How to restore an AutoFTP backup when the server has already been removed from SolusVM
You can still restore a backup of a server that has already been removed from SolusVM but you need to make some changes to the backup file. First, create a new server with the same resources as before.
Next, login to your backup server and find the backup for this server. You can look at the AutoFTP settings in SolusVM to find out where the backups are being stored.
Change the vserverID of the backup to match the new server you have created. There may also be other files with the old vserverID. In the case of KVM restores you also have a .dat and .xml file. The vserverID needs to be changed on these too.
Once the change has been made issue the /scripts/ftp-restore command on the host node and enter the new vserverID you entered on the backups. This will then restore as usual.
Restore OpenVZ / Virtuozzo VPS Servers
For Virtuozzo VPS restores it’s likely quicker to use RSYNC and move the backup to the host node then use VZDUMP to restore the server.
How was this article? – How To Restore SolusVM AutoFTP Backups