Wait longer before removing LVM snapshots

On busy servers it can fails. Note: would be cleaner to retry removing it in a loop but ...
tags/virt-backup-0.2.25-1
Daniel Berteaud 4 years ago
parent 16493b0532
commit 95e65034fb
  1. 2
      virt-backup

@ -692,7 +692,7 @@ sub run_cleanup{
}
if (open SNAPLIST, "<$backupdir.meta/snapshots"){
sleep(2);
sleep(10);
foreach (<SNAPLIST>){
# Destroy snapshot listed here is they exists
# and only if the end with _ and 10 digits

Loading…
Cancel
Save