this post was submitted on 23 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

589 readers
1 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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 2 years ago
MODERATORS
 

Hello Everyone,

I successfully installed Paperless NGX on my Nas via Docker/portainer through this nice tutorial https://mariushosting.com/how-to-install-paperless-ngx-on-your-synology-nas/ (Thanks Marius) !

I know have three Paperless related containers in my docker app on synology :

Paperless-NGX Paperless-NGX-DB Paperless-NGX-REDIS

I'm now asking myself what would be the best and easiest way to backup everything on a regular basis.

I actually manually export all three containers and copy Paperless NGX content from filestation.

Is it sufficient ? Anyone would share a simpler way to back up everything as it's pretty cumbersome to make everything by hand.

Thanks for your help !

top 2 comments
sorted by: hot top controversial new old
[โ€“] thekrautboy@alien.top 1 points 2 years ago (1 children)

Exporting containers is not a backup.

[โ€“] ICameFeetFirst@alien.top 1 points 2 years ago

Thanks. Is actually exporting whole folder a better solution ? This is what Paperless NGX is telling to do in official doc

Options available to docker installations: Backup the docker volumes. These usually reside within /var/lib/docker/volumes on the host and you need to be root in order to access them.

Paperless uses 4 volumes:

paperless_media: This is where your documents are stored.
paperless_data: This is where auxillary data is stored. This folder also contains the SQLite database, if you use it.
paperless_pgdata: Exists only if you use PostgreSQL and contains the database.
paperless_dbdata: Exists only if you use MariaDB and contains the database.

My Paperless NGX install is actually

Paperless

  • consume
  • data
  • db (with PG subfolders)
  • Export
  • Media
  • Redis

Thank you very much for your help !