BackupPC ping too slow

0
2328

Whilst adding a new remote server to our BackupPC configuration, it threw the following error


Contents of file /Volumes/2TB/backuppc/pc/www.server.co.uk/LOG.102011, modified 2011-10-25 13:10:23

2011-10-25 12:00:00 ping too slow: 22.21msec
2011-10-25 13:00:01 ping too slow: 49.63msec
2011-10-25 13:10:23 ping too slow: 47.79msec

and refusing to back up the server! After browsing the documentation I discovered the following configuration option


$Conf{PingMaxMsec} = 20;

Maximum round-trip ping time in milliseconds. This threshold is set to avoid backing up PCs that are remotely connected through WAN or dialup connections. The output from ping -s (assuming it is supported on your system) is used to check the round-trip packet time. On your local LAN round-trip times should be much less than 20msec. On most WAN or dialup connections the round-trip time will be typically more than 20msec. Tune if necessary.

After altering the host’s config file and adding that parameter with a value of 200 the server then started to back up!

SHARE
Previous articleLinux Command Line AVI Repair
Next articleElgg 1.8 Tidypics Group Fix
Hi, I'm Rus and after 10 years of Linux administration and software development, in September 2014 I quit my day job, sold all my stuff and moved to Thailand to live the good life. My new website, http://www.ruspow.com shows how I'm making money online as well as what life can be like when you're not sat behind a desk and are free to make your own decisions!