I have a Rails/Postgres app running in two containers, one for the Rails app and one for Postgres. I am setting up WAL-E for my backups and I want to set up a cron task to run a base backup once a day. This is currently the only need I have for cron. What’s the best way to handle this? Is there a Docker best practice around running cron tasks?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Automated/cron backups of Postgres database? | 2 | 5872 | July 6, 2016 | |
Best way to run cron with Docker | 0 | 1082 | April 23, 2018 | |
Schedule Postgres backup using cron | 1 | 2702 | May 6, 2020 | |
Run WAL-E backup commands on a linked Postgres container? | 0 | 1086 | June 20, 2016 | |
Install cron in docker container based on Ruby | 2 | 6724 | June 5, 2017 |