Docspell Backup
Backing up docspell configuration files and database.
purpose and application
Backing up docspell configuration files and database.definitions
None.
steps
- Become docspell user
- Backup database
Terminal
pg_dump -W postgres://docspell@127.0.0.1:5432/docspell | gzip > backup/docsell_$(date +%Y%m%dT%H%M%S).psql.gz
- Backup joex config
Terminal
cp docspell-joex-0.41.0/conf/docspell-joex.conf backup/
- Backup rest server config
Terminal
cp docspell-restserver-0.41.0/conf/docspell-server.conf backup/
Resources
None.