13,420
edits
Changes
no edit summary
== Investigation 6: How do I backup a virtual machine? ==
{{Admon/important|Backing up VMs|There are two parts to backing up your images:<ol><li>'''Compressing your images''' (also recommended to backup up to external storage (USB Key)using the '''gzip''' command.</li><li>'''Backup the VM xlm configuration file''' (preferably to USB key) using '''virsh ''' shell command to add VM to virtual machine manager list (if HOST machine is "wiped" and re-installed).</li></ol><br />Taking the time to backup the image of the Operating System's file system allows the user to return to a '''"restoration point"''' using the '''gunzip''' command in case something bad occurs to the OS during a lab.<br />Failure to take the time to make and confirm backups can result in loss of lab work for the student!|}}
# Shut down all of the virtual machines.
<li>Issue the command: <code>virsh undefine fedora3a</code>
<li>List all of the virtual machines again, and note any changes. </li></ol>
<li>For the remainder of these labs, it is assumed that you will backup both the images and xml configuration files for your host machine and all Virtual machines, when ask to backup.</li><li>Answer this question in your log book:</li>
</ol>
::* In order to fully back up a virtual machine, what information should be saved in addition to the virtual machine image?