Parent Directory | Revision Log | Revision Graph
* Wed Dec 11 2013 Ian Wells <esmith@wellsi.com> 2.2.0-77.sme - Workstation Backup, count backup sets from 1 [SME: 7762] Set numbering patch by Dave Liquorice
1 | wellsi | 1.1 | diff -ruN e-smith-backup-2.2.0.old/root/etc/e-smith/events/actions/workstation-backup-dar e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar |
2 | --- e-smith-backup-2.2.0.old/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-11 22:22:38.000000000 -0800 | ||
3 | +++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-11 22:30:12.000000000 -0800 | ||
4 | @@ -214,6 +214,11 @@ | ||
5 | { | ||
6 | $setnum %= $setsmax; | ||
7 | ++$setnum; | ||
8 | + # Remove set0 if reached $setsmax as set0 is deprecated and no longer valid. | ||
9 | + if ($setnum == $setsmax) | ||
10 | + { | ||
11 | + &remove_tree ("$mntdir/$id/set0"); | ||
12 | + } | ||
13 | } | ||
14 | |||
15 | $report .= sprintf("Using set number %d of %d\n", $setnum, $setsmax); |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |