projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Significant documentation changes for 2.0.0beta0
[BackupPC.git]
/
bin
/
BackupPC_restore
diff --git
a/bin/BackupPC_restore
b/bin/BackupPC_restore
index
27d4c94
..
709e7fd
100755
(executable)
--- a/
bin/BackupPC_restore
+++ b/
bin/BackupPC_restore
@@
-76,7
+76,7
@@
$reqFileName = $1;
my $startTime = time();
my $startTime = time();
-my $Hosts = $bpc->HostInfoRead();
+my $Hosts = $bpc->HostInfoRead(
$client
);
my $Dir = "$TopDir/pc/$client";
my $xferPid = -1;
my $Dir = "$TopDir/pc/$client";
my $xferPid = -1;
@@
-96,6
+96,7
@@
if ( !-f "$Dir/LOCK" ) {
open(LOG, ">>", "$Dir/LOG");
select(LOG); $| = 1; select(STDOUT);
open(LOG, ">>", "$Dir/LOG");
select(LOG); $| = 1; select(STDOUT);
+
#
# Read the request file
#
#
# Read the request file
#
@@
-568,6
+569,8
@@
sub UserCommandRun
XferMethod => $Conf{XferMethod},
sshPath => $Conf{SshPath},
LOG => *LOG,
XferMethod => $Conf{XferMethod},
sshPath => $Conf{SshPath},
LOG => *LOG,
+ user => $Hosts->{$client}{user},
+ moreUsers => $Hosts->{$client}{moreUsers},
XferLOG => $RestoreLOG,
stat => \%stat,
xferOK => $stat{xferOK},
XferLOG => $RestoreLOG,
stat => \%stat,
xferOK => $stat{xferOK},