separate backup container from db node#3829
separate backup container from db node#3829ilkka-ollakka wants to merge 5 commits intobookwyrm-social:backups-mainfrom
Conversation
|
The backup script is working when I run it manually, but it seems like the cron job isn't being installed? |
it is running as server-level crontab from /etc/cron.d/cronfile. When I changed the interval of executions/added faster interval task there jobs were executed. But I'll recheck that I didn't miss something It doesn't log to /var/log/cron.log but to docker compose logs as the outputs are piped to stdout of cron-process. |
|
I wonder if I'm missing something in how I'm testing this. My process has been:
I'm seeing |
|
That flow seems same what I use. I'll recheck if there is something that I overlooked. |
|
I added timestamps on log-lines, but for me I first see that cron-line and after next full minute I noticed log-lines for backup being done. for example: |
Description
Create postgres-container as purely to run cron and take backups. Envs are defined in https://www.postgresql.org/docs/17/libpq-envars.html for pg_dump.
What type of Pull Request is this?
Does this PR change settings or dependencies, or break something?
Details of breaking or configuration changes (if any of above checked)
Documentation
Tests