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)</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 /><br />Taking the time to backup the image of the Operating System's file system allows the user to return to a '''"restoration point"''' in case something bad occurs to the OS during a lab. 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.
::* Change at least one of the hexadecimal characters in the UUID. Do not change the length of the UUID. Valid hexadecimal characters are 0-9 and a-f.
<ol type="a" >
<li value="115">Issue this command: <code>virsh define fedora3a.xml</code>
<li>Issue the command <code>virsh list --all</code> and record any changes.
<li>Issue the command: <code>virsh undefine fedora3a</code>