13,420
edits
Changes
→Performing Full Backups
#Make certain that you are logged in as root user on your host machine.
#From your vm1 machine, make a cloned virtual machine called '''backup-test'''
#On your host machine, run the following commands:<br><source lang=bash>mkdir -p /backup/full/backup-testdump -z100 -f /backup/full/backup-test/full /var/lib/libvirt/images/backup-test.qcow2</source>
#When the backup operation has been completed, issue the following command to determine the file-type:<br><source lang=bash>file /backup/full/backup-test/full</source>
#What is type of file is this? Use the '''ls -lh''' command to determine the size of this file.
#Remove the vm you just created by issuing the follow command:<br><source lang=bash>rm /var/lib/libvirt/images/backup-test.qcow2</source>
#Try launching the backup-test VM from the virtual machine manager. Did it work?
#Issue the following command to restore the backup-test VM by issuing the following command:<source lang=bash>restore /backup/full/backup-test</source>
=== Performing Incremental Backups ===