1
So I've setup a backup system for my notebook. Using Rsync, I am able to backup specific folders to my Ubuntu Home Server by executing a batch file.
My question is about the possibility of automating the sync process. The catch is, I want my laptop to begin the syncing process if and only if:
I connect to a specific Network through a Wireless Access Point. (I access my home network through WiFi when I'm on my notebook. I want to let the backup process commence strictly only upon connecting to this one home network.)
The Ubuntu Home Server is online. (Since the backup is automated it would be great if the backup would only be allowed to commence if and only if the Ubuntu Home Server has been uniquely identified - perhaps through its MAC?)
Not really that urgent, but I would be happy to hear from the experts here.
Initially looking at Net::Ping was a bit intimidating, but thanks for the link. I'll definitely check it out. :) – techtechmo – 2009-10-09T00:13:37.013
Don't limit yourself to Perl. It's a great language, but it can sometimes appear cryptic and intimidating to newcomers depending on how it is presented. There are ping implementations everywhere, some excellent examples are showcased in this stackoverflow question: http://stackoverflow.com/questions/316866/ping-a-site-in-python
– John T – 2009-10-09T04:32:16.350