Backup über snapshot: Unterschied zwischen den Versionen

Aus Xinux Wiki
Zur Navigation springen Zur Suche springen
Zeile 9: Zeile 9:
 
=Backup=
 
=Backup=
 
*rsync --progress tiazel.xinux.lan.qcow2 tiazel.xinux.lan-backup.qcow2
 
*rsync --progress tiazel.xinux.lan.qcow2 tiazel.xinux.lan-backup.qcow2
 +
=Links=
 +
*https://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/Virtualization_Deployment_and_Administration_Guide/sub-sect-blockpull.html

Version vom 1. April 2017, 18:50 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