Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hypervisor:virtbackup [2012/09/21 15:56]
giancarlo
hypervisor:virtbackup [2012/09/24 11:37]
giancarlo
Line 1: Line 1:
 +
 ====== Virt-backup.pl:​ backup and restore ====== ====== Virt-backup.pl:​ backup and restore ======
  
Line 7: Line 8:
 # wget http://​repo.firewall-services.com/​misc/​virt/​virt-backup.pl # wget http://​repo.firewall-services.com/​misc/​virt/​virt-backup.pl
 # chmod +x virt-backup.pl # chmod +x virt-backup.pl
 +
 +# nano -w virt-backup.pl
 +     # lvcreate path
 +     - $opts{lvcreate} = '/​usr/​sbin/​lvcreate -c 512';
 +     + $opts{lvcreate} = '/​sbin/​lvcreate -c 512';
 +     # lvremove path
 +     - $opts{lvremove} = '/​usr/​sbin/​lvremove';​
 +     + $opts{lvremove} = '/​sbin/​lvremove';​
 +
 +
 +# apt-get install libxml-simple-perl libsys-virt-perl libfile-which-perl
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
Line 29: Line 41:
 # nano -w /etc/fstab # nano -w /etc/fstab
  
-    + UUID=0a413f6c-50cd-45c7-ba1c-0a413f6c1ac6 ​ /vmbck    ​ext4 ​   defaults,​auto,​_netdev ​  ​0 ​      0+    + UUID=0a413f6c-50cd-45c7-ba1c-0a413f6c1ac6 ​ /var/​lib/​libvirt/​backup ​   ​ext4 ​   defaults,​auto,​_netdev ​  ​0 ​      0
 </​code>​ </​code>​
 </​WRAP>​ </​WRAP>​
 
 
hypervisor/virtbackup.txt ยท Last modified: 2012/09/24 11:37 by giancarlo

Developers: CNR IRCrES IT Office and Library
Giancarlo Birello (giancarlo.birello _@_ ircres.cnr.it) and Anna Perin (anna.perin _@_ ircres.cnr.it)
DigiBess is licensed under: Creative Commons License
Recent changes RSS feed Creative Commons License Valid XHTML 1.0 Valid CSS Driven by DokuWiki
Drupal Garland Theme for Dokuwiki