Cron Backup Schedule Support

Simon Bennett
Simon Bennett · Aug 20, 2020

As required, by our customers, we have added support to use CRON to schedule backups.

With cron enabled you to create far more advance schedules for backups of your file and database backup types. Before we only allowed you to backup to object storage, every 5 to 60minutes and 1h to 24h. With this, you can set up almost infinite possibilities.

We still offer our simple to use approach to for the users who don't want to use cron. One small point to note with cron the rotation of daily, weekly and monthly backups becomes void and you can only enter the number of past backups you want us to keep.

Example Cron Syntax for MySQL Backups

  • Every 5 minutes - */5 * * * *

  • Every hour from 9 to 17 0 9-17 * * *

  • Once a week 00:00

  • Sunday 0 0 * * 0

  • Mon 0 0 * * 1

  • Tue 0 0 * * 2

  • Range in week 00:00

  • Monday - Friday 0 0 * * 1-5

  • Saturday - Sunday 0 0 * * 6,0

  • Mon, Wednedsay, Friday 0 0 * * 1,3,5

  • Start of month 0 0 1 * *

CronTab guru is a fansatic resource for helping generate and testing cron tab syntax.