this post was submitted on 22 Feb 2024
162 points (98.8% liked)

Selfhosted

39937 readers
414 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 25 points 8 months ago (2 children)

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 ☝🏻

[–] [email protected] 2 points 8 months ago (1 children)

How do you run your backup for paperless? Just backup the document folder like you would anything else?

[–] [email protected] 8 points 8 months ago

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