Well, both ssh and sudo each work correctly, as it turns out. But I am starting to wonder about the actual rsync command and aruments. I don't know all these switches, and just took this from someone's on-line backuppc example, so I think that's what I need to research next.
At 08:01 AM 10/1/2007, Rob Owens wrote: >John Medway, Rim Semiconductors wrote: > > New install via RPM of version 2.1.2pl2 on Fedora 7. > > > > Trying to back up /root (just the root acct. homedir as a small test) on > > itself, succeeds. Trying to back up /root on another Linux host starts, > but > > never terminates or produces any data. > > > > > > Per one of the recommendations on how to run BackUPC securely, I have the > > following set for the RsyncClientCmd. > > > > > <http://mckenzie.rimsemi.com/BackupPC?action=view&type=docs#item_%24conf%7brsyncclientcmd%7d>$Conf{RsyncClientCmd} > > = '$sshPath -l backuppc $host nice -n 19 sudo $rsyncPath $argList+'; > > > > > > The ssh and the sudo succeed, because on the backup target, the following > > process is running: > > > > 4 S root 6133 6132 0 94 19 - 4384 - 14:41 ? 00:00:04 > > /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D > > --links --times --block-size=2048 --recursive --one-file-system > > --ignore-times . /root/ > > > >I had this happen before. Two things: Sudo could be running but >waiting for a password. SSH could be running, but waiting for the OK to >connect to a previously unknown host. In both cases, if I remember >correctly, everything appears to be working but nothing actually gets >transferred. Since the rsync process is running on the server, it seems >like SSH has succeeded. Check your sudoers file for proper >configuration (use the NOPASSWD option) > >-Rob > > > > > But it produces nothing in the data dir, and only this in the LOG file: > > > > [EMAIL PROTECTED] fs]# more LOG > > 2007-09-29 14:41:56 full backup started for directory /root > > > > > > Ideas? > > > > > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > BackupPC-users mailing list > > BackupPC-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/backuppc-users > > http://backuppc.sourceforge.net/ > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Microsoft >Defy all challenges. Microsoft(R) Visual Studio 2005. >http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >_______________________________________________ >BackupPC-users mailing list >BackupPC-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/backuppc-users >http://backuppc.sourceforge.net/ ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/