As an addition to the extended MS SQL image, there is a dedicated backup image that can be used together with the MS SQL image to perform maintenance tasks:
/backup.sh database-namelatest) to a backup file: /backup.sh database-name label0 0 * * * (every day
at midnight)/restore.sh database-name 0.0.1 will restore the latest backup
with 0.0.1
label; it is also supported to pass the full backup name instead of a label/restore-from-s3.sh database-name backup-namePlease notice: In all enumerated cases database-name can be omitted (if used as the last parameter) or passed as
empty string /backup.sh "" label (if used as a middle parameter) and this will default to the MSSQL_DATABASE variable.
Sample compose file with configured MS SQL Server and DB Backup container - tested against Docker Swarm: docker-compose-db-backup.yml
Content type
Image
Digest
Size
188.9 MB
Last updated
over 5 years ago
docker pull mierzwid/mssql-backups:0.1.6