BackupPC-users

Re: [BackupPC-users] Restrict backup to not run when laptop is on specific subnet?

2010-08-12 21:12:14
Subject: Re: [BackupPC-users] Restrict backup to not run when laptop is on specific subnet?
From: "Jeffrey J. Kosowsky" <backuppc AT kosowsky DOT org>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Thu, 12 Aug 2010 21:09:45 -0400
I would use DumpPreUserCmd to ping the machine and parse its return IP
address to give an exit status that returns true if and only if it is
on the desired subnet. If this only applies to selected hostnames then add
in logic to make sure that the test only applies to those hostnames.


Marcelino Mata wrote at about 19:30:55 -0400 on Thursday, August 12, 2010:
 > -----BEGIN PGP SIGNED MESSAGE-----
 > Hash: SHA256
 > 
 > 
 > 
 > I have the case where a laptop user with 150GB of data could be on one
 > of two locations which are connected by router.  Our network guys do not
 > want a full backup to run for the user when he's on the opposite end of
 > router to the backuppc computer.  The ping latency between the locations
 > is very short (typically under .5ms) so I can't use ping (PingMaxMsec)
 > as method to avoid this.
 > 
 > Is there another way I could configure backuppc so it only backs up the
 > computer when it's on specific subnet?
 > 
 > The subnet are as follows:
 > 
 > Backuppc computer : 10.2.X.X
 > Opposite location : 10.3.x.x
 > 
 > The simplest solution is to restrict backup computers to the backuppc
 > subnet.
 > 
 > Maybe create firewall rule on backuppc to block traffic from 10.3.x.x?
 > 
 > Running backuppc 3.1.0-9ubuntu1 under Ubuntu 10.04.
 > 
 > Marcelino
 > 
 > 
 > 
 > Marcelino Mata
 > Engineering Technology Specialist
 > Multimatic Technical Centre
 > 85 Valleywood Drive
 > Markham, ON
 > Canada
 > L3R 5E5
 > Tel.   +1 905 470 0025
 > 
 >  
 >  
 >  
 > CONFIDENTIALITY NOTE: This email (and attachments, if any) contain(s) 
 > information that is PRIVATE and CONFIDENTIAL, and may be LEGALLY PRIVILEGED 
 > or otherwise exempt from disclosure under applicable law. All copyright is 
 > reserved, and no right or license is granted to duplicate or publish the 
 > content of this email or to forward it to third parties, without, in each 
 > case, specific permission. If you have received this email in error, you 
 > must not copy, distribute, retain or use this email or the information 
 > contained in it for any purpose (other than to notify the sender). If you 
 > believe that you are not the intended recipient of this email, please 
 > contact the sender immediately and delete this email from your computer 
 > system (including any archive or other storage facilities). Thank you.
 > 
 > -----BEGIN PGP SIGNATURE-----
 > Version: PGP Universal 3.0.0 (Build 2881)
 > Charset: utf-8
 > 
 > wsBVAwUBTGSEMOIJniX0/UZ0AQjjXQf8CblqF2i8/Hzwf4JFY8r6mvgcekjN1jTt
 > 4IdJYcv05V/Sxi7I253wyukEz6VAjblHBA4SOTrKkOf9WZ8C68UiyboTFkqkONTh
 > DLGT3/l1SGwO52mMDKtgB8MUTCIPas/H43NaRw6klDRTzBKzyzUG+jLqScXb1JbJ
 > A6sZbZ5EFUSQtANDNuzRXkO0ag2L24ezrYwMkQZbluJAokMKzJJU5lD+6rC71G3R
 > zQd6WQN5QnGzAN9Bt8TK828mGDge3TgnPvjlgPQkoxcZ6RXLqAG0KFNN7In3wPQn
 > dWA6dxQfdeB3rf0wM+sPXagxylXP5+VzJiXS35NvMwpFIq1WEmGTBA==
 > =GfSG
 > -----END PGP SIGNATURE-----
 > 
 > ------------------------------------------------------------------------------
 > This SF.net email is sponsored by 
 > 
 > Make an app they can't live without
 > Enter the BlackBerry Developer Challenge
 > http://p.sf.net/sfu/RIM-dev2dev 
 > _______________________________________________
 > BackupPC-users mailing list
 > BackupPC-users AT lists.sourceforge DOT net
 > List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
 > Wiki:    http://backuppc.wiki.sourceforge.net
 > Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/