Comment on Paperless cloud backups https:// samsm.ch/paperless-cloud-backu ps/
@lokalhorst As I mentioned in the post, this method can be used to back up to many different providers (incl. hetzner, see https://rclone.org/docs/). I assume w/ restic you're just backing up the folder where paperless stores the docs rather than the export. IMO the latter is nice because leaves you w/ something that's more useful w/o paperless.
lokalhorst@feddit.org 4 hours ago
I actually use the
document_exporterofpaperless-ngx. I have a small bash scriptbackup-paperless.shthat runs the paperless-ngxdocument_exporterand also makes a database dump usingpg_dump. It sets up the restic backups logic with daily, weekly and monthly backups. I run that bash script using a systemd servicepaperless-backup.service. This service is run daily with the timerpaperless-backup.timer, randomly at 3 am ±30 minutes.resticis smart, so it does only backup if there are changes. The incremental backups are great, in case the database corrupts without me noticing. I’ll share the scripts in case you are interested in how it works:backup-paperless.sh
paperless-backup.service
paperless-backup.timer