Solved

How can I sync a shared folder across 4 NAS?

Posted on 2014-11-13
7
102 Views
Last Modified: 2014-11-19
Hi everyone!

I have a LInux and a Windows server and I'm looking for a solution that can allow me to keep a folder (on 4 different nas in different locations connected by vpn) synced.

This means that if I'm in location 4 and add a file I expect location 1,2,3 to get that file in minutes
If I'm in location 2 and delete a folder I expect location 1,3,4 to delete that folder too

The more "updated" should win...

The share is a normal samba share on different kind and brands of NAS.

Thanks for the help!
0
Comment
Question by:ltpitt
  • 4
  • 3
7 Comments
 
LVL 11

Expert Comment

by:Joseph O'Loughlin
ID: 40439776
One option.  Install Always sync and Go on a Windows system that has access to all four nas boxes, choosing to install the synchronization service.
Configure a job.  You can add additional folders to synchronize.  In the advanced job properties define delete behavior.  
Verify it's working, then install a license, and schedule the job.
0
 
LVL 1

Author Comment

by:ltpitt
ID: 40439868
I forgot an important bit: free software :)
0
 
LVL 11

Expert Comment

by:Joseph O'Loughlin
ID: 40440037
rsync on linux
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 1

Author Comment

by:ltpitt
ID: 40440100
rsync will sync every folder to the last updated?
0
 
LVL 11

Expert Comment

by:Joseph O'Loughlin
ID: 40440168
RSync just uses the filesystem's attributes, not maintaining metadata separately, so for each pair of folders you run rsync the --delete option only works on one, so deletions don't propagate correctly.  
Always sync uses it's own metadata repository in a separate folder, so handles the situation better.
0
 
LVL 1

Accepted Solution

by:
ltpitt earned 0 total points
ID: 40443941
I've found it!

Bittorrent sync does greatly and very easily the job :)
0
 
LVL 1

Author Closing Comment

by:ltpitt
ID: 40451897
It worked perfectly and it was a breeze to setup
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Life is full of imperfections – we all know it. Sometimes bad things happen to people for no particular reason. As they say: “it happens”. All we can do is to find a way to make some unavoidable situations… avoidable. Every kind of hardware has i…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question