Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2024-10-21 10:03:32 -04:00
commit b8d6b7c848
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View file

@ -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!