1 |
diff -Nur e-smith-backup-2.4.0.old8800/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0.bz8800/root/etc/e-smith/events/actions/workstation-backup-dar |
2 |
--- e-smith-backup-2.4.0.old8800/root/etc/e-smith/events/actions/workstation-backup-dar 2015-02-04 21:53:56.705181302 +0100 |
3 |
+++ e-smith-backup-2.4.0.bz8800/root/etc/e-smith/events/actions/workstation-backup-dar 2015-02-04 21:56:42.696738586 +0100 |
4 |
@@ -476,7 +476,7 @@ |
5 |
foreach my $key (sort keys %backupfiles) |
6 |
{ |
7 |
next unless ($key > $oldkey); # prevent adding old backups to the catalog |
8 |
- system("/usr/bin/dar_manager", "-Q", "-B", "$catalog", "-A", "$backupfiles{$key}") == 0 |
9 |
+ system("/usr/bin/dar_manager", "-Q", "-ai", "-B", "$catalog", "-A", "$backupfiles{$key}") == 0 |
10 |
or ldie("Failed to add set $backupfiles{$key} to catalog. $!\n"); |
11 |
sleep 1; # sleep added to ensure the creation of a valid catalog |
12 |
} |