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

This commit is contained in:
Joey Hess 2023-03-21 13:49:26 -04:00
commit 303b976dbc
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[[!comment format=mdwn
username="Lukey"
avatar="http://cdn.libravatar.org/avatar/c7c08e2efd29c692cc017c4a4ca3406b"
subject="comment 1"
date="2023-03-20T17:59:11Z"
content="""
Not a chance. git-annex uses symetric encryption, storing the key in the git-annex branch. See [[design/encryption/]].
Are you sure you don't have other clones of the repo?
How exactly did you loose the repo? Maybe its possible to recover it?
"""]]

View file

@ -0,0 +1,11 @@
I'm trying to use [datalad](http://www.datalad.org) to manage some scientific data repositories. Datalad uses git annex.
I've set up an annex for my datalad/git repository using [`git-annex-remote-rclone`](https://github.com/git-annex-remote-rclone/git-annex-remote-rclone). The setup went fine, but the transfers with a Gigabit connection are of the order of 50-100 kbs. I'm trying to troubleshoot the issue. I'm a new user of git annex. The repository has about 10 GB of stuff.
I'm focusing on `git annex` because I sidestep datalad by using `git annex copy --to=gdrive2`, this is as slow as using `datalad push --to=gdrive2`, which makes sense as the latter is a thin wrapper around `git-annex-copy`.
Using an external drive instead of Google Drive was a little better, but it still took hours to copy the 10 GB. Not sure what's going on.
I'm running this on a M1 MacBook Pro.
Any ideas on how to troubeshoot this?

View file

@ -0,0 +1,17 @@
I am trying to use git-annex to sync a folder with a backup drive over the network.
I have followed the walkthrough and run a git annex init in a TrueNAS jail and now I am trying to use git clone through ssh to link the drive and the jail together.
The problem is that the clone in the backup drive just hangs. It will enumerate the files and count them and then it just seems to do nothing.
Command: git clone ssh://user@ip/mnt/dir ./driveBackup
Output:
Cloning into './repo'...
remote: Enumerating objects: 1543, done.
remote: Counting objects: 100% (1543/1543), done.
...Hangs here nothing obvious happens...
Running it in verbose mode reveals nothing. When you stop the clone it will complain about some sideband packet.
I don't know if it helps, but I have set up passwordless ssh login and I have verified that it works by running ssh user@ip successfully from the backup system.
Can someone help me please?