Unison is a file-synchronization tool for Unix and Windows. It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other.

learn more… | top users | synonyms

0
votes
1answer
37 views

unison as non-root user

I want to use unison to sync the /home directories between two EL6 boxes. Most writeups assume that unison is run as root, and can ssh between the two boxes as root. However, we have disabled root ...
0
votes
0answers
57 views

Unison and Resolving Conflicts with diff3

I installed Unison because I wanted a two-way synchronization to my DRBD directory, my logic is a little bit complicated so I am stressing on the problem itself and ignoring unneeded information, ...
0
votes
2answers
301 views

Why unison does not run in cronjob?

I want two way data sync between two CentOS based servers, so I installed Unison on both of my CentOS servers. I made a script file on root which runs unison and works fine, and syncs the files, when ...
0
votes
1answer
99 views

using unison options in shell script?

I'm new to unison, and am trying to use its options in a simple shell script, but they seem to be ignored when the script is executed, causing no changes to be synced between the two servers. My ...
3
votes
1answer
209 views

Linux bidirectional file sync over a WAN with immediate/incremental syncing

Does anyone know of a solution that lets you sync files bidirectionally over a WAN, but also syncs immediately/incrementally? Basically Unison is perfect for the file syncing, but it doesn't sync ...
1
vote
0answers
246 views

Bash Script that connects to VPN server via openvpn, runs a program, and then disconnects from openvpn server

The operating system I am using is Ubuntu Server 10. I've been trying to cobble together a way to connect to a vpn server via openvpn using command line, run a unison profile, and then disconnect from ...
0
votes
0answers
192 views

Getting a simple list of changed files from unison

I have a filesystem that is changed on two servers and also needs to be replicated to Amazon S3. Until recently, syncing the filesystem between the two servers using Unison, and then copying to S3 ...
0
votes
1answer
323 views

How do I ignore errors with Unison?

I'm trying to synchronize two directories using Unison, however if it encounters a file with an error, then it skips the entire directory! I don't believe it should skip the whole directory, and ...
2
votes
1answer
148 views

Is there a global config file for Unison synchronization tool?

I'd like all my unison profiles to have merge = Name * -> meld CURRENT1 CURRENT2 diff = /usr/bin/meld CURRENT1 CURRENT2 confirmmerge = true as options. I know I can add these options to each ...
0
votes
1answer
374 views

Is there anything more than `fastcheck` to speed up Unison?

I routinely use Unison to sync users' home directories between workstations where the user is expected to work. Unfortunately, as the firm grows, the Unison become slower and slower in determining ...
0
votes
2answers
260 views

Load Balancing + Folder sync

i've 2 servers. Server A : contains mysql apache nginx Server B : contains apache memcached rsync cron ( each 3 mins ) that pulls the /var/www/ content and update its own I'm using: nginx ...
1
vote
1answer
844 views

How do I setup unison to sync a folder one way

I have a 1tb NAS that has a 1tb usb external hard attached I have prepared the file system on the usb disk and mounted it I want to 100% sync my data from my nas to the usb disk - but I want it to ...
2
votes
1answer
240 views

Unison File-Synchronizer

I currently have Unison installed as a one way sync (mirroring) between a CentOS/Win7 box. When configured as a one way sync what happens if I change a filename on the source box? Will unison delete ...
2
votes
2answers
149 views

Boot and/or synchronise linux image from network

I'm looking for a solution (or at least for some guide/pathway/manual) to boot AND SYNCHRONISE Linux images from network. I already understand how network boot (PXE, DHCP, TFTP) works. In my ...
1
vote
1answer
517 views

Run unison in background on startup?

I'm running Debian 6 64bit. What I'm trying to do is run Unison on startup to constantly monitor files on the LAMP server I have running on my VM and sync that with the VM Shared folder. while true ...
2
votes
0answers
69 views

How can I tell unison to first delete files and then to copy changed ones?

Unison sorts changes in order to first add new files and then to delete removed files. When I use it to synchronize 2 USB drives, I can have problems with that if there's no room enough in the drives ...
0
votes
1answer
209 views

unison over ssh with white spaces in directories

I want to do something like this unison 192.168.1.1:/data/<example directory> /data/server_backup There is a space in the source directory. Is there some way I can do this with out using "\" ...
2
votes
3answers
378 views

Recommended networked file system for web servers?

If I have two web servers, what would the best way to keep their files in sync? Unfortunately the sites themselves cannot be altered significantly. Most of them are Wordpress based, but there are ...
2
votes
2answers
318 views

Watching for Unison errors

We've implemented a folder sync across two servers sitting in two different data centres using Unison. It's crucial for us that this folder sync work as expected as our SLAs depend on the data being ...
2
votes
2answers
496 views

Remotely use root over ssh for unison

I'm a little confused on how to run unison to sync files with group and owner attributes on an ubuntu system, as you need to be root. But I need to do this remotely and automated. I know I can set up ...
2
votes
4answers
499 views

Solution for two-way file-system transparent solution

I need to implement some sort of HA setup where 2 servers need to be able to always be in sync, no matter on which one you write on. The DB part can be covered by a master-master replication setup. ...
1
vote
1answer
948 views

how i can disable delete file option in unison sync tool?

i want to disable delete option of unison in other word i want unison tool always copy file [don't delete anything]. I read manual but i can not find what i need . for example we have two folder ...
0
votes
1answer
668 views

How i can use unison to sync. files of folder with the latest modification time?

I have to handle collisions (someone/something modified both files - How i can merge changes or just overwrite older version). In other word I want to sync folders with the latest modification time ...
1
vote
2answers
266 views

sync a directory between OSX and Ubuntu

I need a good way to sync a directory between my OSX 10.6 laptop and my Ubuntu Desktop. Dropbox would obviously be a great choice, however the directory I need to sync is owned by root on both ...
1
vote
2answers
421 views

unison / rsync getting copies of changed files

So the place where I'm working at has a nifty little Red Hat Enterprise server and a tape backup system that they want me to get working backing up the large amounts of video content and resources ...
5
votes
3answers
2k views

lsync, unison or some other inotify auto-syncing tool..?

I have an app farm which generates thumbnails and makes them available to a web server farm using nfs. However the performance is so poor so I am going to make a local copy of the files on each web ...
2
votes
1answer
1k views

Is there a way to replicate a very large file shares in real-time?

I have an hourly cron job that copies about 40GB of data from a source folder into a new folder with the hour appended on the end. When it's done, the job prunes anything older than 24 hours. This ...
1
vote
0answers
1k views

Unison synchronization problem. Roots are not identical after synchronization

When I synchronize two folders using Unison, only one of the roots seems to be affected. Below are all the information I would think is necessary to figure out why it is working like it is. I'm using ...
8
votes
4answers
2k views

Synchronizing very large folder structures

We have a folder structure on our intranet which contains around 800,000 files divvied up into around 4,000 folders. We need to synchronize this to a small cluster of machines in our DMZs. The depth ...