Changes

Jump to: navigation, search

stoney conductor: VM Backup

547 bytes added, 13:52, 22 October 2013
/* Retain */
=== Retain ===
# Move the all the files in from the retain directory (<code>/path/to/retain/</code>) to the backup location:directory (<code>/path/to/backup/</code>)## Move the VMs state file to the backup directory##* <syntaxhighlight lang="bash">mv /path/to/retain/vm-001.state /path/to/backup/vm-001.state</syntaxhighlight>## Move the old VMs disk image to the backup location and add the date as suffix to not overwrite older backups: directory##* <codesyntaxhighlight lang="bash">mv my-/path/to/retain/vm-backup001.qcow2 /path/to/backup/my-vm-backup001.qcow2.date</codesyntaxhighlight>##* * '''Please note:''' If the VM <code>vm-001</code> has more than just one disk image, repeat this step for each disk image## Move the state VMs XML description file to the backup location and add directory##* <syntaxhighlight lang="bash">mv /path/to/retain/vm-001.xml /path/to/backup/vm-001.xml</syntaxhighlight>## Move the date as suffix VMs backend entry file to not overwrite older backups: the backup directory##* <codesyntaxhighlight lang="bash">mv my-/path/to/retain/vm-001.state backend /path/to/backup/myvm-vm001.state.datebackend</codesyntaxhighlight>
= State of the art =
486
edits