I have two HDs in my machine. All of Ubuntu is installed on the main drive. The 2nd HD is empty and is for backup purposes. I want to configure a one-way sync/backup of /home/* to the 2nd HD.

I know I can use rsync and create a cron job but I am wondering if there is any way to do the sync/copy when files are changed in /home/*?


I use lsyncd for this exact thing. It will watch a directory and sync changes over whenever files change, without needing cron.

This page over at LiquidWeb may help you get up and running. This page over at Rackspace may help too, but seems to require more manual labor.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.