I'm in the process of installing BackupPC 3.0.0 on a RHEL4 system, using
a couple of perl module rpm's from Dag's repository.

I'm having a problem with BackupPC using the individual client's
config.pl.  I have a mixture of linux, mac os x, and windows 2k/xp/2k3
clients.  With mostly linux and mac os x, my default XferMethod is
"rsync" and then in the individual windows client's config.pl, I specify
"rsyncd"   For some reason, when I attempt to backup the windows
clients, I get the following log entry, which shows BackupPC attempting
to use "rsync" instead of "rsyncd"

Contents of file
/backupdata/pc/powerschool.watersmeet.k12.mi.us/XferLOG.bad.z, modified
2007-04-14 10:34:48
full backup started for directory /
Running: /usr/bin/ssh -q -x -l backuppc powerschool.watersmeet.k12.mi.us
sudo /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 1255
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)

I've got my backuppc installation under /opt/backuppc, using a backuppc
user and backuppc group.  My data directory is under /backupdata.  My
individual pc configs are under /backupdata/pc/"servername"/config.pl

I have apache running with mod_perl and running using backuppc as user
and group.

I've attached the part of the /etc/BackupPC/config.pl regarding transfer
method below and then below that, a windows client config.pl

Any suggestions?

/etc/BackupPC/config.pl

$Conf{XferMethod} = 'rsync';
$Conf{XferLogLevel} = 1;
$Conf{ClientCharset} = '';
$Conf{SmbShareName} = [ 'C$'];
$Conf{SmbShareUserName} = '';
$Conf{SmbSharePasswd} = '';
$Conf{SmbClientPath} = '/usr/bin/smbclient';
$Conf{SmbClientFullCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tc$X_option -
$fileList';
$Conf{SmbClientIncrCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -TcN$X_option
$timeStampFile - $fileList';
$Conf{SmbClientRestoreCmd} = '$smbClientPath \\\\$host\\$shareName
$I_option -U $userName -E -N -d 1 -c tarmode\\ full -Tx -';
$Conf{TarShareName} = [ '/' ];
$Conf{TarClientCmd} = '$sshPath -q -x -n -l root $host env LC_ALL=C
$tarPath -c -v -f - -C $shareName+ --totals';
$Conf{TarFullArgs} = '$fileList+';
$Conf{TarIncrArgs} = '--newer=$incrDate+ $fileList+';
$Conf{TarClientRestoreCmd} = '$sshPath -q -x -l root $host env LC_ALL=C
$tarPath -x -p --numeric-owner --same-owner -v -f - -C $shareName+';
$Conf{TarClientPath} = '/bin/gtar';
$Conf{RsyncClientPath} = '/usr/bin/rsync';
$Conf{RsyncClientCmd} = '$sshPath -q -x -l backuppc $host sudo
$rsyncPath $argList+';
$Conf{RsyncClientRestoreCmd} = '$sshPath -q -x -l root $host $rsyncPath
$argList+';
$Conf{RsyncShareName} = [ '/', '/boot' ];
$Conf{RsyncdClientPort} = 873;
$Conf{RsyncdUserName} = '';
$Conf{RsyncdPasswd} = '';
$Conf{RsyncdAuthRequired} = 1;
$Conf{RsyncCsumCacheVerifyProb} = '0.01';
$Conf{RsyncArgs} = ['--numeric-ids', '--perms',
'--owner','--group','-D','--links', '--hard-links','--times',
'--block-size=2048', '--recursive' ];
$Conf{RsyncRestoreArgs} = ['--numeric-ids', '--perms', '--owner',
'--group', '-D', '--links', '--hard-links', '--times',
'--block-size=2048', '--relative', '--ignore-times', '--recursive' ];
$Conf{BackupPCdShareName} = '/';
$Conf{BackupPCdPath} = '';
$Conf{BackupPCdCmd} = '$bpcdPath $host $shareName $poolDir XXXX
$poolCompress $topDir/pc/$client/new';
$Conf{BackupPCdRestoreCmd} = '$bpcdPath TODO';
$Conf{ArchiveDest} = '/tmp';
$Conf{ArchiveComp} = 'gzip';
$Conf{ArchivePar} = 0;
$Conf{ArchiveSplit} = 0;
$Conf{ArchiveClientCmd} = '$Installdir/bin/BackupPC_archiveHost
$tarCreatePath $splitpath $parpath $host $backupnumber $compression
$compext $splitsize $archiveloc $parfile *';
$Conf{SshPath} = '/usr/bin/ssh';
$Conf{NmbLookupPath} = '/usr/bin/nmblookup';
$Conf{NmbLookupCmd} = '$nmbLookupPath -A $host';
$Conf{NmbLookupFindHostCmd} = '$nmbLookupPath $host';
$Conf{FixedIPNetBiosNameCheck} = 0;
$Conf{PingPath} = '/bin/ping';
$Conf{PingCmd} = '$pingPath -c 1 -w 3 $host';
$Conf{PingMaxMsec} = 20;
$Conf{CompressLevel} = 3;
$Conf{ClientTimeout} = 72000;
$Conf{MaxOldPerPCLogFiles} = 12;
$Conf{DumpPreUserCmd} = undef;
$Conf{DumpPostUserCmd} = undef;
$Conf{DumpPreShareCmd} = undef;
$Conf{DumpPostShareCmd} = undef;
$Conf{RestorePreUserCmd} = undef;
$Conf{RestorePostUserCmd} = undef;
$Conf{ArchivePreUserCmd} = undef;
$Conf{ArchivePostUserCmd} = undef;
$Conf{UserCmdCheckStatus} = 0;
$Conf{ClientNameAlias} = undef;


Windows rsyncd client config.pl under /backupdata/pc/"servername"/config.pl

do "/etc/BackupPC/config.pl";
$Conf{XferMethod}='rsyncd';
$Conf{RsyncdUser}='backuppc';
$Conf{RsyncdPasswd} = 'UDypBSUg6s';
$Conf{RsyncShareName} = ['cDrive'];
$Conf{ClientTimeout} = 43300;
$Conf{BackupFilesExclude}=['/RECYCLER'];
$Conf{EMailAdminUserName} = '[EMAIL PROTECTED]';
$Conf{EMailNotifyOldBackupDays} = 3.0;


-- 
Eric Feldhusen
Network Administrator    http://www.remc1.org
[EMAIL PROTECTED]
PO Box 270              (906) 482-4520  x239
809 Hecla St            (906) 482-5031 fax
Hancock, MI  49930      (906) 370 6202 mobile


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to