This commit is contained in:
parent
87c88025d1
commit
60c123dd9d
1 changed files with 37 additions and 0 deletions
|
@ -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!
|
Loading…
Reference in a new issue