Is it possible to sync two linux directories in real time

synchronization

I would like to sync a directory of an internal hard drive to an external hard drive.

When I write or modify a file on my internal hard drive, automatically the same file would be copied to the external hard drive… and bye bye backup 😉

This would be something like a RAID with an external hard drive.

Is this possible?

Best Answer

In real time as far as i know there's only DRBD. But I don't think it applies at your situation, since when you delete a file you'll delete it also on the external disk. More easily you can use rsync and a cron script that run every few minutes.

Related Topic