Skip to content
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

Full Restore Backup #524

Closed
PicklesIIDX opened this issue Feb 12, 2023 · 3 comments
Closed

Full Restore Backup #524

PicklesIIDX opened this issue Feb 12, 2023 · 3 comments

Comments

@PicklesIIDX
Copy link

How can I perform a full backup of papermerge (accounts, documents, tags, metadata) and restore it?

I tried figuring this out but hit a dead end. I saw in the docs that the backup utility (https://docs.papermerge.io/Installation/backup.html#backup-utility) does not backup metadata and tags. So I attempted to backup the directories wholesale. I'm using docker so I backed up each volume. Then I simulated a catastrophic failure by setting up a whole new installation of papermerge. I restored the volumes by copying the contents to the new volumes. While the copy completed successfully, the documents were not visible in the new instance. I dug into the media directory and saw that documents are stored by user GUID. I tried to just rename those directories to match the GUID of the user created for the new instance, but it still did not work.

I do see some issues (#508, #519) that describe backup and restore work, but it's unclear if this will support my use case (e.g. tags).

  • What's currently supported for backup functionality?
  • What's currently planned?
  • Was I close with my attempt? Is there something I can do manually to restore my instance?
@ciur
Copy link
Owner

ciur commented Feb 13, 2023

Which version you have in mind? 2.0 or 2.1?

@PicklesIIDX
Copy link
Author

I'm good either way. I'm still evaluating papermerge and haven't committed.

@ciur
Copy link
Owner

ciur commented Dec 29, 2023

Backup/Restore is documented here: https://docs.papermerge.io/3.0/backup-restore/

@ciur ciur closed this as completed Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants