On 1/28/2014 4:36 AM, dleigh 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!
>
> Because it was putting "//" double slashes in the path, I thought that this 
> was perhaps the problem.  So I screwed around with the command by removing 
> various slashes to see what the outcome was.  The error was always the same 
> even though the path DID reflect the changes that I made.  Here are those 
> tries:
>
>
> $ /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
> $ /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
> $ /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
> $ /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
>
>
> Searches for "bad share or directory" have not turned up any useful 
> information for me.  Any ideas out there about what it's really complaining 
> about?

So, in your BackupPC setup, the host name is "localhost"?

-- 
Bowie

------------------------------------------------------------------------------
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
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