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/*?