Just follow up for anyone else searching this thread (here's the link to read 
it in the forum: 
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/backuppc-21/backuppc-tarcreate-gives-error-bad-share-or-directory-123686/).

Here are the 2 important things that I learned:

1. Requesting an in-place tar restore of a file from an incremental backup in 
which it does not exist will create an error in the BackupPC_tarCreate program 
saying "bad share or directory". So make sure it REALLY is in that incremental 
backup or go to the most recent FULL backup to do the restore.
2. At the beginning of my restore command, I had: 

$sshPath -q -x -l root $host env LC_ALL=C

When I ran that from the command line it asked if I really wanted to connect to 
this host and then for the password for "root".  Since this is an Ubuntu box, I 
don't know the root password.  I think if I had that, it would have worked or 
if I had used some sort of ssh credentials file, I could have gotten this to 
work.  Since it was a localhost restore, I just got rid of that and left the 
rest of the command in place: 

sudo $tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+

This WORKED!!!

Many thanks to those who replied.  They either gave me direct answers or 
reflections that helped me think in the right direction for the answers.  
Hopefully this will help someone else.
Thanks!

+----------------------------------------------------------------------
|This was sent by da...@leighweb.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to