mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 12:05:58 +03:00
[GH-ISSUE #524] Full Restore Backup #404
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#404
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PicklesIIDX on GitHub (Feb 12, 2023).
Original GitHub issue: https://github.com/ciur/papermerge/issues/524
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 (https://github.com/ciur/papermerge/issues/508, https://github.com/ciur/papermerge/issues/519) that describe backup and restore work, but it's unclear if this will support my use case (e.g. tags).
@ciur commented on GitHub (Feb 13, 2023):
Which version you have in mind? 2.0 or 2.1?
@PicklesIIDX commented on GitHub (Feb 14, 2023):
I'm good either way. I'm still evaluating papermerge and haven't committed.
@ciur commented on GitHub (Dec 29, 2023):
Backup/Restore is documented here: https://docs.papermerge.io/3.0/backup-restore/