Hm. Well I thought I found the problem (I couldn't ssh to [EMAIL PROTECTED]
without getting a password prompt) but after I fixed that the problem
still remained. Ratz!

Here's the restorecmd:

$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host /usr/bin/env 
LC_ALL=C $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';

Now I've been going through some of the variables.. sshpath is set in
localhost.pl:

$Conf{SshPath} = '/usr/bin/ssh -p 1234';
(yes we run sshd on another port)

$tarPath is just /bin/tar as usual.. $host is localhost.. 

Don't see the error yet..

                                                                          

> > OK got a new error for you. Today I wanted to restore something for the
> > first time.. and wouldn't you know it. Errors.. no restore happening.
> > 
> > What I tried to do:
> > 
> > I back up localhost to localhost (another drive, same machine).
> > Now as a test I wanted to restore /var/log/uucp.log. A 0byte file.
> > 
> > I tell it to restore directly to the machine localhost. 
> > 
> > Result in the log file:
> > 
> > 2005-12-03 04:20:49 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h 
> > localhost -n 21 -s /var -t -r /log -p /log/ /log/uucp.log
> > 2005-12-03 04:20:54 Restore failed (BackupPC_tarCreate failed)
> > 
> > Not a really informative log message..
> > 
> > I tried the same command as user backuppc:
> > 
> > [EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h
> > localhost -n
> > 21 -s /var -t -r /log -p /log/ /log/uucp.log
> ./log/uucp.log0000644000000000000000000000000010131560714012135 0ustar
> > rootrootDone: 1 files, 0 bytes, 0 dirs, 0 specials, 0 errors
> > [EMAIL PROTECTED]:~$
> > 
> > Well, no errors, but no files created either.
> 
> Yes, an archive with one file is created - you can see some of the
> archive contents in ascii, but pipe it into od -x so see it all.
> 
> > Any thoughts? My localhost.pl contains:
> > 
> > $Conf{XferMethod} = 'tar';
> > $Conf{TarShareName} = ['/etc'];
> > $Conf{TarShareName} = ['/boot', '/var', '/usr/local', '/etc'];
> > $Conf{TarClientCmd} = '/usr/bin/sudo /etc/backuppc/tarcreate -v -f - -C
> > $shareName+ --totals';
> 
> I would guess $Conf{TarClientRestoreCmd} is wrong.  What is
> it set to?
> 
> Craig
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to