From 20aaa103492c755c3e0ac741b07381c4b2de9e06 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Mon, 7 Feb 2022 10:58:16 +0100 Subject: [PATCH] add unison port no --- data/backups/unison.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/data/backups/unison.md b/data/backups/unison.md index c7f1f6d..cf91b21 100644 --- a/data/backups/unison.md +++ b/data/backups/unison.md @@ -1,6 +1,6 @@ --- title: "unison" -tags: [ "Documentation", "Backups" ] +tags: [ "documentation", "backups", "sync" ] --- Install unison on both machines, and on both make the `~/.unison` directory. @@ -25,12 +25,19 @@ ignore=Name *.flac ``` The last command means it will ignore any file with a name ending in `.flac`. +Add a port with this line: + +``` +sshargs=-p 4444 +``` + ## Automatic Runs The first command means this will run but also confirm which files will be deleted, and which will be transferred, us `batch = true` instead. Set unison to run with crontab or a systemd unit file to have directories synchronize automatically. + ## Problem Solving Unison is extremely sensitive to version changes.