kartoza / docker-pg-backup

A cron job that will back up databases running in a docker postgres container
GNU General Public License v2.0
452 stars 103 forks source link

How to change default time for backuping #17

Closed timur-orudzhov closed 5 years ago

timur-orudzhov commented 5 years ago

In the docs i can't find a way for changing default time for backuping. Am missing something or it can't be changed?

NyakudyaA commented 5 years ago

There is currently no way to change that. It currently creates a backup at 11pm. If you want to improve this aspect you can look at backup.cron and build with your custom time or alternatively do a PR where you introduce a environment variable to manage that

androane commented 5 years ago

@NyakudyaA where is this backup.cron? I could only find the cronjobs in /etc/cron.d/backups-cron

NyakudyaA commented 5 years ago

@androane yes meant that one.