Skip to content

Latest commit

 

History

History
889 lines (496 loc) · 22.6 KB

CHANGELOG.md

File metadata and controls

889 lines (496 loc) · 22.6 KB

3.8.4 2023-04-06

Changed

  - Fix issue with Influx2 and MSSQL clients not installing properly

3.8.3 2023-03-30

Changed

  - Patchup for 3.8.2

3.8.2 2023-03-30

Changed

  - Patchup for 3.8.1

3.8.1 2023-03-30

Changed

  - Cleanup Dockerfile
  - Fix issue with DB_ARCHIVE_TIME not firing correctly

3.8.0 2023-03-27

Added

  - Introduce DB_DUMP_TARGET_ARCHIVE which works with DB_ARCHIVE_TIME to move backups older than (x) minutes from DB_DUMP_TARGET to DB_DUMP_TARGET_ARCHIVE for use with external backup systems and custom exclude rules
  - Introduce CREATE_LATEST_SYMLINK which creates a symbolic link in DB_DUMP_TARGET of `latest-(DB_TYPE)-(DB_NAME)-(DB_HOST)`

3.7.7 2023-03-20 codemonium@github

Changed

  - Simplify pg_isready usage

3.7.6 2023-03-14 toshy@github

Changed

  - Remove EXTRA_OPT variable from MySQL/MariaDB check

3.7.5 2023-03-02

Added

  - Add support for Docker Swarm mode Secrets for BLOBXFER_STORAGE_ACCOUNT_*_FILE

3.7.4 2023-02-22 gbe0@github

Changed

  - Fix when running in MANUAL_RUN_FOREVER mode looping

3.7.3 2022-12-20

Changed

  - Make S3_KEY_ID and S3_KEY_SECRET optional should IAM roles be used (Credit to alwynpan@github)

3.7.2 2022-12-19

Changed

  - Bugfix for 3.7.1

3.7.1 2022-12-19

Changed

  - Add MYSQL_ENABLE_TLS environment variable to switch on and off

Reverted

  - Set default for MYSQL_TLS_CA_FILE to accomodate for most use cases

3.7.0 2022-12-16

Added

  - Introduce support for connecting via TLS to MySQL / MariaDB Hosts with MYSQL_TLS_* variables - See README for more details

Changed

  - Fix for cleaning up filesystems that are syncing to Azure via blobxfer

3.6.1 2022-11-23

Added

  - Switch to Alpine 3.17 base
  - Switch to OpenSSL instead of LibreSSL

3.6.0 2022-11-21

Added

  - Postgresql 15 Support

3.5.6 2022-11-15

Changed

  - Add failure if DB_TYPE empty or malformed

3.5.5 2022-10-18

Changed

  - Fix for S3 backups and trailing slashes (@greena13)

3.5.4 2022-10-13

Changed

  - Fix for Influx DB 1 backups when compression enabled

3.5.3 2022-10-12

Changed

  - Remove build dependencies for blobxfer making image size smaller
  - Remove silencing commands limiting Postgres backups from working without DEBUG_MODE=TRUE

3.5.2 2022-10-11

Added

  - Update Influxdb client to 2.4.0 (jauderho@github)

3.5.1 2022-10-11

Changed

  - Tighten up cleanup routines to not call blobxfer unless absolutely necessary

3.5.0 2022-10-10

Added

  - Blobxfer / Microsoft Azure Support (credit: eoehen@github)
  - Introduce MONGO_CUSTOM_URI environment variable for those not wanting to use DB_* variables

Changed

  - Force filenames to be in lowercase
  - Fix S3 Database cleanups (credit greenatwork@github)
  - Remove MONGO_DB_TYPE variable as MONGO_CUSTOM_URI overrides
  - Fix MSSQL Backups (credit eoehen@github)
  - Seperate examples for MySQL and MSSQL

3.4.2 2022-09-19

Changed

  - Skip availability check for Mongo Atlas connections

3.4.1 2022-09-13

Added

  • Introduce environment variables for SCRIPT_LOCATION_POST and SCRIPT_LOCATION_PRE for better seperation

Deprecated

  • Introduce deprecation warning for the custom script paths /assets/custom-scripts and /assets/custom-scripts/pre. These paths will continue to work for now but support may be removed in the next major version release. To support the new default paths your scripts should be moved as follows:

    Script Type Old Path (Deprecated) New Environment Variable Environment Value Default
    Pre /assets/custom-scripts/pre SCRIPT_LOCATION_PRE /assets/scripts/pre
    Post /assets/custom-scripts SCRIPT_LOCATION_POST /assets/scripts/post

3.4.0 2022-09-12

Added

  - Add GZ_RSYNCABLE environment variable for better rsync compatibility (Credit teun95@github)
  - Add Pre Backup Script Support
  - Add MongoDB Atlas Support

Changed

  - Fix Default Port for Influx 2 DB Hosts

3.3.12 2022-08-15

Changed

  - arifer612@github contributed a fix for incorrect case of "filesize" variable when using post backup scripts

3.3.11 2022-07-22 khoazero123@github

Fixed

  - Restore script not properly detecting postgres backups

3.3.10 2022-07-19

Changed

  - Remove MSSQL install packages properly

3.3.9 2022-07-09 fardeau@github

Fixed

  - Remaining work on interactive mode for entering port on restore script

3.3.8 2022-07-09

Added

  - MSSQL Client Tools 18.0.1.1-1

3.3.7 2022-06-23

Changed

  - Allow overrides to actually override with the restore script

3.3.6 2022-06-23

Changed

  - Fix for restore script when using all 7 arguments

3.3.5 2022-06-08

Changed

  - Fix DB Port parameter not being able to be input in restore script
  - Fix MongoDB restore questionnaire

3.3.4 2022-06-03 rozdzynski@github

Fixed

  - S3 backups failing with special characters in filename

3.3.3 2022-05-24

Added

  - Alpine 3.16 base

3.3.2 2022-05-02

Added

  - Add POST_SCRIPT_SKIP_X_VERIFY environment variables to allow for more host compatibility for post scripts

3.3.1 2022-04-30

Changed

  - Compressing silently was causing 0 byte backups

3.3.0 2022-04-30

Added

  - Ability to auto clean old S3 / Minio Hosts like what occurs on filesysten
  - Alert user how to turn off Zabbix Monitoring if fails
  - Allow Zabbix Monitoring to work with S3
  - Silence some more compression statements

Changed

  - Fix for Redis not backing up properly
  - Start sending checksums for S3 Outputs
  - Cleanup some code functions
  - FIx Container Log Level always in DEBUG

3.2.4 2022-04-21

Changed

  - Add -portable flag when backing up Influx

3.2.3 2022-04-21

Changed

  - Fix for bucket / db name InfluxDB 1.xx
  - Minor aesthetics, spacing, spelling

3.2.2 2022-04-21

Changed

  - Restore script properly parses DB_PORT entry
  - Influx Database ready performs different checks dependent on V1/V2
  - Stop using weird database lowercase variables unneccessarily breaking Docker Secrets

3.2.1 2022-04-03

Changed

  - Fix a variety of issues iwth 3.2.0 relating to InfluxDB

3.2.0 2022-03-31

Added

  - Install InfluxDB2 Client alongside version 1 (amd64 and arm64)
  - Introduce InfluxDB 2 backup support
  - Introduce multiple compression types other than Gzip for Influx 1/2
  - Introduce compression for MSSQL backups

Changed

  - Testing for Host availability for CouchDB and InfluxDB

3.1.3 2022-03-30

Changed

  - Fix for MariaDB not sending database name to post script
  - Check for executible bit on post scripts both via environment variable and /assets/custom
  - SPLIT_DB defaulted to TRUE

3.1.2 2022-03-29

Changed

  - �Fix for blank Notice when individual backup is completed (time taken)

3.1.1 2022-03-28

Changed

  - Resolve some issues with backups of Mongo and others not saving the proper timestamp

3.1.0 2022-03-23

Added

  - Backup multiple databases by seperating with comma e.g. db1,db2
  - Backup ALL databases bu setting DB_NAME to ALL
  - Exclude databases from being backed up comma seperated when DB_NAME is all eg DB_NAME_EXCLUDE=db3,db4
  - Backup timers execute per database, not per the whole script run
  - Post scripts run after each database backup
  - Checksum does not occur when database backup failed
  - Database cleanup does not occur when any databases backups fail throughout session
  - MongoDB now supported with 'restore' script - Credit to piemonkey@github
  - Lots of reshuffling, optimizations with script due to botched 3.0 release

Changed

  - ZSTD replaces GZ as default compression type
  - Output is cleaner when backups are occurring

3.0.16 2022-03-23

Changed

  - Fix for SPLIT_DB not looping through all databse names properly

3.0.15 2022-03-22

Changed

  - Rework compression function
  - Fix for Bzip compression failing

3.0.14 2022-03-22

Changed

  - Rearrange Notice stating when next backup is going to start

3.0.13 2022-03-21

Added

  - Add compression levels to debug mode

3.0.12 2022-03-21

Added

  - Throw Errors for MANUAL mode when certain other CONTAINER_* services are enabled

3.0.11 2022-03-21

Changed

  - Fix for Parallel Compression

3.0.10 2022-03-21

Changed

  - Fix for restore script not taking "custom" usernames or passwords

3.0.9 2022-03-21

Changed

  - Switch to using parallel versions of compression tools all the time, yet explicitly state the threads in use (1 or ++)

3.0.8 2022-03-21

Added

  - Add PARALLEL_COMPRESSION_THREADS environment variable to limit amount of threads when compressing - Currently autodetects however many processors are avaialable to the container

3.0.7 2022-03-21

Reverted

  - Strip unused LOG directives

3.0.6 2022-03-21

Changed

  - Fix for parallel compression

3.0.5 2022-03-21

Changed

  - Add more detail regarding manual modes

3.0.4 2022-03-21

Changed

  - Fix for 3.0.3

3.0.3 2022-03-21

Changed

  - Add documentation for Manual mode
  - Revert Compression variables

3.0.2 2022-03-18

Changed

  - Cleanup of Zabbix Agent options
  - Updated Zabbix template
  - Split apart S3 options for better debugging and also cleaned up their variables
  - Fixed issue with post scripts not outputting proper backup start time
  - Cleaned up some notifications
  - Rearranged code

3.0.1 2022-03-17

Changed

  - Fix for Environment variable not reading correctly for restore script for DB TYPE

3.0.0 2022-03-17

Added

  - Rewrote entire image
  - Ability to choose which file hash after backup (MD5 or SHA1)
  - Restore Script (execute 'restore' in container)
  - Allow to map custom CA certs for S3 backups
  - Allow to skip certificate certification for S3 Backups
  - Revamped Logging and parameters - File logs also exist in /var/log/container/container.log
  - Added more functionality to send to zabbix to track start, end, duration and status
  - Ability to backup stored procedures for MySQL / MariaDB
  - Ability to backup as a single transaction for MySQL / MariaDB
  - Ability to execute "manually" and still allow container to execute to accommodate for Kubernetes cron usage

Changed

  - Environment variables have changed! Specifically relating to COMPRESSION, PARALLEL COMPRESSION, CHECKSUMs

2.12.0 2022-03-16

Changed

  - Last release of 2.x series
  - Fix timer for backups that take excessively long time, and allow it to start repetitively at the same time daily. What was happening is that if a backup took 30 minutes, time would shift by 30 minutes daily eventually taking backups mid day.

2.11.5 2022-03-15

Added

  - Add additional debug statements

2.11.4 2022-03-15

Added

  - Add debug statement around the scheduling component

2.11.3 2022-02-09

Changed

  - Rework to support new base image

2.11.2 2022-02-09

Changed

  - Refresh base image

2.11.1 2022-01-20 jacksgt@github

Changed

  - Modernized S3 variables and sanity checks
  - Change exit code to 0 when executing a manual backup

2.11.0 2022-01-20

Added

  - Add capability to select `TEMP_LOCATION` for initial backup and compression before backup completes to avoid filling system memory

Changed

  - Cleanup for MariaDB/MySQL DB ready routines that half worked in 2.10.3
  - Code cleanup

2.10.3 2022-01-07

Changed

  - Change the way MariaD/MySQL connectivity check is performed to allow for better compatibility without requiring the DB_USER to have PROCESS privileges

2.10.2 2021-12-28

Changed

  - Remove logrotate configuration for redis which shouldn't exist in the first place

2.10.1 2021-12-22 milenkara@github

Added

 - Allow for choosing region when backing up to S3

2.10.0 2021-12-22

Changed

  - Revert back to Postgresql 14 from packages as its now in the repositories
  - Fix for Zabbix Monitoring

2.9.7 2021-12-15

Changed

  - Fixup for Zabbix Autoagent registration

2.9.6 2021-12-03 alexbarcello@githuba

Changed

  - Fix for S3 Minio backup targets
  - Fix for annoying output on certain target time print conditions

2.9.5 2021-12-07

Changed

  - Fix for 2.9.3

2.9.4 2021-12-07

Added

  - Add Zabbix auto register support for templates

2.9.3 2021-11-24

Added

  - Alpine 3.15 base

2.9.2 2021-10-22 teenigma@github

Fixed

  - Fix compression failing on Redis backup

2.9.1 2021-10-15 sbrunecker@github

Fixed

  - Allow MariaDB 8.0 servers to be backed up
  - Fixed DB available check getting stuck with empty password

2.9.0 2021-10-15

Added

  - Postgresql 14 Support (compiled)
  - MSSQL 17.8.1.1

2.8.2 2021-10-15

Changed

  - Change to using aws cli from Alpine repositories (fixes #81)

2.8.1 2021-09-01

Changed

  - Modernize image with updated environment varialbes from upstream

2.8.0 2021-08-27

Added

  - Alpine 3.14 Base

Changed

  - Fix for syntax error in 2.7.0 Release (Credit the1ts@github)
  - Cleanup image and leftover cache with AWS CLI installation

2.7.0 2021-06-17

Added

  - MongoDB Authentication Database support (DB_AUTH)

2.6.1 2021-06-08 jwillmer@github

Changed

  - Fix for Issue #14 - SPLIT_DB=TRUE was not working for Postgres DB server

2.6.0 2021-02-19 tpansino@github

Added

  - SQLite support

2.5.1 2021-02-14

Changed

  - Fix xz backups with `PARALLEL_COMPRESION=TRUE`

2.5.0 2021-01-25

Added

  - Multi Platform Build Variants (ARMv7 AMD64 AArch64)

Changed

  - Alpine 3.13 Base
  - Compile Pixz as opposed to relying on testing repository
  - MSSQL Support only available under AMD64. Container exits if any other platform detected when MSSQL set to be backed up.

2.4.0 2020-12-07

Added

  - Switch back to packges for Postgresql (now 13.1)

2.3.2 2020-11-14

Changed

  - Reapply S6-Overlay into filesystem as Postgresql build is removing S6 files due to edge containing S6 overlay

2.3.1 2020-11-11 bambi73@github

Fixed

  - Multiple Influx DB's not being backed up correctly

2.3.0 2020-10-15

Added

  - Microsoft SQL Server support (experimental)

Changed

  - Compiled Postgresql 13 from source to backup psql/13 hosts

2.2.2 2020-09-22 tpansino@github

Fixed

  - Patch for 2.2.0 release fixing Docker Secrets Support. Was skipping password check.

2.2.1 2020-09-17 alwynpan@github

Fixed

  - Ondemand/Manual backup with `backup-now` was throwing errors not being able to find a proper date

2.2.0 2020-09-14 alwynpan@github

Fixed

  - Allow to use MariaDB and MongoDBs with no username and password while still allowing Docker Secrets
  - Changed source of Alpine package repositories

2.1.1 2020-09-01 zicklag@github

Fixed

  - Add eval to POST_SCRIPT execution

2.1.0 2020-08-29

Added

  - Add Exit Code variable to be used for custom scripts - See README.md for placement
  - Add POST_SCRIPT environment variable to execute command instead of relying on custom script

2.0.0 2020-06-17

Added

  - Reworked compression routines to remove dependency on temporary files
  - Changed the way that MongoDB compression works - only supports GZ going forward

Changed

  - Code cleanup (removed function prefixes, added verbosity)

Reverted

  - Removed Rethink Support

1.23.0 2020-06-15

Added

  - Add zstd compression support
  - Add choice of compression level

1.22.0 2020-06-10

Added

  - Added EXTRA_OPTS variable to all backup commands to pass extra arguments

1.21.3 2020-06-10

Changed

  - Fix `backup-now` manual script due to services.available change

1.21.2 2020-06-08

Added

  - Change to support tiredofit/alpine base image 5.0.0

1.21.1 2020-06-04

Changed

  - Bugfix to initalization routine

1.21.0 2020-06-03

Added

  - Add S3 Compatible Storage Support

Changed

  - Switch some variables to support tiredofit/alpine base image better
  - Fix issue with parallel compression not working correctly

1.20.1 2020-04-24

Changed

  - Fix Auto Cleanup routines when using `root` as username

1.20.0 2020-04-22

Added

  - Docker Secrets Support for DB_USER and DB_PASS variables

1.19.0 2020-04-22

Added

  - Custom Script support to execute upon compleition of backup

1.18.2 2020-04-08 <hyun007 @ github>

Changed

  - Rework to allow passwords with spaces in them for MariaDB / MySQL

1.18.1 2020-03-14

Changed

  - Allow for passwords with spaces in them for MariaDB / MySQL

1.18.0 2019-12-29

Added

  - Update image to support new tiredofit/alpine base images

1.17.3 2019-12-12

Changed

  - Quiet down Zabbix Agent

1.17.2 2019-12-12

Changed

  - Re Enable ZABBIX

1.17.1 2019-12-10

Changed

  - Fix spelling mistake in container initialization

1.17.0 2019-12-09

Changed

  - Stop compiling mongodb-tools as it is back in Alpine:edge repositories
  - Cleanup Code

1.16 - 2019-06-16 -

  • Check to see if Database Exists before performing backup
  • Fix for MysQL/MariaDB custom ports - Credit to spumer@github

1.15 - 2019-05-24 - <claudioaltamura @ github>

  • Added abaility to backup password protected Redis Hosts

1.14 - 2019-04-20 -

  • Switch to using locally built mongodb-tools from tiredofit/mongo-builder due to Alpine removing precompiled packages from repositories

1.13 - 2019-03-09 -

  • Fixed Postgres backup without SPLIT_DB enabled (credit MelwinKfr@github)
  • Added DB_PORT reference to properly backup Postgres with non default ports (thanks Maxximus007@github)

1.12 - 2019-03-01 -

  • Fix for XZ Compression failing

1.11 - 2018-11-19 -

  • Fix for Urnary Operator Error

1.10 - 2018-11-19 -

  • Fix for InfluxDB for backing up and supporting DB_PORT variable - Thanks skylord123@github

1.9 - 2018-11-03 -

  • Switch from OpenSSL to LibreSSL

1.8 - 2018-07-18 -

  • Fix warnings on startup related to 1.7 Changes

1.7 - 2018-06-06 -

  • Added ability for Manual Backup (enter container and type backup-now)

1.6 - 2018-02-26 -

  • Add Parallel Compression mode (Default TRUE

1.5 - 2018-01-28 -

  • Add Zabbix Checks

1.4 - 2017-11-17 -

  • Switch to Packages Postgres

1.31 - 2017-11-17 -

  • Fix to SPLIT_DB Postgresql Backup

1.3 - 2017-10-25 -

  • Remove Alpine postgres package and recompile version 10

1.2 - 2017-10-19 -

  • Syntax Error Fix
  • Fix some environment variables for Postgres and Redis

1.1 - 2017-09-14 -

  • Added CouchDB

1.0 - 2017-09-14 -

  • Initial Release
  • Alpine:Edge