[EMAIL PROTECTED] writes:

> 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