GravitySpoiled@lemmy.ml to Selfhosted@lemmy.world · 8 months agowhat's your experience with paperless?github.comexternal-linkmessage-square56fedilinkarrow-up1164arrow-down12
arrow-up1162arrow-down1external-linkwhat's your experience with paperless?github.comGravitySpoiled@lemmy.ml to Selfhosted@lemmy.world · 8 months agomessage-square56fedilink
minus-squareMorethanevil@lemmy.fedifriends.sociallinkfedilinkEnglisharrow-up26arrow-down1·8 months agoMade my life a lot easier. No more looking for documents, all is in one place, fulltext search… Don’t ever want to go back But most important: always have a backup ☝🏻
minus-squarePivot_table@sh.itjust.workslinkfedilinkEnglisharrow-up2·8 months agoHow do you run your backup for paperless? Just backup the document folder like you would anything else?
minus-squareMorethanevil@lemmy.fedifriends.sociallinkfedilinkEnglisharrow-up8·8 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
Made my life a lot easier. No more looking for documents, all is in one place, fulltext search… Don’t ever want to go back
But most important: always have a backup ☝🏻
How do you run your backup for paperless? Just backup the document folder like you would anything else?
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