13,420
edits
Changes
→Performing Full Backups
#Create a Bash shell script called '''/root/bin/mybackup.bash''' that will backup all of your other vms (i.e. vm1, vm2, and vm3) one at a time using the '''dump''' command into the respective path-names: '''/backup/full/vm1''', '''/backup/full/vm2''', and '''/backup/full/vm'''
#Set execute permissions, and run the shell script to verify that you shell script works.
#You can '''undefine the backup-test''' VM in the virtual machine manager and remove the image file for that VM in the '''/var/lib/libvirt/images''' directory.
It will be your responsibility as an administrator of your own Linux system, to backup all of your VMs for labs and assignments at the end of your lab session. Learning to create shell scripts to automate routine tasks (such as backups) will be EXTREMELY useful for your NDD430 course.