BackupPC

Home » CentOS » BackupPC
CentOS 5 Comments

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

LEAVE A COMMENT