Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update tiredofit/db-backup docker tag to v4 #25

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 9, 2023

This PR contains the following updates:

Package Update Change
tiredofit/db-backup major 3.9.11 -> 4.1.4

Release Notes

tiredofit/docker-db-backup (tiredofit/db-backup)

v4.1.4

Compare Source

Please note that if using encryption using a passphrase, you may be encountering issues with manual decryption. This release fixes that.
If you try to manually decrypt and your passphrase fails. Try wrapping it in single (') or double (") quotes.

Changed
  - Fix for stray quotes appearing inside of ENCRYPT_PASSPHRASE variables

v4.1.3

Compare Source

Changed
  - Rebuild to support tiredofit/alpine:7.10.0

v4.1.2

Compare Source

Added
  - Add support for Azure Blob containers
  - Fix timestamps when comparing previous backups
  - Resolve unnecessary read operations in Azure
  - Resolve issues with backup cleanup operations in Azure

v4.1.1

Compare Source

Changed
  - Fix issue where postgresql globals when backing up ALL not being deleted (#​352)

v4.1.0

Compare Source

Note that arm/v7 builds have been removed from this release going forward

Added
  - Introduce DEFAULT/DBXX_MYSQL_CLIENT option to use mariadb or mysql for client dumping to solve incompatibility issues
  - Alpine 3.20 Base
  - MariaDB 10.11.8 Client
  - AWS Client 1.32.113
  - MySQL Client 8.4.0

v4.0.35

Compare Source

Changed
  - Fix issue with emaail notifications and not being able to add from statement

v4.0.34

Compare Source

Changed
  - Change the way architectures are detected to re-enable backups with MSSQL and Influx2

v4.0.33

Compare Source

Changed
  - Allow _OPTS variabls to contain spaces
  - Switch references of _DUMP_OPTS to _BACKUP_OPTS

v4.0.32

Compare Source

Changed
  - Fix issue with directories not properly being backed up (InfluxDB)

v4.0.31

Compare Source

Changed
  - Support backing up databases with spaces in them

v4.0.30

Compare Source

Added
  - Seperate each job with its own temporary folder for isolation and to better cleanup jobs that backup as a directory instead of a flat file

v4.0.29

Compare Source

Changed
  - Skip blobxfer if either account or key is not present

v4.0.28

Compare Source

Changed
  - AWS Cli 1.31.5
  - Switch to using PIP for installing AWS-Cli to remove deprecation warnings

v4.0.27

Compare Source

Changed
  - Switch to using actual crontab for cron expressions

v4.0.26

Compare Source

Added
  - AWS CLI 1.31.4

v4.0.25

Compare Source

Changed
  - Fix #​297 - Add parameters to blobxfer to restore functionality

v4.0.24

Compare Source

Changed
  - Fix issue with cron parsing and 0 being a value getting clobbered by sort command

v4.0.23

Compare Source

Changed
  - Resolve issue with custom notification scripts not executing

v4.0.22

Compare Source

Changed
  - Move cleanup_old_data routines to happen within backup_ function to properly accomodate for globals, and ALL DB_NAME use cases

v4.0.21

Compare Source

Changed
  - Fix for SQLite backups not being cleaned up properly due to a malformed base

v4.0.20

Compare Source

Changed
  - Update base image to support S6 Overlay 3.1.6.2 to solve shutdown issues specifically with MODE=MANUAL and MANUAL_RUN_FOREVER=TRUE
  - Add some safety nets for Manual scheduling

v4.0.19

Compare Source

Changed
  - Make adjustments to cron scheduling feature to be able to handle whitespace properly"

v4.0.18

Compare Source

Changed
  - Fix loading msmtp configuration

v4.0.17

Compare Source

Changed
  - Provide more details when notifying via instant messages

v4.0.16

Compare Source

Changed
  - Switch to using msmtp instead of s-mail for notify()

v4.0.15

Compare Source

Changed
  - Fix cleanup of old backups

v4.0.14

Compare Source

Changed
  - Bugfix when PRE/POST scripts found not giving legacy warning
  - Run pre / post scripts as root

v4.0.13

Compare Source

Changed
  - Check for any quotes if using MONGO_CUSTOM_URI and remove

v4.0.12

Compare Source

Changed
  - Allow creating schedulers if _MONGO_CUSTOM_URI is set and _DB_HOST blank

v4.0.11

Compare Source

Changed
  - Resolve issue with backing up ALL databases with PGSQL and MySQL

v4.0.10

Compare Source

Changed
  - Change environment variable parsing routines to properly accomodate for Passwords containing '=='

v4.0.9

Compare Source

Changed
  - Fix issue with quotes being wrapped around _PASS variables

v4.0.8

Compare Source

Changed
  - Tidy up file_encryption() routines
  - Change environment variable _ENCRYPT_PUBKEY to _ENCRYPT_PUBLIC_KEY
  - Add new environment variable _ENCRYPT_PRIVATE_KEY

v4.0.7

Compare Source

Added
  - Add seperate permissions for _FILESYSTEM_PATH
Changed
  - More output and debugging additions
  - SQLite3 now backs up without running into file permission/access problems
  - Cleanup old sqlite backups from temp directory
  - Handle multiple SQLite3 backups concurrently

v4.0.6

Compare Source

Added
  - Add additional DEBUG_ statements
Changed
  - Fix issue with Influx DB not properly detecting the correct version

v4.0.5

Compare Source

Added
  - Add undocumented DBBACKUP_USER|GROUP environment variables for troubleshooting permissions
  - Add more verbosity when using DEBUG_ statements
Changed
  - Change _FILESYSTEM_PERMISSION to 600 from 700

v4.0.4

Compare Source

Added
  - Add support for restoring from different DB_ variables in restore script

v4.0.3

Compare Source

Changed
  - Fix issue with emaail notifications and not being able to add from statement

v4.0.2

Compare Source

Changed
  - Skip blobxfer if either account or key is not present

v4.0.1

Compare Source

Changed
  - Make adjustments to cron scheduling feature to be able to handle whitespace properly"

v4.0.0

Compare Source

This is the fourth major release to the DB Backup image which started as a basic MySQL backup service in early 2017. With each major release brings enhancements, bugfixes, removals along with breaking changes and this one is no different.

This release brings functionality requested by the community such as multiple host backup support by means of independent scheduler tasks,blackout periods, better resource usage, better security via file encryption, file permissions, and more verbosity via log files. , and also merges contributions from other developers.

Upgrading to this image should for the most part work for most users, but will involve event upgrading environment variables as the formathas changed significantly. Old variables should continue to work, however are unsupported and will be removed with the 4.3.0 release, whenever that will be.

A significant amount of development hours were put in to accomodate for feature requests by the community. If you are using this in a commercial setting or find this image valuable, please consider sponsoring my work for a period of time or engaging in a private support offering. More details at https://www.tiredofit.ca/sponsor

Added
  - Backup Multiple Hosts in same image all with different options (scheduling, compression, destination, cleanup) (Use `DBXX_option` variables)
  - Backup limits how many backup jobs run concurrently
  - Backup Scheduling now allows using a timestamp (e.g. `Dec 12 2023 03:00:00`) - credit benvia@github
  - Backup Scheduling now allows using a cron expression (e.g `00 03 * * *`)
  - Backup Blackout period to skip backing up during a period of time
  - Backup runs as dedicated user (no longer root)
  - Backup can have specific file permissions set upon completion (e.g. `700` or `rwx------`)
  - Backups can run with reduced priority mode to allow for fair scheduling across system
  - Backups - MySQL/MariaDB now has ability to backup events
  - Backups - Microsoft SQL server now has option to backup transaction logs
  - Backups - Postgres now backs up globals  - credit oscarsiles@github
  - Backups with Azure synchronize storage before upload - credit eoehen@github
  - Encrypt backup file with a passphrase or a GPG Public Key ability
  - Log backup jobs to file along with log rotation
  - Notification support upon job failure via Email, Mattermost, Matrix, Rocketchat
  - Zabbix Metrics now auto discovers new jobs
  - Zabbix Metrics sends metrics relating to backed up filename, checksum hash, and the duration of backup/compression time, checksum time, encryption time
  - New Debug Capabilities
Changed
  - Reworked Documentation
  - Reworked all functions and renamed all variables
  - Many variables now use a prefix of `DEFAULT_` to operate on all backup jobs
  - Can be overridden per backup job by setting `DB_<option>` or to unset default variable `DB_<option>=unset`
  - Renamed variables and terms
     - `_DUMP_LOCATION` -> `_BACKUP_LOCATION`
     - `_DUMP_BEGIN` -> `_BACKUP_BEGIN`
     - `_DUMP_FREQ` -> `_BACKUP_INTERVAL`
     - `_DUMP_TARGET`` -> `_FILESYSTEM_PATH`
     - `_DUMP_ARCHIVE`` -> `_FILESYSTEM_PATH`
     - `EXTRA_DUMP_OPTS`` -> `_EXTRA_BACKUP_OPTS`
     - `TEMP_LOCATION`` -> `TEMP_PATH`
  - Backups - AWS CLI updated to 1.29.78
  - Backups - InfluxDB 2 Client version updated to 2.7.3
  - Backups - Microsoft SQL server now compresses files post initial backup
  - Backups - Manual backups handle aborting gracefully
  - Checksum routines now complete in half the time
  - Checksum variable now supports "NONE"
  - Zabbix metrics sending occurs in one process as opposed to singular
  - Cleanup Only cleanup files that match same backup name pattern
  - Cleanup/Archive uses relative path instead of absolute with creating_latest_symlink
  - A handful of code optimizations and cleanup
Removed
  - `ENABLE_CHECKSUM` - has been wrapped into `_CHECKSUM=none`

v3.12.0

Compare Source

Added
  - Add DB_AUTH functionalith for Postgresql databases

v3.11.1

Compare Source

Added
  - Switch to tiredofit/alpine:edge for newer packages
  - Postgresql 16 support
Changed
  - Add --break-system-packages flag to pip when installing blobxfer

v3.11.0

Compare Source

Added
  - Introduce aarch64 (ARMv8) support for Microsoft SQL Server backups
  - Microsoft ODBC Driver 18.3.2.1-1
  - Microsoft SQL Client 18.3.1.1-1

v3.10.5

Compare Source

Added
  - Add option to drop existing data from MongoDB restore
Changed
  - Fix some capabilities of not being able to select mongodb manually to restore

v3.10.4

Compare Source

Changed
  - Use authentication database for MongoDB restores

v3.10.3

Compare Source

Changed
  - Change sorting for restore script

v3.10.2

Compare Source

Changed
  - Update to wording when sending files to blobxfer
  - Remove --databases flag when backing up a single mysql/mariadb backup which allows to omit the "USE <db_name>" statement in the backup allowing for better restores

v3.10.1

Compare Source

Changed
  - Bugfix to 3.10.0 with syntax error revolving around unbraced variable

v3.10.0

Compare Source

Added
  - Add EXTRA_DUMP_OPTS and EXTRA_ENUMERATION_OPTS to add different arguments when checking for databases, vs doing the actual backup

v3.9.12

Compare Source

Changed
  - Perform additional checks for ENABLE_CHECKSUM=FALSE and skip executing actions for S3/BlobXfer

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch 11 times, most recently from 81281fb to 6d868ac Compare November 14, 2023 00:45
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch 6 times, most recently from 34d5afa to 8c812d6 Compare November 23, 2023 00:32
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch 5 times, most recently from 08f5ffe to 4ac9ab2 Compare November 30, 2023 19:09
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from 4ac9ab2 to d463935 Compare December 4, 2023 20:24
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch 4 times, most recently from be1b61d to d8f066b Compare December 18, 2023 19:34
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from d8f066b to 5825c61 Compare January 3, 2024 00:59
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from 5825c61 to 0fdfc0d Compare January 15, 2024 06:57
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from 0fdfc0d to 81db210 Compare May 25, 2024 21:41
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from 81db210 to 9f62e40 Compare June 20, 2024 00:02
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from 9f62e40 to 1c88353 Compare July 9, 2024 17:52
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch 2 times, most recently from b6eb903 to ea8e50d Compare August 17, 2024 02:08
@renovate renovate bot force-pushed the renovate/tiredofit-db-backup-4.x branch from ea8e50d to 83136a7 Compare August 17, 2024 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants