Skip to content

Latest commit

 

History

History
78 lines (65 loc) · 4.72 KB

CHANGELOG.md

File metadata and controls

78 lines (65 loc) · 4.72 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[v2.6.0] - 15-07-2021

Add the ability to set custom mysql CLI parameters, target all databases without manually specifying, and bump versions

  • Added the ability to add custom mysql paramaters during the backup of databases via a new BACKUP_ADDITIONAL_PARAMS environment variable. Thanks & credit: @cablespaghetti
  • Added the ability to target all databases via a new TARGET_ALL_DATABASES environment variable. Thanks & credit: @cablespaghetti
  • Bumped the Alpine Linux version to 3.14.0 from 3.12.1
  • Bumped the Google Cloud SDK version to 348.0.0 from 319.0.0
  • Bumped the Age Encryption version to 9d4b2ae7ac0e2913839a545e16504e1ba0391124 (v1.0.0-rc.3) from 31500bfa2f6a36d2958483fc54d6e3cc74154cbc (v1.0.0-rc.3)

[v2.5.0] - 06-12-2020

Add missing Python six package and BACKUP_CREATE_DATABASE_STATEMENT configuration option

  • Adds the missing Python six package which was breaking awscli and removed the py-pip deletion step as this removes six
  • Add the BACKUP_CREATE_DATABASE_STATEMENT configuration option. This explicitly sets the --databases flag in mysqldump which causes mysqldump to add CREATE DATABASE /*!32312 IF NOT EXISTS*/ and USE statements into the dump.

[v2.4.0] - 21-11-2020

Implement encryption capability, bump Alpine and gcloud versions and bug fixes

  • Added the ability to optionally encrypt backups using age. Thanks & credit: @adamdecaf
  • Bumped Alpine Linux version to 3.12.1 from 3.11
  • Bumped Google Cloud SDK version to 319.0.0 from 285.0.1
  • Added detection and conditional decoding of base64 encoded GCP_GCLOUD_AUTH environment variables to resolve issues with Kubernetes automatic decoding. Thanks & credit: @sreesanpd
  • Improved formatting and added a license

[v2.3.0] - 21-03-2020

Implement GCS Backend, and rename to kubernetes-cloud-mysql-backup

  • Added the ability to GZIP compress backup files. Thanks & credit: @LucasBG0
  • Added the ability to use custom S3 compatible storage endpoints. Thanks & credit: @mwienk
  • Bumped Google Cloud SDK version to 285.0.1
  • Bumped Alpine Linux version to 3.11
  • Corrected log filenames that were not correctly updated as part of the v2.2.0 rename

[v2.2.0] - 28-11-2019

Implement GCS Backend, and rename to kubernetes-cloud-mysql-backup

  • Added the ability to use Google Cloud Storage (GCS) as a backend storage provider (backwards compatible)
  • Renamed to kubernetes-cloud-mysql-backup to better reflect the function of the application
  • Improved environment variable processing (removed case sensitivity of Slack environment variable)
  • Upgraded Alpine version to 3.10 base
  • Switched to Python3
  • Documentation improvements

[v2.1.0] - 28-08-2019

Added the ability to add a timestamp to the backup file name

  • Ability to append timestamp to the database dump via the BACKUP_TIMESTAMP environment variable added. Thanks & credit: @kuzm1ch

[v2.0.1] - 21-05-2019

Renamed to kubernetes-mysql-backup

  • Renamed to kubernetes-s3-mysql-backup from aws-database-backup to better describe function

[v2.0.0] - 16-12-2018

Fix issue with Slack Alerts

  • Implemented the ability to backup multiple databases from a single host
  • Updated the Variable Name of TARGET_DATABASE_NAME to TARGET_DATABASE_NAMES
  • Updated the format of AWS_BUCKET_BACKUP_PATH so that the trailing / is not required
  • Removed $AWS_BUCCKET_BACKUP_NAME variable (which had a typo). Database backups are now saved using their database names

[v1.1.1] - 16-12-2018

Fix issue with Slack Alerts

  • Fixed issue with failed Slack alerts when log messages contained special characters
  • Fixed /bin/ash error when evaluating if the log files are empty or not
  • Fixed an error message about the log file not existing when the backup runs successfully
  • Suppressed CURL output for Slack alerts

[v1.1.0] - 15-12-2018

Slack Integration & Error Handling

  • Added Slack Integration
  • Introduced Error Handling to make sure the container exits with the correct status, and provides useful debug information
  • Fixed a bug where a failure of mysqldump would lead to a blank database backup being uploaded to S3
  • Introduced default Environment Variables for non-essential values
  • Improved the README.md

[v1.0.0] - 02-12-2018

Initial Release

  • Initial Release