Customize mssql backup schedule

Feature name:

Allow the MSSQL backup timer to be customized

Feature Description

This will allow the MSSQL backup-db.sh to have a more customizable backup schedule

Clients / Repos Affected:

  • Server

Timeline to completion (estimate):

today

1 Like

Nice one! Thanks.

Any instructions on how I could go about customising it?

Thanks

I am currently using it to backup hourly. You just need to set the following environment variables for the mssql container

BACKUP_INTERVAL=next hour
BACKUP_INTERVAL_FORMAT=%Y-%m-%d %H:00:00

Basically, you’ll need to look at the date manpage and experiment to find the best format and interval for what you want to accomplish

1 Like

Thanks @dlundgren