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

Annotation of /rpms/e-smith-backup/sme9/e-smith-backup-2.4.0-workstation-setNumbering.patch

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


Revision 1.1 - (hide annotations) (download)
Fri Dec 13 05:05:51 2013 UTC (10 years, 6 months ago) by wellsi
Branch: MAIN
CVS Tags: e-smith-backup-2_4_0-25_el6_sme, e-smith-backup-2_4_0-46_el6_sme, e-smith-backup-2_4_0-23_el6_sme, e-smith-backup-2_4_0-28_el6_sme, e-smith-backup-2_4_0-35_el6_sme, e-smith-backup-2_4_0-21_el6_sme, e-smith-backup-2_4_0-44_el6_sme, e-smith-backup-2_4_0-37_el6_sme, e-smith-backup-2_4_0-24_el6_sme, e-smith-backup-2_4_0-45_el6_sme, e-smith-backup-2_4_0-31_el6_sme, e-smith-backup-2_4_0-30_el6_sme, e-smith-backup-2_4_0-39_el6_sme, e-smith-backup-2_4_0-40_el6_sme, e-smith-backup-2_4_0-43_el6_sme, e-smith-backup-2_4_0-32_el6_sme, e-smith-backup-2_4_0-42_el6_sme, e-smith-backup-2_4_0-19_el6_sme, e-smith-backup-2_4_0-34_el6_sme, e-smith-backup-2_4_0-22_el6_sme, e-smith-backup-2_4_0-36_el6_sme, e-smith-backup-2_4_0-20_el6_sme, e-smith-backup-2_4_0-33_el6_sme, e-smith-backup-2_4_0-26_el6_sme, e-smith-backup-2_4_0-38_el6_sme, e-smith-backup-2_4_0-29_el6_sme, e-smith-backup-2_4_0-27_el6_sme, e-smith-backup-2_4_0-41_el6_sme, HEAD
* Thu Dec 12 2013 Ian Wells <esmith@wellsi.com> 2.4.0-19.sme
- Workstation Backup, count backup sets from 1 [SME: 8059]
  Set numbering patch by Dave Liquorice

1 wellsi 1.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 2013-12-12 20:10:11.000000000 -0800
3     +++ e-smith-backup-2.4.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-12 20:12:58.000000000 -0800
4     @@ -73,7 +73,7 @@
5     my $password = $backupwk->prop('Password');
6     my $setsmax = $backupwk->prop('SetsMax') || 1;
7     my $daysinset = $backupwk->prop('DaysInSet') || 1;
8     -my $setnum = $backupwk->prop('SetNum'); $setnum = ($setsmax-1) unless defined $setnum;
9     +my $setnum = $backupwk->prop('SetNum'); $setnum = $setsmax unless defined $setnum;
10     my $incnum = $backupwk->prop('IncNum'); $incnum = ($daysinset-1) unless defined $incnum;
11     my $timeout = (($backupwk->prop('Timeout') * 3600) - 30) || '88500';
12     my $inconly = $backupwk->prop('IncOnlyTimeout') || 'no';
13     @@ -139,8 +139,8 @@
14     ($fullday == 7 && $incnum >= $daysinset);
15     if ($incnum == 0)
16     {
17     - ++$setnum;
18     $setnum %= $setsmax;
19     + ++$setnum;
20     }
21    
22     # if no set directory, make it

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