jdoss / ppngx

Podman + Paperless NGX
MIT License
104 stars 12 forks source link

Do you have a particular back up plan? #8

Closed MatthewBregg closed 1 year ago

MatthewBregg commented 1 year ago

Hi!

Thanks for this script, it's been working pretty well!

I was wondering what you did to back up.

I was thinking of either running the document exporter, or backing up each podman volume + the version.

I was wondering what you did, and if you had a script for it?

Thanks!

jdoss commented 1 year ago

Hey there! I am glad it has been useful. :)

I use BTRFS snapshots on my /home BTRFS subvolume and I also use these systemd units https://github.com/quickvm/restic-systemd-units I made to automate Restic to backup to a secondary volume on my workstation, and to blockstorage via Mino on my NAS.

@runningferret might have something he uses as I think he setup something to use the document exporter but I don't recall the specifics or if he only did an export once.

That said, If you figure out a good way to export things via script or backing up the podman volumes via systemd timer, PR the steps to the README and we can get it merged as an example on how to back things up correctly.

MatthewBregg commented 1 year ago

Thanks, done!

jdoss commented 1 year ago

Thanks for the PR. Merged! :)