Changes

Jump to: navigation, search

stoney conductor: VM Backup

396 bytes added, 13:45, 22 October 2013
/* Basic idea */
* Merge: Merge the Disk-Image-Snapshot with the Live-Image
* Retain: Export the snapshot files
A more detailed and technical description for these three sub-processes can be found in the following sub[[#Sub-chaptersProcesses | here]].
Furthermore there is an control instance, which can independently call these three sub-processes for a given machine. Like that, the stoney cloud is able to handle different cases:== Backup a single machine ==Call Snapshot -> Merge -> Retain ... == Backup multiple machines at the same time ==For each machine call snapshot For each machine call merge -> retain  ... == Sub-Processes ===== Snapshot ===
# Create a snapshot with state:
#* If the VM <code>vm-001</code> is running:
See also: [[stoney_conductor:_prov_backup_kvm#Snapshot | Snapshot workflow ]]
=== Merge ===
# Check if the VM <code>vm-001</code> is running
#* If not, start the VM in paused state: <syntaxhighlight lang="bash">virsh start --paused vm-001</syntaxhighlight>
See also: [[stoney_conductor:_prov_backup_kvm#Merge | Merge workflow]]
=== Retain ===
# Move the files to the backup location:
#* Move the old disk image to the backup location and add the date as suffix to not overwrite older backups: <code>mv my-vm-backup.qcow2 /path/to/backup/my-vm-backup.qcow2.date</code>
486
edits