Web Hosting Talk







View Full Version : Almost real-time synchronisation ?


excessnet
01-11-2010, 08:00 PM
Hello,

I wish to use a sync, like rsync, but faster than rsync. rsync take too much time to re-read all the file in the folder on both side. (sync is fast and ok btw).

Any idea ? I will have only 2 folder to sync.

Krishopper
01-11-2010, 09:42 PM
Are you looking for one-time synchronization, or continuous replication between folders?

What operating system? Linux, Windows, etc.

excessnet
01-11-2010, 10:16 PM
Oops, lacking informations right there.

Linux, almost-continuous.

Krishopper
01-11-2010, 10:21 PM
If you're looking for continuous on Linux, consider DRBD.

It will replicate block devices, and then you can use a cluster-aware filesystem (such as RedHat GFS) so you can edit files from both sides. If you don't care about them both being mounted but just want to replicate for a backup, then yo udon't have to worry about the cluster-aware filesystem as long as they're not both mounted at the same time.

Other than that, rsync may be your best option. The more files, the longer it takes to scan through them (as I'm sure you have discovered)

excessnet
01-11-2010, 10:50 PM
With DRDB, it will sync the whole disk, not only the folder I need ?

That may be my only solution then... I'll do some testing and see.

Thanks !

Dr:linux
01-15-2010, 04:36 AM
The problem of taking time is mostly heard when doing Rsync.Rysync saves a lot of bandwidth and all the files are not transferred.Its very hard to get along with it smoothly.One of the best way is to use FTP for file transfer or using SyncBackPro. The speed is 512kbps for uploading which will be a little mess.. :( Concerning your issue there is only 2 folders and I hope this way would be helpful. Way cool....