Niki Kovacs wrote:
Hi,
I'd like to test the status of a remote machine in a script. Something like:
IF remote machine is switched on / connected to the network...
... THEN launch backup.
How would you go about that?
I always recommend backuppc (either from http://backuppc.sourceforge.net/ or the package in epel) because it does all this for you and gets it right.