Applicable to:
- SolusVM
Question
How to restore terminated KVM/XEN VM with Automated Backup?
Answer
KVM
- Create new VM from SolusVM with the same resource or larger than the terminated one.
- Each VM's will have 3 backup files in the backup server.
# Backup file: VSERVERID-kvm-kvmID-1.bz
# VM config file: kvmID.xml
# LVM config file: config-VSERVERID.dat - Rename the backup files with new vserverID & kvmID
# newvserverID-kvm-newkvmID-1.bz
# newkvmID.xml
# config-newvserver ID.datFor example, consider 121 as new ververID & kvm131 as new kvmID
# 121-kvm-kvm131-1.bz
# kvm131.xml
# config-121.dat - Once renamed the files, edit the XML and config.dat files to update the new VM's kvmID and LVM path in it.
- Run the restoration script
/scripts/ftp-restore
on a slave node.
Xen
- Create new VM from SolusVM with the same resource or larger than the terminated one.
- Each VM's will have 3 backup files in the backup server:
# Backup file: VSERVERID-xen-vmID-1.bz
# VM config file: vmID.cfg
# LVM config file: config-VSERVERID.dat - Rename the backup files with new vserverID & vmID:
# newvserverID-xen-newvmID-1.bz
# newvmID.cfg
# config-newvserver ID.datFor example consider 121 as new ververID & vm131 as new vmID:
# 121-xen-vm131-1.bz
# vm131.cfg
# config-121.dat - Once renamed the files, edit the cfg and config.dat files to update the new VM's vmID and LVM path in it.
- Run the restoration script
/scripts/ftp-restore
on a slave node.
Comments
0 commentsPlease sign in to leave a comment.