]> dgit.raspbian.org Git - git-annex.git/commitdiff
Best way to restore objects with correct names w/o git log present?
author4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0 <4omecha@web>
Mon, 13 Apr 2020 09:19:23 +0000 (09:19 +0000)
committeradmin <admin@branchable.com>
Mon, 13 Apr 2020 09:19:23 +0000 (09:19 +0000)
doc/forum/Best_way_to_extract_git-annex_object_files___40__with_correct_names__41___in_absence_of_git_log.mdwn [new file with mode: 0644]

diff --git a/doc/forum/Best_way_to_extract_git-annex_object_files___40__with_correct_names__41___in_absence_of_git_log.mdwn b/doc/forum/Best_way_to_extract_git-annex_object_files___40__with_correct_names__41___in_absence_of_git_log.mdwn
new file mode 100644 (file)
index 0000000..7d0ecad
--- /dev/null
@@ -0,0 +1,18 @@
+# Best way to extract git-annex object files (with correct names) in absence of git log?
+
+**Issue**:
+
+  * any git log is missing, so restore not viable
+  * annex directory is empty, i.e. no symlinks (.git/annex present, though)
+  * annex A: .git/annex/transfer/download/failed contains files
+  * annex B: .git/annex/objects contains files
+  * git-annex fsck -A: checksums files present
+  * git-annex fix: no change
+  * git-annex sync [--content]: on B fetched objects, fails on A (iirc)
+  * git-annex find: nothing
+  * git-annex unused shows couple of files on annex A and B
+  * git-annex addunused && git-annex unlock makes them available but filename is missing: "unused.SHA256E-[...].pdf"
+
+**Question**: any chance of restoring those files with their correct names?
+
+Thanks i.a. for any recommendations.