GravitySpoiled@lemmy.ml to Selfhosted@lemmy.world · 9 months agowhat's your experience with paperless?github.comexternal-linkmessage-square54fedilinkarrow-up1137arrow-down12
arrow-up1135arrow-down1external-linkwhat's your experience with paperless?github.comGravitySpoiled@lemmy.ml to Selfhosted@lemmy.world · 9 months agomessage-square54fedilink
minus-squareMorethanevil@lemmy.fedifriends.sociallinkfedilinkEnglisharrow-up7·9 months agoNo just the data folder itself only contains the documents, but as file FILE00001.pdf I do this with pg_dumpall and rclone. Once a day I export the database with pg_dumpall like this : docker exec -i paperless pg_dumpall -c -U paperless > /backup/datenbank/homeserver-postgrescontainer-`date +%d.%m.%Y`.sql And then I copy this file and the data folder encrypted to a secure cloud (Hetzner Storagebox) More info Rclone and Read more about Postgresbackup
No just the data folder itself only contains the documents, but as file FILE00001.pdf
I do this with pg_dumpall and rclone. Once a day I export the database with pg_dumpall like this :
docker exec -i paperless pg_dumpall -c -U paperless > /backup/datenbank/homeserver-postgrescontainer-`date +%d.%m.%Y`.sql
And then I copy this file and the data folder encrypted to a secure cloud (Hetzner Storagebox)
More info
Rclone and Read more about Postgresbackup