Script de restauration virt-backup
This commit is contained in:
parent
5384129802
commit
a164e63937
|
@ -12,7 +12,7 @@ fi
|
|||
|
||||
backup_file=$(sudo virt-backup list -D ${vm} | grep ${date} | cut -d " " -f 2 | sed "s/.json/_${disk}.raw/g")
|
||||
|
||||
echo "Restoring for $backup_file"
|
||||
echo "Restoring $backup_file"
|
||||
sudo cp --sparse=always -v "$backup_file" "$destpath"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue