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.
64 questions
3 votes
3 answers
213 views
unison permissions between machines
I have two linux computers: personal (arch, full root access) workplace (ubuntu, no root access). I am using "Unison" to sync some selected directories from one computer to an ext4 USB ...
0 votes
1 answer
167 views
unison start the sync from zero when I change the parent folder
I use unison to sync two folders that are in separate computers (via unison command with ssh). If for convenience I happen to change the name of the parent folder, unison start to sync the folders as ...
4 votes
4 answers
1k views
Unison via cron, how to deal with one job still running as the next one starts
I have a setup in which I sync files between two Linux servers using Unison over an SSH connection. This is implemented by running the following command via cron: unison -auto -batch PROFILE Changes ...
2 votes
0 answers
9k views
A fast way to sync local files with Proton Drive? (here exploring rclone)
I want to create a sync system between newly available Proton Drive and my local filesystem. However, since it's very new, it's only barely supported by rclone (I'm lucky to be on openSUSE Tumbleweed ...
0 votes
1 answer
363 views
Unison, systemd and logrotate
I have unison running under systemd to keep my local and remote NASs in sync. The systemd config is thus: [Unit] Description=NAS Unision service After=network.target StartLimitIntervalSec=0 [Service] ...
1 vote
0 answers
139 views
Merge two folders with conflict resolution strategy
When I merge two folders with rsync, if files of the same name exist in the "target" directory, those will be kept unconditionally. I can use unison which is a bit more advanced, but as far ...
0 votes
1 answer
813 views
Best way to compare/diff two big directories that are backups (by `rsync -aAX`) of a boot partition from another computer?
[ EDIT: Answered my own question. Used unison and some hacky post-processing ( copy-pasted the log output of unison, tweaked it in my text-editor with multi-selection editing, then did some shell ...
1 vote
1 answer
381 views
Using Unison to sync my desktop computer with a container in the cloud
I'd like to use Unison to sync a directory between my desktop computer and a container that lives in the cloud. I have this kind of working with Unison, but the problem I'm seeing is that every time I ...
2 votes
1 answer
722 views
Unison over SSH, connection with server lost although SSH works
I have just rebuilt my file server after it suffered disk corruption. When I tried to re-sync data using Unison, I got the error message Lost connection with the server I retried from the command ...
1 vote
0 answers
894 views
How do you follow a symbolic link under a root?
I am syncing two machines using Unison: root = /home/luserface root = ssh://192.168.1.168/ I have a subdirectory "Foo" under that home, and it's a symbolic link. I have follow = Path Foo ...
7 votes
4 answers
3k views
Centralized $HOME for roaming devices - sync instead of NFS?
For over a decade now I have been working in a full Debian environment in my small office (currently 1 server, 7 users, 3 desktops, 4 laptops). Authentication is based on Kerberos, user profiles are ...
2 votes
0 answers
309 views
How to use unison-jz inside a bash script?
unison-jz works well on a bash command-line but not inside a script. It seems that inside the script, it falls back to the regular unison command. Can someone tell me how to use unison-jz inside a ...
0 votes
1 answer
362 views
Ubuntu Unison: filter everything except multiple files
I want to synchronize two computers that are similar and update just a few files. Therefore I would like to perform a Unison and ignore everything except a list of files in different paths. Something ...
1 vote
0 answers
847 views
How to sync specific files with unison?
I originally posted on SO but i realized this might be more suited here. I'm using unison on Linux (Manjaro) to keep some files synced between two local folders but I'm running into a problem. I have ...
1 vote
1 answer
351 views
Unison with Raspbian file server no longer works after upgrading my laptop to Ubuntu 20.04
I have a file server running Raspbian 9, and use Unison over SSH to sync my home dir between these two. This has worked well for the two years I was on Ubuntu 18.04, but after upgrading to Ubuntu 20....