Re: [BackupPC-users] Issues with a restore
2013-09-09 12:31:42
On Mon, Sep 9, 2013 at 11:07 AM, David Williams
<dwilliams AT dtw-consulting DOT com> 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
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
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/
|
|
|