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=2048 --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
On 1/14/2017 3:32 PM, TE Dukes wrote:> 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.I use rsyncd from cygwin on my windows targets.> 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=2048 --recursive --ignore-times . /it appears you've got backuppc configured to use rsync-over-ssh, not SMB. -- john r pierce, recycling bits in santa cruz
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. --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
> -----Original Message----- > From: CentOS [mailto:centos-bounces at centos.org] On Behalf Of Kenneth > Porter > Sent: Sunday, January 15, 2017 10:43 AM > To: centos at centos.org > Subject: Re: [CentOS] BackupPC > > 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 wasan> updated cygwin rsync link posted to the BackupPC list not long ago. It'spretty> simple to set up. > > --- > This email has been checked for viruses by Avast antivirus software. > https://www.avast.com/antivirus >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