Backup über snapshot: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
=Links=
 
=Links=
 
*https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Virtualization_Deployment_and_Administration_Guide/sub-sect-blockpull.html
 
*https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Virtualization_Deployment_and_Administration_Guide/sub-sect-blockpull.html
 +
*http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit

Version vom 1. April 2017, 21:06 Uhr

Snapshot erzeugen

  • virsh snapshot-create-as tiazel.xinux.lan 1 "tiazel.xinux.lan.1" --disk-only --atomic

Block pull image

  • virsh blockpull --wait --domain tiazel.xinux.lan /var/lib/libvirt/images/tiazel.xinux.lan.1
Pull complete

Delete snapshot

  • virsh snapshot-delete tiazel.xinux.lan 1 --metadata
Domain snapshot 1 deleted

Backup

  • rsync --progress tiazel.xinux.lan.qcow2 tiazel.xinux.lan-backup.qcow2

Links