Skip to content

Export folder structure for backup purposes #547

Answered by ciur
VadarVillage asked this question in Q&A
Discussion options

You must be logged in to vote

I assume we are discussing here version 2.1.x.

Do you have a function to export the directory structure and file names as they appear in the web UI?

yes, there are actually two django commands:

There is also a documentation page about them: https://docs.papermerge.io/backup_restore.html

I guess you are mostly interested in this module: https://github.com/papermerge/papermerge-core/blob/stable/2.1.x/papermerge/core/backup_restore/backup.py

If you will perform backup outside docker container, in other words on the file system which support symlinks, the backup
archive will include the same structure as in web UI, but instead of documents there are symlinks pointing to the

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@VadarVillage
Comment options

Answer selected by VadarVillage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants