On Tue, Jan 28, 2014 at 3:36 AM, dleigh
<backuppc-forum < at > backupcentral.com> wrote:
I've never gotten backuppc in-place restores to work. I've been using backuppc 
for several years now, but I'm just now getting around to trying to figure that 
part out!

Anyway, here's what I've tried and my results (command line under su backuppc):


$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s /home -t -r 
/leidav -p /leidav/ /leidav/zlink.txt
/usr/share/backuppc/bin/BackupPC_tarCreate: bad share or directory 
'/home//leidav/zlink.txt'
Done: 0 files, 0 bytes, 0 dirs, 0 specials, 1 errors


So this command that I'm using is the command that the backuppc web interface 
creates when I select a file to restore while browsing a backup. So if the 
COMMAND is wrong, that's a bit annoying, but at least backuppc allows you to 
change the command. Hopefully it's not a problem in BackupPC_tarCreate - that 
would be even more annoying!

I don't understand what you are trying to do here. The web interface
is going to generate a URL-encoded command that can be sent back to
the web interface. If you want that, why not just check the option to
do it in the web interface? Or if you want to want to use the
command line, why not just type the options in yourself without the
unnecessary &-encoding.

-- 
Les Mikesell
lesmikesell < at > gmail.com 

-------
@Les Mikesell
Hi Les, thanks for the reply and sorry my post was confusing.  I use the web 
interface exclusively but when it has an error it doesn't always give all the 
information necessary to see what the real problem is.  

For instance the web interface tells me this:

Running: /usr/bin/ssh -q -x -l root fichiers00 env LC_ALL=C sudo /bin/tar -x -p 
--numeric-owner --same-owner -v -f - -C /home
Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 828 -s 
/home -t -r /leidav -p /leidav/ /leidav/zlink.txt
Xfer PIDs are now 22938,22939
Tar exited with error 65280 () status
restore failed: BackupPC_tarCreate failed

So this "BackupPC_tarCreate failed" is not too useful.  Consequently, I take 
the command and run it at the command line to see what message it gives me.  Of 
course if the web interface is creating bad commands, that would be a problem 
to track down.  So that's where I am at the moment.  Thanks!

+----------------------------------------------------------------------
|This was sent by [email protected] via Backup Central.
|Forward SPAM to [email protected].
+----------------------------------------------------------------------



------------------------------------------------------------------------------
WatchGuard Dimension instantly turns raw network data into actionable 
security intelligence. It gives you real-time visual feedback on key
security issues and trends.  Skip the complicated setup - simply import
a virtual appliance and go from zero to informed in seconds.
http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to