BackupPC-users

Re: [BackupPC-users] Issues with a restore

2013-09-09 13:55:30
Subject: Re: [BackupPC-users] Issues with a restore
From: John Rouillard <rouilj-backuppc AT renesys DOT com>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Mon, 9 Sep 2013 17:53:42 +0000
On Mon, Sep 09, 2013 at 12:07:03PM -0400, David Williams wrote:
> The single file was just a test...I will want to restore a whole
> bunch of files.  Does the backuppc documentation explain how to set
> up the ssh key for backuppc to execute as root on the target (which
> is in fact one and the same machine)?
             ^^^^^^^^^^^^^^^^^^^^^^^^

Then why bother with ssh at all?

sudo -u backuppc  .../BackupPC_tarCreate -h linuxpc -n 612 \
  -s /photos -t -r /Pili -p /photos/ /Pili/IMG_0558.JPG | \
   sudo tar -xvf - --numeric-owner --same-owner C /restores

should do the trick I would think.
-- 
                                -- rouilj

John Rouillard       System Administrator
Renesys Corporation  603-244-9084 (cell)  603-643-9300 x 111

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/