I've been looking into a good solution for the following situation...To simplify:
I have a laptop, a dock for the laptop and an external hard drive connected to the dock. When the laptop is in use it is removed from the dock, when the laptop is not in use it is docked. Here is what I am looking to do...
When I dock the laptop, and the external hard drive mounts I would like to automatically incrementally backup the contents of the laptop hard drive to the external hard drive. After the backup is completed (successfully or unsuccessfully) I would like it to shut down or possibly suspend the laptop.
I have a few years experience using linux, and now use it as my primary operating system, I am familiar with using cron/crontab, but haven't had much experience with rsync.
(GUI solutions are out of the question.)
Thank you in advance for any help/suggestions.
Bookmarks