📚 Legacy Documentation
Notice: This is the legacy documentation. For the latest features and updates, refer to our current SolusVM documentation.
Restore from Auto FTP backup
There are two options for restoration:
1. Restore existing VPS
Execute the following command on a slave node:
/scripts/ftp-restoreThen just follow instruction prompted.
2. Restore terminated/non-existing VPS
KVM
1. Create new VM from SolusVM with the same resource or larger than the terminated one.
2. Each VM’s will have 3 backup files in the backup server:
Backup file:
VSERVERID-kvm-kvmID-1.bzVM config file:
kvmID.xmlLVM config file:
config-VSERVERID.dat
3. Rename the backup files with new vserverID & kvmID
newvserverID-kvm-newkvmID-1.bznewkvmID.xmlconfig-newvserver-ID.dat
For example, consider 121 as new ververID & kvm131 as new kvmID
121-kvm-kvm131-1.bzkvm131.xmlconfig-121.dat
4. Once renamed the files, edit the XML and config.dat files to update the new VM’s kvmID and LVM path in it.
5. Run the restoration script on a slave node
/scripts/ftp-restoreXen
1. Create new VM from SolusVM with the same resource or larger than the terminated one.
2. Each VM’s will have 3 backup files in the backup server:
Backup file:
VSERVERID-xen-vmID-1.bzVM config file:
vmID.cfgLVM config file:
config-VSERVERID.dat
3. Rename the backup files with new vserverID & vmID:
newvserverID-xen-newvmID-1.bznewvmID.cfgconfig-newvserver-ID.dat
For example, consider 121 as new ververID & vm131 as new vmID:
121-xen-vm131-1.bzvm131.cfgconfig-121.dat
4. Once renamed the files, edit the cfg and config.dat files to update the new VM’s vmID and LVM path in it.
5. Run the restoration script on a slave node
/scripts/ftp-restoreOpenVZ
1. Create a new VPS with the same resources or larger than terminated one.
2. Connect to the backup server over SSH.
3. Find the backup of VPS - its format name is ID-vz-VMID-1.tgz, where ID - ID of VPS in SolusVM > Virtual Servers, VMID - VMID of the VPS in SolusVM > Virtual Servers.
For example: 203-vz-108-1.tgz
4. Rename the backup - change ID and VMID according to these values of the created VPS in step 1.
5. Connect to the slave node onver SSH.
6. Restore VPS using the new ID with restoration script:
/scripts/ftp-restore