On Sat, 2010-03-13 at 03:17 +0000, Luis Paulo wrote:
> Great.
> Try
>
http://backuppc.sourceforge.net/faq/ssh.html#how_can_client_access_as_root_be_avoided
> when you have the time. This way you avoid empty password keys for
> root user. On the other hand, that may not be too important to you, I
> guess.
>
> I have on server: visudo
> Host_Alias LOCAL = <your server name or IP>
> #backuppc LOCAL=NOPASSWD:/bin/tar -c *, /bin/tar -x *
> backuppc LOCAL=NOPASSWD:/bin/tar -c *
>
> and $Conf{TarClientCmd} = /usr/bin/env LC_ALL=C sudo /bin/tar -c -v -f
> - -C $shareName --totals
> $Conf{TarClientRestoreCmd} = '/usr/bin/env LC_ALL=C sudo /bin/tar -x
> -v -f - -C $shareName --totals';
>
> On linux clients, I have: visudo
> #backuppc ALL=NOPASSWD: /usr/bin/rsync --server --sender *
> backuppc ALL=NOPASSWD: /usr/bin/rsync --server *
>
> and $Conf{RsyncClientCmd} = $sshPath -q -x -l backuppc
> $host /usr/bin/sudo /usr/bin/rsync $argList+
> $Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l backuppc
> $host /usr/bin/sudo $rsyncPath $argList+';
>
> note: you must switch the # on visudo to use restore
>
> Regards
> Luis
>
> On Sat, Mar 13, 2010 at 2:12 AM, Kenneth L. Owen
> <
tx836519 AT bellsouth DOT net> wrote:
> > Hi Luis,
> >
> > Just as I thought, it now works!!! Thanks to you for sticking with
> me
> > to find my mistake. Only on a computer can you find twenty ways to
> make
> > the same mistake! -- ken
> >
> >>>> PROBLEM SOLVED <<<
> >