projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* When there is an existing partial, a new partials is only saved
[BackupPC.git]
/
bin
/
BackupPC_compressPool
diff --git
a/bin/BackupPC_compressPool
b/bin/BackupPC_compressPool
index
b903268
..
8a3523c
100755
(executable)
--- a/
bin/BackupPC_compressPool
+++ b/
bin/BackupPC_compressPool
@@
-31,7
+31,7
@@
# Craig Barratt <cbarratt@users.sourceforge.net>
#
# COPYRIGHT
# Craig Barratt <cbarratt@users.sourceforge.net>
#
# COPYRIGHT
-# Copyright (C) 2001-200
3
Craig Barratt
+# Copyright (C) 2001-200
7
Craig Barratt
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@
-49,7
+49,7
@@
#
#========================================================================
#
#
#========================================================================
#
-# Version
2.1.0beta1, released 9 Apr 2004
.
+# Version
3.1.0beta0, released 3 Sep 2007
.
#
# See http://backuppc.sourceforge.net.
#
#
# See http://backuppc.sourceforge.net.
#
@@
-69,6
+69,7
@@
use BackupPC::FileZIO;
die("BackupPC::Lib->new failed\n") if ( !(my $bpc = BackupPC::Lib->new) );
$bpc->ChildInit();
my $TopDir = $bpc->TopDir();
die("BackupPC::Lib->new failed\n") if ( !(my $bpc = BackupPC::Lib->new) );
$bpc->ChildInit();
my $TopDir = $bpc->TopDir();
+my $LogDir = $bpc->LogDir();
my $BinDir = $bpc->BinDir();
my %Conf = $bpc->Conf();
my $PoolDir = "$TopDir/pool";
my $BinDir = $bpc->BinDir();
my %Conf = $bpc->Conf();
my $PoolDir = "$TopDir/pool";
@@
-399,8
+400,8
@@
sub compressHostFiles
if ( !defined($host) ) {
for ( my $i = 0 ; ; $i++ ) {
if ( !defined($host) ) {
for ( my $i = 0 ; ; $i++ ) {
- last if ( !-f "$
TopDir/log
/LOG.$i" );
- push(@Files, "$
TopDir/log
/LOG.$i");
+ last if ( !-f "$
LogDir
/LOG.$i" );
+ push(@Files, "$
LogDir
/LOG.$i");
}
} else {
@Backups = $bpc->BackupInfoRead($host);
}
} else {
@Backups = $bpc->BackupInfoRead($host);