Improve export-file.sh script and add docs

This commit is contained in:
Eike Kettner
2020-11-30 00:59:24 +01:00
parent 0dafe57034
commit 8c8dd2fb40
3 changed files with 256 additions and 17 deletions

View File

@ -82,11 +82,9 @@ documentation, too.
In order to move to a different tool, it is necessary to get the data
out of Docspell in a machine readable/automatic way. Currently, there
is no *easy way* for this. However, everything can be queried using a
[HTTP/REST api](@/docs/api/_index.md) and so it is possible to get to
all data with some scripting effort. There exists a script in the
`tools/` folder that at least can go and download all files that have
been uploaded to docspell.
is a [export-files.sh](@/docs/tools/export-files.md) script provided
(in the `tools/` folder) that can be used to download all your files
and item metadata.
My recommendation is to run periodic database backups and also store
the binaries/docker images. This lets you re-create the current state