Update script_backups_mother.sh
This commit is contained in:
parent
9844ab07d3
commit
71e9bb4ff6
|
@ -7,5 +7,16 @@ echo "BACKUP SESSION $(date)" >> /var/log/backup.log
|
|||
virt-backup backup 1>> /var/log/backup.log
|
||||
virt-backup clean 1>> /var/log/backup.log
|
||||
|
||||
/opt/sharedfs/outils/blockcommit_all.sh
|
||||
|
||||
#find /var/backups -type f -exec sudo fallocate -v -d {} \;
|
||||
|
||||
# Wait for aunt to finish
|
||||
processes=$(ssh aunt 'ps aux' | grep virt-backup)
|
||||
|
||||
while [ ! -z "$processes" ];
|
||||
do
|
||||
sleep 60
|
||||
done
|
||||
|
||||
find /var/backups -type f -exec sudo fallocate -v -d {} \;
|
||||
|
|
Loading…
Reference in New Issue