/[smeserver]/rpms/e-smith-backup/sme9/e-smith-backup-2.4.0-workstation-timeMismatch.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme9/e-smith-backup-2.4.0-workstation-timeMismatch.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Feb 4 21:04:14 2015 UTC (9 years, 8 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-backup-2_4_0-44_el6_sme, e-smith-backup-2_4_0-45_el6_sme, e-smith-backup-2_4_0-43_el6_sme, e-smith-backup-2_4_0-46_el6_sme, HEAD
Error occurred while calculating annotation data.
* Wed Feb 4 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-43.sme
- Workstation Backup, do not fail backup for mtime/ctime mismatch [SME: 8800]

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 }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed