BackupPC
Hello,
Been working on this for a couple days and I am stuck!
Followed the CentOS WIKI on BackupPC to the letter. It may be outdated, not sure. I also looked at the tutorial on HowToForge.
I’m trying to get a windows client to backup via smb.
I created the user ‘BackupPC’ on the windows client with admin priviledges. I can map the drive/share from my CentOS Samba server using ‘BackupPC’
credentials.
Here’s the error:
full backup started for directory /
Running: /usr/bin/ssh -q -x -l root hp8200 /usr/bin/rsync –server –sender
–numeric-ids –perms –owner –group -D –links –hard-links –times
–block-size 48 –recursive –ignore-times . /
Xfer PIDs are now 27000
Read EOF: Connection reset by peer Tried again: got 0 bytes Done: 0 files, 0 bytes Got fatal error during xfer (Unable to read 4 bytes)
Backup aborted (Unable to read 4 bytes)
Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0)
/etc/BackupPC/hp8200.pl
$Conf{XferMethod} = ‘smb’;
$Conf{SmbShareUserName} = ‘BackupPC’;
$Conf{SmbSharePasswd} = ‘xxxxxxxx’;
$Conf{SmbShareName} = ‘C’;
Looking at the -l option it appears ‘root’ is trying to login. Windows doesn’t use a root account per se.
Do I need to change something in the config.pl?
TIA
5 thoughts on - BackupPC
I use rsyncd from cygwin on my windows targets.
it appears you’ve got BackupPC configured to use rsync-over-ssh, not SMB.
The BackupPC mailing list is pretty helpful:
https://lists.sourceforge.net/lists/listinfo/BackupPC-users
Like John R. Pierce, I use rsync to back up my Windows clients. There was an updated cygwin rsync link posted to the BackupPC list not long ago. It’s pretty simple to set up.
–
an pretty
HI,
I found the cygwin-rsync package and in the process of setting that up.
I’ll join that list and see if I can find it.
Thanks
Here’s the message of interest with links to zip and installer:
https://sourceforge.net/p/BackupPC/mailman/message/35555022/
–
Thanks for the link. I was using an older version.
Still doesn’t work.
Any way, I joined the BackupPC list and asked for some help.
Thanks