Questions tagged [unison]
Unison is a bidirectional, conflict detecting file-synchronization tool for OSX, 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.
13
questions with no upvoted or accepted answers
3
votes
0
answers
942
views
Unison sync of sshfs mount - what can go wrong if the connection breaks?
I am syncing a local directory (say "/local") with a cloud storage server using Unison. The cloud storage is mounted to, say, "/mnt" via sshfs (with no-cache option), and I sync the two directories /...
2
votes
0
answers
852
views
Delete my unison folder cant find how to sync again all
I run unison sync and it works perfect, but accidentally dropped the folder and now I cannot recover it. I tried to run unison again, but it returned
Nothing to do: replicas have not changed since ...
2
votes
1
answer
629
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 ...
1
vote
0
answers
340
views
Samba AD sysvol sync unison permissions issue
I'm having an issue with syncing the unix permissions and ownership on the sysvol between two Ubuntu Samba AD DCs using unison. I have copied the idmap.ldb file from DC1 to DC2 and the Windows ...
1
vote
0
answers
757
views
Unison not syncing
I am using Unison to sync files between multiple servers. The exact command that I am running is:
/bin/unison-text-2.40 /etc/asterisk/dynamic_configs ssh://filesync/opt/dynamic_configs -batch -...
1
vote
0
answers
414
views
Is there a way to force unison to either split jobs or use less RAM?
I want to use Unison to sync 2 file systems of about 2.5TB, but every time I try to sync, the host on which I run the job kills it (OoM kill) because it uses a ridiculous amount of memory. (The host ...
1
vote
0
answers
315
views
Unison: should I use a remote shell (ssh) or VPN tunnel?
We have 2 office locations. Each LAN is connected via a site-to-site OpenVPN tunnel.
Office1 has an Ubuntu Server; samba file shares; OpenSSH server; Unison File Synchronizer.
Office2 has a Win ...
1
vote
0
answers
433
views
Unison: skip any delete of files or folders
While synchronising directories using Unison I want to skip any delete of files or folders (both ways).
I wonder how I can do it?
0
votes
1
answer
619
views
Server cluster setup using UNISON to sync files bi-directionally line/star/fully connected?
I appreciate that I'm asking multiple questions on the same topic, but they are all related to the same purpose.
Working a horizontal scaling cluster setup, and trying to setup unison to sync "var/...
0
votes
2
answers
2k
views
unison set owner of files
I'm copying files from my workstation to a dev sandbox, locally I don't have the www-data user, which is needed by my web server.
Is there a way to set up an user_id for files synced by unison?
0
votes
1
answer
212
views
Restrict unison to work only on certain folder (on the remote server)
Considering the scenario where Server1 wants to keep folder /x synchronized between itself and Server2. So apparently one have to add a new (SSH) user to Server2 allowing for this.
So we result in a ...
0
votes
1
answer
337
views
Unison sync getting copy of replaced files
I'm facing very serious issue. I have configured unison for synchronising file among servers. It takes copy of a file from server-1 and replace or copy file to other servers. I have added a folder ...
-1
votes
1
answer
100
views
how to sync /home directory in Linux (centos)
How can I keep in sync my /home directory on two different systems?
I found something like unison, but it is no longer in the repositories of centos9.
Are there other possible solutions?
The ...