#
#========================================================================
#
-# Version 2.0.0_CVS, released 18 Jan 2003.
+# Version 2.0.0_CVS, released 3 Feb 2003.
#
# See http://backuppc.sourceforge.net.
#
$RsyncLibOK = 0;
$RsyncLibErr = "File::RsyncP module doesn't exist";
} else {
- if ( $File::RsyncP::VERSION < 0.20 ) {
+ if ( $File::RsyncP::VERSION < 0.30 ) {
$RsyncLibOK = 0;
- $RsyncLibErr = "File::RsyncP module version too old: need 0.20";
+ $RsyncLibErr = "File::RsyncP module version too old: need 0.30";
} else {
$RsyncLibOK = 1;
}
#
# We add a slash to the share name we pass to rsync
#
- ($t->{shareNameSlash} = "$t->{shareName}/") =~ s{//+$}{};
+ ($t->{shareNameSlash} = "$t->{shareName}/") =~ s{//+$}{/};
if ( $t->{type} eq "restore" ) {
$rsyncClientCmd = $conf->{RsyncClientRestoreCmd};
},
rsyncCmdType => "full",
rsyncArgs => $rsyncArgs,
+ timeout => $conf->{ClientTimeout},
logHandler => sub {
my($str) = @_;
$str .= "\n";
conf => $t->{conf},
backups => $t->{backups},
logLevel => $conf->{RsyncLogLevel},
- timeout => $conf->{ClientTimeout},
logHandler => sub {
my($str) = @_;
$str .= "\n";