Wake Machine
Wake Machine enables Time Machine to backup to a target that is sleeping. Without Wake Machine, such backups will fail because the remote disk won’t mount.
Wake Machine runs as a mock daemon on the client. When Time Machine initiates a backup, Wake Machine sends a magic packet to the target machine to wake it up if it’s sleeping.
Caveats: If you’re using an older Mac, the target machine must be connected via ethernet (the machine you’re backing up can still be connected wirelessly via Airport). New Macs support wake on LAN using Airport.
Prerequisites
Wake Machine works out of the box with OS X Leopard and Snow Leopard.
However, you’ll need git in order to install Wake Machine.
Getting Started
Installation is as easy as cloning the Wake Machine repository. Navigate to the directory you’d like to install it in and run:
git clone http://github.com/freerobby/wakemachine.git
Once installed, you must set up Wake Machine. The recommended method for doing this is the following:
- Ensure that both the target computer is awake.
- Run a time machine backup.
- Run Wake Machine setup:
bash wakemachine.sh setup
Setup will automatically detect your time machine target, resolve its IP address and discover its MAC address. This information will be written to your user profile.
Running Wake Machine
To launch the Wake Machine daemon manually, run:
bash wakemachine.sh &
To set up Wake Machine to run automatically on your system:
- Go to System Preferences and open the “Accounts” panel.
- Click “Login Items” at the top.
- Click the + icon to add a new login item.
- Select the wakemachine_daemon executable, and check the box next to it marked “Hide”.
- Restart your computer
Voilà, your target machine will now be woken up whenever Time Machine runs.
Key Links
Acknowledgments
Wake Machine uses the Wakeonlan perl script written by Ico Doornekamp and José Pedro Oliveira.
Hi,
wakemachine would be exactly what I’m looking for. I would like to use my old mini to backup my new iMac. But if run the setup there is always the same error-message (and it doesn’t care whether I run a time-machine-backup before or not):
“No backup host was found in your system log. Don’t worry – this just means that it was
cleared recently. Please run Time Machine (let it fail) and then run this tool again.”
Any help would be apreciated. Would it be possible to get a blank config-file where I paste the IP and MAC-Adress manually?
Best regards,
Daniel