[BackupPC-users] Check-if-alive-pings alternatives
Hi all, I have a server that sits behind a router (server is NAT:ed) and allows ssh connections in. That is to say, the *only* thing it allows in is ssh connections. Now, BackupPC uses pings to check if the machine to be backed up is alive. Since the router in question doesnt respond to any pings, it's in a pseudo-stealth mode, then BackupPC thinks the machine is down and doesn't initiate any backups even though the machine is actually alive and responding otherwise. Short of making the router visible on the network for pings, is there any other way to circumvent this problem? Maybe connecting to the ssh-port or something? Ideas and pointers are greatly appreciated! -- BW, Sorin --- # Sorin Srbu[Sysadmin, Systems Engineer] # Dept of Medicinal Chemistry, Phone: +46 (0)18-4714482 3 signals GSM # Div of Org Pharm Chem,Mobile: +46 (0)701-718023 # Box 574, Uppsala University, Fax: +46 (0)18-4714482 # SE-751 23 Uppsala, Sweden Visit: BMC, Husargatan 3, D5:512b # Web: http://www.orgfarm.uu.se --- # () ASCII ribbon campaign - Against html E-mail # /\ # # MotD follows: # CentOS: Reasonably priced! smime.p7s Description: S/MIME cryptographic signature -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Check-if-alive-pings alternatives
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tino Schwarze wrote: Hi Sorin, On Mon, Feb 08, 2010 at 11:29:11AM +0100, Sorin Srbu wrote: I have a server that sits behind a router (server is NAT:ed) and allows ssh connections in. That is to say, the *only* thing it allows in is ssh connections. Now, BackupPC uses pings to check if the machine to be backed up is alive. Since the router in question doesn’t respond to any pings, it's in a pseudo-stealth mode, then BackupPC thinks the machine is down and doesn't initiate any backups even though the machine is actually alive and responding otherwise. Short of making the router visible on the network for pings, is there any other way to circumvent this problem? Maybe connecting to the ssh-port or something? Ideas and pointers are greatly appreciated! What's your argument for not making it visible? It will show up anyway, one way or another. You have a number of options: 1) Change your firewall to allow your backuppc host to ping the router 2) Change your pingcmd to either pretend the ping was successful, or run some other type of ping command (eg, nmap to test the ssh port or similar). Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktv9ysACgkQGyoxogrTyiWiXwCgqhdMP8FJDSJ1yKO2ohS3c7Qd 7fgAnjsypMev8/HxvbaffMkkw+rMLAU/ =xmFt -END PGP SIGNATURE- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Check-if-alive-pings alternatives
-Original Message- From: Tino Schwarze [mailto:backuppc.li...@tisc.de] Sent: Monday, February 08, 2010 12:32 PM To: backuppc-users@lists.sourceforge.net Subject: Re: [BackupPC-users] Check-if-alive-pings alternatives Short of making the router visible on the network for pings, is there any other way to circumvent this problem? Maybe connecting to the ssh-port or something? Ideas and pointers are greatly appreciated! What's your argument for not making it visible? It will show up anyway, one way or another. Better security. I know, I know, lousy excuse for a rather lame way to increase security, but that was how this server-group was set up a few years ago. I was thinking in the same tracks as you anyway at the time this was setup, but gave in to the techies setting it up. This is a server-group controlling two NMR's and I guess the idea was to stealth the machines entirely for some reason. I think I'm going to remove the hidden-ping thing on the router. Thanks for your feedback. -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] Check-if-alive-pings alternatives [solved]
-Original Message- From: Adam Goryachev [mailto:mailingli...@websitemanagers.com.au] Sent: Monday, February 08, 2010 12:36 PM To: General list for user discussion, questions and support Subject: Re: [BackupPC-users] Check-if-alive-pings alternatives You have a number of options: 1) Change your firewall to allow your backuppc host to ping the router 2) Change your pingcmd to either pretend the ping was successful, or run some other type of ping command (eg, nmap to test the ssh port or similar). I went with option #1. It was the easiest and quickest thing to do. Thanks all who responded. -- /Sorin smime.p7s Description: S/MIME cryptographic signature -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_compressPool - is it too late?
On 07/02/2010 22:25, Adam Goryachev wrote: Randy Orrison wrote: BackupPC_compressPool, it should say where to find it.) Sorrry, I deleted your other message, but the good news is that you won't store compressed + un-compressed copies of the same files. backuppc will not add a file to the cpool if it already exists in the pool. Thus, thee only loss you experience is that not all files are compressed. Thanks Adam, that's good to know. My original question was whether it was possible to run BackupPC_compressPool now that some compressed backups have run, or if the warning in the documentation is correct. Thanks, Randy -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
Re: [BackupPC-users] BackupPC_compressPool - is it too late?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy Orrison wrote: Thanks Adam, that's good to know. My original question was whether it was possible to run BackupPC_compressPool now that some compressed backups have run, or if the warning in the documentation is correct. AFAIK, the answer would be yes. I suspect the challenge is is the hash collision where you have a compressed file that hash collides with an un-compressed file, and thus you need to deal with that somehow Clearly I don't know all the details, or if that is the real reason, just my suspicion... I have a backuppc machine where I enabled compression but didn't convert the pool... It does work fine that way... Regards, Adam -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAktwh5oACgkQGyoxogrTyiVPTACgk2Xej8BU9ca1qKDK83xIP0Zv /J8AoLBHEa+2VLbPw8hhUCY6MRND7aM3 =B+eQ -END PGP SIGNATURE- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Odd errors backing up Windows2003 machine
I'm pretty new to BackupPC (and even newer to the list) but I've been put in charge of making sure our backups are going off correctly. Everything seems to be working fine except for one machine, one of our domain controllers, that will not complete a backup (incr or full). I would just assume this is due to network lag (the server is hosted at a co-lo in another town) except that, after the initial timeout, it looks like BackupPC is trying to access folders that do not, nor have ever, existed on the server: Call timed out: server did not respond after 2 milliseconds listing \I\* Call timed out: server did not respond after 2 milliseconds opening remote file \I (\) Call timed out: server did not respond after 2 milliseconds opening remote file \M (\) Call timed out: server did not respond after 2 milliseconds opening remote file \m (\) Call timed out: server did not respond after 2 milliseconds opening remote file \N (\) Call timed out: server did not respond after 2 milliseconds opening remote file \n (\) Call timed out: server did not respond after 2 milliseconds opening remote file \p (\) The server running BackupPC is a Mandriva 2007.0 box with Samba 3.0.23b and BackupPC 3.0.0. Has anyone else seen this before? We have a dozen machines being backed up, both Linux and Windows, but this is the only one that's failing. Thanks, Bill Anderson Puryear Information Technology, LLC 225-706-8414 x116 http://www.puryear-it.com -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Exclude not working as expected
Hi Guys I have a config file that looks likes this: $Conf{BackupFilesExclude} = { '/' = [ 'dev', 'proc', 'sys', 'tmp', 'var/lib/mysql', 'etc/fstab', 'var/log/mysql/mysql-bin.*', 'var/log/apache2/*', 'shares', 'var/lib/cvs', 'var/lib/cvs-old', 'var/cache/apt/archives/*', 'var/log/samba/*', 'var/log/installer/*', 'var/log/apt/*', 'var/log/samba/*', 'HDD2' ] }; $Conf{BackupFilesOnly} = {}; $Conf{ClientNameAlias} = '192.168.1.3'; $Conf{RsyncShareName} = [ '/' ]; I've got an exclude in there for proc, the problem I'm getting is that the proc is also getting excluded from /opt/webmin/proc I only want the proc directly on the root / share to be excluded. How can I make sure the no other proc folders are excluded? Thanks Mark -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
[BackupPC-users] Auto Archiving of hosts
All, I am looking for a way to automatically archive my oldest full backups to a different mount point. The goal is to have fairly recent backups stored off onto a SAN device, then remove the oldest backup. I have looked at the archive host option, but this would require a lot of manual intervention as we would need to select the backups some time during the week and then letting the fulls age away. Is there a correct way to do this, or should I start looking into hacking the code to make sure this happens correctly. Thanks, Michael -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net List:https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki:http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/