/[smeserver]/rpms/e-smith-backup/sme9/e-smith-backup-2.4.0.bz10781.UpdateDarCatalogFollowingBackups.patch
ViewVC logotype

Contents of /rpms/e-smith-backup/sme9/e-smith-backup-2.4.0.bz10781.UpdateDarCatalogFollowingBackups.patch

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


Revision 1.1 - (show annotations) (download)
Thu Jun 20 16:31:50 2019 UTC (5 years, 5 months ago) by jcrisp
Branch: MAIN
CVS Tags: e-smith-backup-2_4_0-46_el6_sme, HEAD
* Thu Jun 20 2019 John Crisp <jcrisp@safeandsoundit.co.uk> 2.4.0-46.sme
- fixed bug on the dar catalog when backups are not added in it [SME: 10781]
- Backported from [SME: 9563]
- Added e-smith-backup-2.4.0.bz10781.UpdateDarCatalogFollowingBackups.patch
- Thanks to Terry Fage for finding this

1 diff -ruN e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar
2 --- e-smith-backup-2.4.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2019-06-20 18:00:53.687959332 +0200
3 +++ e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar 2019-06-20 17:58:43.357548126 +0200
4 @@ -438,7 +438,7 @@
5
6 # find available backups for the server
7 my $setbackuplist = sub {if($_ =~ /([\w|-]+)-(\d+)\..*\.dar/){$backupfiles{$2} = $File::Find::dir."/$1-$2";}};
8 - find { wanted => \&$setbackuplist, untaint => 1 }, $mntbkdir ;
9 + find { wanted => \&$setbackuplist, untaint => 1, follow => 1 }, $mntbkdir ;
10 my @deletions;
11
12 my $pid = open (DAR_LIST, "-|", "/usr/bin/dar_manager", "-Q", "-B", "$catalog", "-l") or ldie ("Cannot start : $!");

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