I have recently installed BackupPC and am trying to get it configured.
Previously I was just using cron to schedule rsync over ssh.
Presently, I can backup my remote system with BackupPC just fine if I use
tar as the XferMethod. I would prefer to use rsync however.
I have on the server that is running backuppc:
rsync version 2.6.3-1
File::RsyncP 0.68
On the remote server I want to backup:
rsync version 2.6.3-1
When I run /usr/local/BackupPC/bin/BackupPC_dump -f -v servername The backup
starts, I can see that it connects and rsync is running on the remote
machine. However that is as far as it goes. This is the output I get.
full backup started for directory /home/cswarts
started full dump, share=/home/cswarts
Running: /usr/bin/ssh -q -x -l rback -p 222 vps.deadeyedata.com sudo\
/usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D
--links --hard-links --times --block-size=2048 --relative --ignore-times
--recursive --ignore-times . /home/cswarts/
Xfer PIDs are now 15809
xferPids 15809
Rsync command pid is 15809
Fetching remote protocol
Got remote protocol 28
Negotiated protocol version 28
Checksum seed is 1768191091
Got checksumSeed 0x69647473
Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
as you can see I have /home/cswarts set as the RsyncShareName
This is a small directory that I wanted to start with as a test.
rsyncClientPath is sudo /usr/bin/rsync
rsyncClientCmd is $sshPath -q -x -l rback -p 222 $host $rsyncPath $argList+
BackupPC is running as user rback.
ssh on the remote machine is listening on port 222.
As I said earlier, before setting up BackupPC I used rsync for backups under
the same user that BackupPC is currently running. So I know for certain the
key is setup correctly and rback can ssh into the remote machine
successfully. I also know that sudo is setup correctly and using that rback
has access to all of the files.
I am completely at a loss here, and I would appreciate any help that can be
offered.
--
Charles Swarts
www.deadeyedata.com
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/