And the command with backuppc user says:
$ ./BackupPC_tarCreate -h localhost -n -4 -s /mnt/smb >
localhost_restore.tar
-su: 10: cannot create localhost_restore.tar: Permission denied
2016-01-13 23:45 GMT+01:00 David Rotger <davidrot...@gmail.com>:
> Yes, if I do ' su - backuppc ' the command work. Now in the host
> configuration for localhost I put the ' backuppc ' user. But when I try to
> restore, the error comes again...
>
>
>
> 2016-01-13 23:37 GMT+01:00 Carl Wilhelm Soderstrom <chr...@real-time.com>:
>
>> On 01/13 11:17 , David Rotger wrote:
>> > root@RFSERVER2:/usr/share/backuppc/bin# ./BackupPC_tarCreate
>> > ./BackupPC_tarCreate: Wrong user: my userid is 0, instead of 111
>> (backuppc)
>> > Please su backuppc first
>> > BackupPC::Lib->new failed
>> > root@RFSERVER2:/usr/share/backuppc/bin#
>>
>> Sorry, I meant to mention that (as the error explains above) you need to
>> be
>> the 'backuppc' user instead of 'root' for most of the commands to work.
>>
>> So do 'su - backuppc', or if that fails, do 'su - backuppc -s /bin/bash'
>> (presuming that /bin/bash is the path to your bash executable file).
>>
>> --
>> Carl Soderstrom
>> Systems Administrator
>> Real-Time Enterprises
>> www.real-time.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
------------------------------------------------------------------------------
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/