From ce664ebc7b27c75928c610f701e21b48db7cb338 Mon Sep 17 00:00:00 2001 From: "4omecha@fff0ca6fa5307d92706e5ee6812d8db8f8067df0" <4omecha@web> Date: Mon, 13 Apr 2020 09:13:51 +0000 Subject: [PATCH] Best way to restore objects with correct names w/o git log present? --- doc/forum.mdwn | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/doc/forum.mdwn b/doc/forum.mdwn index c6759aed07..7d0ecadd71 100644 --- a/doc/forum.mdwn +++ b/doc/forum.mdwn @@ -1,9 +1,18 @@ -This is a place to discuss using git-annex. -If you need help, advice, or anything, post about it here. +# Best way to extract git-annex object files (with correct names) in absence of git log? -But, please don't post bug reports here. Put them in [[bugs]]. -And please don't make wishlist requests here. Put them in [[todo]]. -(If you post bugs/todo here, it'll just get moved.) +**Issue**: -[[!inline pages="forum/* and !*/Discussion" archive=yes feedlimit=10 -rootpage=forum postformtext="Add a new thread titled:"]] + * 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.