This commit is contained in:
garfi 2023-08-28 22:32:56 +02:00
parent 29d0851bf9
commit bb67de1dd2

View File

@ -3,7 +3,7 @@
# #
backup_dir="/mnt/box/backup/bk_auto_pveprod/" backup_dir="/mnt/box/backup/bk_auto_pveprod/"
timestamp=$(date +%Y%m%d%H%M%S) timestamp=$(date +%Y%m%d%H%M%S)
test
## BACKUP JEEDOM ## BACKUP JEEDOM
qm stop 101; sleep 60s; qemu-img convert -O qcow2 -f raw /dev/pve/vm-101-disk-0 $backup_dir/101_JEEDOM_$timestamp.qcow2; qm start 101 qm stop 101; sleep 60s; qemu-img convert -O qcow2 -f raw /dev/pve/vm-101-disk-0 $backup_dir/101_JEEDOM_$timestamp.qcow2; qm start 101