On Tue, Jun 14, 2016 at 10:20 AM, Stefan Peter <s_peter AT swissonline DOT ch>
wrote:
>>
> This is the log from a local backup.
>
> Please note that the rsync backup method con not access other hosts. For
> this, you need to use rsyncd (and prepare an rsyncd server on the other
> host), or tunnel rsync over ssh by defining
> $Conf{RsyncClientCmd} = '$sshPath -q -x -l root $host $rsyncPath $argList+';
> and make sure the user backuppc on the backup server can ssh to
> root@client without password. Please see the docs (link is in the
> footer) for further instruction.
>
> Your config has
> $Conf{RsyncClientCmd} = '/usr/bin/sudo $rsyncPath $argList+';
> which will only backup locally.
>
> I have no idea why you see 3 backups.
With sudo instead of ssh in the global RsyncClientCmd you'd get local
backups regardless of the host(s) defined. Note that these can be
overridden in the per-host configs, though. Normally you would
change only the local host's per-host config to use sudo, leaving the
others with the stock ssh command to work remotely. Also, note that
the RsyncClientRestoreCmd command posted isn't symmetrical with the
RsyncClientCmd - it would still use ssh.
--
Les Mikesell
lesmikesell AT gmail DOT com
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
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/
|