-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[question] Is there any documentation on how the export
directory works?
#37
Comments
The I don't have an automatic procedure or script for recovery. If you naively copy the export you make back into a restoring repository, tag by tag, you should end up with a copy of your original repo. However this approach is really expensive because each file could be deduplicated several times. A better solution would be (in pseudocode):
Or something like this. You can precisely detect objects in |
Oh I see, so it is basically a "filesystem" dump of the database, indexed by the tags, where if a file is under say 3 tags it will be symlinked three times to the archive. This is great. I'm currently migrating to a new system so I will put this to a test :) |
Have you found it useful? |
Heh, I don't actually remember how I migrated the data, but I have the repository working so I suppose I've used this method :D It's been some time. |
It seems like it could be used for backups, but how does it work in detail? Won't it blow up exponentially if I have lots of files? How can I restore such an export in case of disk failure?
The text was updated successfully, but these errors were encountered: