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:11:21.000000000 -0800 |
3 |
|
|
+++ e-smith-backup-2.2.0/root/etc/e-smith/events/actions/workstation-backup-dar 2013-12-11 22:18:00.000000000 -0800 |
4 |
|
|
@@ -74,7 +74,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 |
|
|
@@ -212,11 +212,11 @@ |
14 |
|
|
($fullday == 7 && $incnum >= $daysinset); |
15 |
|
|
if ($incnum == 0) |
16 |
|
|
{ |
17 |
|
|
- ++$setnum; |
18 |
|
|
$setnum %= $setsmax; |
19 |
|
|
+ ++$setnum; |
20 |
|
|
} |
21 |
|
|
|
22 |
|
|
-$report .= sprintf("Using set number %d of %d\n", $setnum + 1, $setsmax); |
23 |
|
|
+$report .= sprintf("Using set number %d of %d\n", $setnum, $setsmax); |
24 |
|
|
if ($incnum == 0) |
25 |
|
|
{ |
26 |
|
|
$report .= "Attempt full backup \n"; |