diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-10-15 14:45:48 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-10-15 14:45:48 -0400 |
commit | ad0c963938482f40740b4ee214e0edf0b5e4bf17 (patch) | |
tree | d7331feb29fcd669e9f891bdff5a457633612723 | |
parent | 68bd845fc0fb486ba99863b5878178ef78d9ad5e (diff) |
response
-rw-r--r-- | doc/forum/Help_fixing_S3_mistake/comment_2_f105714b9bac7f45fdcb9a47e77255ac._comment | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/forum/Help_fixing_S3_mistake/comment_2_f105714b9bac7f45fdcb9a47e77255ac._comment b/doc/forum/Help_fixing_S3_mistake/comment_2_f105714b9bac7f45fdcb9a47e77255ac._comment new file mode 100644 index 000000000..8ae5e7ce0 --- /dev/null +++ b/doc/forum/Help_fixing_S3_mistake/comment_2_f105714b9bac7f45fdcb9a47e77255ac._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 2""" + date="2015-10-15T18:30:27Z" + content=""" +Depends.. If one or both special remotes used encryption then no, +one can't see the encrypted files that were put in the other one. + +If neither used encryption, and they're otherwise configured the same, +then you can just use `git annex fsck --from A`. This will check files +to see if their content is located on remote A, and if so, and git-annex +had thought the file was only located on remote B, it will update the location +tracking log to reflect the reality that the file is present on A. + +If either remote used encryption, then A can't see files that were added +to B. So instead, you need this approach , which involves data transfer: + + git annex enableremote B + git annex copy --from B + git annex copy --to A + git annex drop --from B + git annex dead B # if it wasn't already dead + git remote remove B +"""]] |