On Mon, Sep 9, 2013 at 11:07 AM, David Williams
<[email protected]> 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)?  I don't have access to the backuppc documentation at this
> moment, but if it is there then I will take a look into it.

Sure - you need exactly the same for a restore as a backup - that is,
root access to the target from the backuppc account on the server.
Depending on the platform, you may be able to (starting from root on
the backuppc server:
su - backuppc   (you might need 'su -s /bin/bash - backuppc' if there
is no login shell for the account).
ssh-copy-id root@target_host
(and then answer the prompts to accept the host key and  for the
remote root password)
That uses a password-based connection to set the keys up for you for
subsequent passwordless connections.

-- 
   Les Mikesell
    [email protected]

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