WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-fr

Re: [Xen-fr] Sauvegarde de mes VM ?

j'utilise rdiff-backup

 cat /vm/svg/backupvm.sh
#!/bin/sh
# usage
/vm/svg/backupvm.sh vmname
dater=$(date +%d-%m-%y_%Hh%M)
echo "$1 : Mise en pause de la machine virtuelle : $(date +%d-%m-%y_%Hh%M)"
xm pause $1
echo "$1 : Debut de la sauvegarde"
rdiff-backup /vm/domains/$1/ /vm/svg/$1/
echo "$1 : Relance de la machine virtuelle"
xm unpause $1
echo "$1 : Sauvegarde du $(date +%d-%m-%y_%Hh%M) termin▒e"
echo "$1 : Suppression des sauvegardes passees de plus de 5 semaines"
rdiff-backup --remove-older-than 5W /vm/svg/$1/
echo "$1 : Suppression terminee le $(date +%d-%m-%y_%Hh%M)"

cordialement,
GC

Cedric Brancourt a écrit :
LVM2 Snapshots ....

Parce-que toutes nos VM reposent sur des systèmes de fichiers virtuels.
A mes yeux c'est vraiment ultime.

  

_______________________________________________ Xen-fr mailing list Xen-fr@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-fr
_______________________________________________
Xen-fr mailing list
Xen-fr@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-fr
<Prev in Thread] Current Thread [Next in Thread>