All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Sync a folder across VPS
I'm looking for a lightweight application to sync a folder (with files and sub-folders inside it) across multiple virtual private servers (which is Ubuntu) and my PC (Windows).
I'm currently using BTSync. Everything looks good except one problem. After several days, some files are off sync and wouldn't be updated on some nodes. So I have to restart all my VPS after a week to refresh that and make files up-to-date on every node which is quite annoying. The folder I'm syncing has around 2,000 files and they're all small (text files and source code) but update quite frequently.
Preferred:
Lightweight as possible, not using high CPU/RAM.
Don't have random off sync problem like mentioned.
Also works on Windows
Thank!
Comments
If it's only one-way sync then rsync
Instead of restarting all your VPS machines, you probably could do as well with a cron-job that will restart the correct services. If you set this up properly scheduled you will hardly notice any down time and your sync process should just continue. I guess...
cron
rsync -avz -e "ssh" user@remotehost:/dir /home/user/dir
http://www.cis.upenn.edu/~bcpierce/unison/
https://github.com/sickill/bitpocket
http://www.csync.org/
http://www.netpower.fr/osync
I hope you don't use BTSync for confidential stuff. Anyways, Syncthing works great for me. There's also Unison but it might get somewhat fiddly.
GlusterFS?
If the files are only modified in one location and updated to the others, use rsync. If modifications occur in multiple places, then use unison.
Megasync comes with 50gb free storage and file versioning. Good for source code edits etc.
https://syncthing.net/ works great
@oijpghjighoji No, it kills OpenVZ Nodes.
But on KVM/Dedi working wonderfull.
And no one has posted in their forum about it? SPAM THEM
@Infinity580 @TinyTunnel_Tom
oh yes I use it on dedi. never tried on Openvz. I've read complaints about how it uses a lot of CPU and the developpers said it was because of all the crypto. I'm pretty sure they could make it use less ressources but it doesn't seem to be in their goals.