YEEEEES!!

I solved!!!!

It was a problem with ssh. Sorry for my english. I do:

su backuppc
ssh-keygen -t rsa
exit
cp ~backuppc/.ssh/id_rsa.pub ~root/.ssh/authorized_keys2

and now I can connect from user backuppc to localhost without password. And
the restore work!!!

Thanks!



2016-01-14 22:26 GMT+01:00 David Rotger <davidrot...@gmail.com>:

> Contents of file /var/lib/backuppc/pc/localhost/XferLOG.2.z, modified
> 2016-01-14 22:26:45
>
> Running: /usr/bin/env LC_ALL=C /bin/tar -c -v -f - -C /data --totals .
> full backup started for directory /data
> Xfer PIDs are now 23840,23839
> Total bytes written: 1832960 (1.8MiB, 27MiB/s)
>   create   777       0/0           0 .
>   pool     777       0/0     1823814 david1.bmp
> tarExtract: Done: 0 errors, 1 filesExist, 1823814 sizeExist, 42057 
> sizeExistComp, 1 filesTotal, 1823814 sizeTotal
>
>
> 2016-01-14 22:24 GMT+01:00 David Rotger <davidrot...@gmail.com>:
>
>> I do:
>>
>> su backuppc
>> ssh root@localhost
>>
>> They work but ask me the root password.
>>
>> I can execute the comand ssh -l root...
>>
>>
>>
>> 2016-01-14 22:19 GMT+01:00 Les Mikesell <lesmikes...@gmail.com>:
>>
>>> On Thu, Jan 14, 2016 at 3:09 PM, David Rotger <davidrot...@gmail.com>
>>> wrote:
>>> > The user backuppc ask for a password when I try to conenct via ssh.
>>>
>>> Do you mean starting from user backuppc you are trying ssh
>>> root@localhost?  If so, something is wrong.
>>>
>>> Look at the top of the full log file for a successful backup run to
>>> see if it is successfully executing that same 'ssh -l root ...' that
>>> you saw in the restore log.   Maybe you configured some other way to
>>> run the backups - I have seen instructions posted for doing that with
>>> sudo instead since it is a little more efficient.   If you did that
>>> instead of setting up ssh keys you'll need to do the same for the
>>> restore command.
>>>
>>> --
>>>    Les Mikesell
>>>      lesmikes...@gmail.com
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Site24x7 APM Insight: Get Deep Visibility into Application Performance
>>> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
>>> Monitor end-to-end web transactions and take corrective actions now
>>> Troubleshoot faster and improve end-user experience. Signup Now!
>>> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
>>> _______________________________________________
>>> 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/
>>>
>>
>>
>>
>> --
>> David Rotger
>>
>
>
>
> --
> David Rotger
>



-- 
David Rotger
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
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