Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Backups with restic

Paperless

Nighly backups can be enabled by using the option momo-cloud.backups.repos.${repo}.

To restore a paperless backup, one option is to use the following commands, which use document_exporter and document_importer paperless manage.py CLI subcommands under the hood.

Before starting the restore, stop the paperless process:

sudo mkdir -p /var/lib/restore/paperless
sudo restic-paperless-${repo} restore latest --tag paperless --target /var/lib/restore/paperless
paperless-restore /var/lib/restore/paperless