Re: [BackupPC-users] rsyncd doesn't complete

2006-12-13 Thread Chris Purves
Craig Barratt wrote:
 Chris writes:
 
 I am running backuppc 2.1.1 on debian.  I have a rsync server running on 
 a Windows XP machine (cwRsync).  The two machines are connected via a 
 VPN (L2TP over IPSEC).

 I can use rsync directly with no problems.  The transfer takes about 
 four minutes.  But when backuppc runs, the transfer freezes up after 
 what looks like the last file is transfered.  After two hours of 
 inactivity have passed, backuppc gives up and closes the connection as 
 well as not leaving even a partial backup.

 A significant difference I noticed between the two cases is that the 
 rsyncd log when calling rsync directly says rsync on test, but when 
 using backuppc says rsync on .  Test is the correct name of the rsyncd 
 share.  The only change I made to config.pl concerning rsync is to add 
 --compress as an rsync option.  Any help solving this problem is 
 appreciated.  Log/config file outputs are below.
 
 File::RsyncP doesn't support the --compress option, so you should
 remove it.  Try again and if it still fails please email the XferLOG
 file.
 

That fixed it.  I hadn't realised that BackupPC uses File::RsyncP and 
not the rsync client.

Thanks, Craig.

-- 
Chris


-
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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


[BackupPC-users] rsyncd doesn't complete

2006-12-12 Thread Chris Purves
Hello,

I am running backuppc 2.1.1 on debian.  I have a rsync server running on 
a Windows XP machine (cwRsync).  The two machines are connected via a 
VPN (L2TP over IPSEC).

I can use rsync directly with no problems.  The transfer takes about 
four minutes.  But when backuppc runs, the transfer freezes up after 
what looks like the last file is transfered.  After two hours of 
inactivity have passed, backuppc gives up and closes the connection as 
well as not leaving even a partial backup.

A significant difference I noticed between the two cases is that the 
rsyncd log when calling rsync directly says rsync on test, but when 
using backuppc says rsync on .  Test is the correct name of the rsyncd 
share.  The only change I made to config.pl concerning rsync is to add 
--compress as an rsync option.  Any help solving this problem is 
appreciated.  Log/config file outputs are below.

Here is the rsyncd log from a straight rsync backup running the command 
'rsync --numeric-ids --perms --owner --group --devices --links --times 
--block-size=2048 --recursive --compress rsync://aims-03/test ~/temp/'

2006/12/12 16:08:02 [1276] 192.168.114.1 is not a known address for 
AURORA: spoofed address?
2006/12/12 16:08:02 [1276] connect from UNKNOWN (192.168.114.1)
2006/12/12 16:08:09 [1276] rsync on test from unknown (192.168.114.1)
2006/12/12 16:08:09 [1276] building file list
2006/12/12 16:08:10 [1276] send unknown [192.168.114.1] test () 
downloads/Production Protocol Nov-15-06.mpp 140288
...remove 1543 lines...
2006/12/12 16:11:51 [1276] send unknown [192.168.114.1] test () 
twiki/tools/upgrade_emails.pl 1768
2006/12/12 16:11:52 [1276] sent 14518417 bytes  received 34386 bytes 
total size 23073568



Here is the rsyncd log when backuppc attempts to perform a backup:

2006/12/12 13:59:59 [944] 192.168.114.1 is not a known address for 
AURORA: spoofed address?
2006/12/12 13:59:59 [944] connect from UNKNOWN (192.168.114.1)
2006/12/12 14:00:06 [944] rsync on . from unknown (192.168.114.1)
2006/12/12 14:00:06 [944] building file list
2006/12/12 14:00:07 [944] send unknown [192.168.114.1] test () 
downloads/Production Protocol Nov-15-06.mpp 140288
...remove 1543 lines...
2006/12/12 14:03:35 [944] send unknown [192.168.114.1] test () 
twiki/upgrade-4.0.5.tgz 286522

then nothing until timeout


My host config file:

$Conf{FullPeriod} = 6.97;
$Conf{IncrPeriod} = 0.97;

$Conf{FullKeepCnt} = 3;
$Conf{FullKeepCntMin} = 1;
$Conf{FullAgeMax} = 90;

$Conf{IncrKeepCnt} = 7;
$Conf{IncrKeepCntMin} = 1;
$Conf{IncrAgeMax} = 30;

$Conf{PartialAgeMax} = 3;

$Conf{RestoreInfoKeepCnt} = 10;
$Conf{ArchiveInfoKeepCnt} = 10;


$Conf{BlackoutBadPingLimit} = 3;
$Conf{BlackoutGoodCnt}  = 7;

$Conf{BlackoutPeriods} = [
 {
 hourBegin =  7.0,
 hourEnd   =  1.5,
 weekDays  = [0, 1, 2, 3, 4, 5, 6],
 },
];

$Conf{XferMethod} = 'rsyncd';
$Conf{RsyncShareName} = 'test';
$Conf{RsyncdAuthRequired} = 0;

$Conf{EMailAdminUserName} = 'chris';


-- 
Chris


-
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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/


Re: [BackupPC-users] rsyncd doesn't complete

2006-12-12 Thread Craig Barratt
Chris writes:

 I am running backuppc 2.1.1 on debian.  I have a rsync server running on 
 a Windows XP machine (cwRsync).  The two machines are connected via a 
 VPN (L2TP over IPSEC).
 
 I can use rsync directly with no problems.  The transfer takes about 
 four minutes.  But when backuppc runs, the transfer freezes up after 
 what looks like the last file is transfered.  After two hours of 
 inactivity have passed, backuppc gives up and closes the connection as 
 well as not leaving even a partial backup.
 
 A significant difference I noticed between the two cases is that the 
 rsyncd log when calling rsync directly says rsync on test, but when 
 using backuppc says rsync on .  Test is the correct name of the rsyncd 
 share.  The only change I made to config.pl concerning rsync is to add 
 --compress as an rsync option.  Any help solving this problem is 
 appreciated.  Log/config file outputs are below.

File::RsyncP doesn't support the --compress option, so you should
remove it.  Try again and if it still fails please email the XferLOG
file.

Craig

-
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.phpp=sourceforgeCID=DEVDEV
___
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/