(no commit message)
authorgit-annex@3fb6b72405b924a12d8319f01d0fdb908a3c551e <git-annex@web>
Mon, 21 Oct 2024 13:10:52 +0000 (13:10 +0000)
committeradmin <admin@branchable.com>
Mon, 21 Oct 2024 13:10:52 +0000 (13:10 +0000)
doc/forum/Assistant__58___auto-commit_works__44___auto-transfer_not__63__.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Assistant__58___auto-commit_works__44___auto-transfer_not__63__.mdwn b/doc/forum/Assistant__58___auto-commit_works__44___auto-transfer_not__63__.mdwn
new file mode 100644 (file)
index 0000000..1cb138a
--- /dev/null
@@ -0,0 +1,37 @@
+I'm trying to set up git-annex on my mac (running macOS Sonoma 14.7). I want it to sync a directory to a linux server so that the linux server always has a full copy of the directory.
+
+The linux server runs Arch Linux. All I did there was installing the git-annex package from the official package repository. (sshd, rsync etc. were already installed)
+
+On the mac I used `brew install git-annex` to install and `brew services start git-annex` to start the service, then issued `git annex webapp` to start the web app for configuration. In the web app I followed the setup wizard to create a local repo and added the linux server as a remote (basically what's shown in the 10 minute assistant intro screencast but I chose group "backup" instead of "transfer" for the remote).
+
+When I now copy files into the repository, they get auto-added to the repository – but not auto-transferred to the remote. For that to happen I have to restart the service (`brew services restart git-annex`) or do a `git annex push` / `git annex sync --content`.
+
+After copying a file to the repo:
+
+```sh
+~/annex $ git annex list
+here
+|linux-server
+||web
+|||bittorrent
+||||
+X___ file.ext
+```
+
+After restarting etc.:
+
+```sh
+~/annex $ git annex list
+here
+|linux-server
+||web
+|||bittorrent
+||||
+XX__ file.ext
+```
+
+Is there a way to have added files automatically transferred to the remote?
+
+I also noticed that the web app hangs for 30s every 4-5 clicks. Something seems to be wrong with my setup and configuration. What can it be?
+
+Thanks, this seems to be a really great a versatile tool!