django-archive
django-archive copied to clipboard
Ability to restore archives to the database
Currently, restoring an archive to the database is a manual process. This involves using loaddata
on the JSON file and copying the uploaded files back to the appropriate location. This is bad because:
- It's slow
- It doesn't take alternative storage backends into account
I'm not sure what the "un-archive" command should be called.
I'm really interested in implementing this, do you have already wrote something or can I start from zero?
I think that unarchive
should be fine as name.
BTW great project.
Thanks for the feedback. I'm not currently working on this, so if you'd like to start, that's fine. I thought about the name a bit more and perhaps "restore" would be a better name for the command than "unarchive". (The original intent of django-archive was backup and the opposite of "backup" is "restore".)
"restore", yes.
Turns out I had this implemented and waiting in a fork, please take a look at PR #9 when you get the opportunity.