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

This commit is contained in:
Joey Hess 2019-04-30 12:19:26 -04:00
commit 3a6b9ccada
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,8 @@
[[!comment format=mdwn
username="yarikoptic"
avatar="http://cdn.libravatar.org/avatar/f11e9c84cb18d26a1748c33b48c924b4"
subject="update"
date="2019-04-29T13:41:31Z"
content="""
[I have asked on the file/libmagic mailing list](https://mailman.astron.com/pipermail/file/2019-April/000106.html) and filed a [bug report for -k bug](https://bugs.astron.com/view.php?id=77)
"""]]

View file

@ -0,0 +1,19 @@
I'm having troubles trying to setup something like this:
* Setup a git-annex locally on my laptop with multiple special remotes.
* These are mainly free cloud services mounted with git-annex-remote-rclone
* Set the number of copies to 2 (so I can have some redundancy on my annexed files, and spread two different copies into two random special remotes)
* Use my local annex folder, but due to the (potentially) large size of it, be able to "git annex drop some/files" while maintaining the numcopies:2 setting
* Set it up so that once I copy/create a file in the annex folder, automatically replicated twice (since numcopies:2) to any of my special remotes.
So far, I have setup my local repo as repository group: client, and all my special remotes as "incremental backup" (since I do not wanted them to each hold a full backup of my whole annex, since it might be much larger than the available space provided by the cloud provider, Box for example).
I had numcopies set to 2, but this only copies one version of each file to another special remote (I assume the other copy is the one in my local repo)
Setting numcopies to 3, copies to two special remotes (plus my local copy) but "git annex drop some/file" does not work, complaining that only two other copies are available, so it is not working as expected.
I'm sure I'm missing something obvious here but how would I set this up so it works as automatically/transparent as possible?
Maybe I could utilize the "/archive" folder and move files there, but i hate destroying my directory structure by moving files there, and I would rather "drop" the files in place, and "get" them when i need them...
A big thanks to the collective git-annex brain out there... :)

View file

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="use git-annex-untrust"
date="2019-04-28T17:32:29Z"
content="""
`[[git annex untrust|git-annex-untrust]] here`
will tell git-annex not to count the local copy towards `numcopies`.
"""]]

View file

@ -0,0 +1,3 @@
Hi!
I found more than one line per special remote in git-annex:remote.log file. Is it the same for you?