Replies: 4 comments 9 replies
-
generally postgresql backup would be enough. |
Beta Was this translation helpful? Give feedback.
-
|
For me, I run a Postgres Local Backup container on the same stack that backs up the postgres-data daily. I have my Docker stacks on an LXC inside Promox, so I have a cron job that also backs up that LXC to two separate drives, daily.
My next plan is to automate backing up the content of the Postgres backup container to Clouflare's R2. |
Beta Was this translation helpful? Give feedback.
-
If you deploy using the Helm Chart, which has the ability to do CNPG - has backup strategies in there as well. Like @sokie said ... the other volume is for import/export - which many people do in S3-compatible endpoints anyway. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the insights. I'm just running sure via docker-compose. My simple backup strategy will probably be to include a As for the approach with the Postgres Local Backup container: Wouldn't it make more sense to mount at least the backup volume from the file system instead of a docker volume? I usually keep all the important data that should even survive a docker factory reset outside of docker volumes. Also makes it easier to copy it somewhere else, unless it's already a remotely mounted docker volume. |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
I'm about to setup sure for my personal finances but I want to have some backups enabled right from the start.
The docker compose file has tree volumes volumes app-storage, postgres-data, redis-data. Which of those would I have to backup to restore all needed data? I assume redis-data can be re-built? Would I just need postgres-data or also app-storage? Maybe someone already has a backup script at hand to collect all needed data instead of just backing up the postgres database files.
Beta Was this translation helpful? Give feedback.
All reactions