- Updated mongo_dump_all function. Now it can use both shells: new mongosh or old mongo shell. Functions works with MongoDB 3.2+. Use mongosh for MongoDB 5.0+.
- Added mongo_dump_db function. Function works with MongoDB 3.2+.
- Added managed PostgreSQL servers support (POSTGRES_SKIP_GLOBALS env variable).
- Fixed domain detection for Backblaze
- Fixed and improved domain detection for minio/awscli
- Fixed protocol detection in rclone_sync()
- Improved domain detection in upload functions (minio/awscli/rclone)
- Metric export completely switched to pushgateway-functions
- Removed no_rmt_bckp_chck flag
- Minio-client, awscli and rclone upload functions received optional argument to disable uploaded files checking
- Fixed backup_required_space_bytes metric value generation
- Various syntax adjustments
- Fixed awscli profiles bug
- Adjusted metrics export in backup-only and upload-only scenarios.
- Proper error handling added to pushgateway_send_result().
- Fixed metrics export in upload_only and backup_only scenarios (was failing due to no values)
- Additional labels added to upload metrics (upload_util, upload_protocol, upload_domain). Auto-detection works only for awscli/rclone/minio-client for now.
- Fixed issues in the rabbitmq_backup function (files size and quantity counting).
- Updated global variables for remote backup size and files count.
- Fixed issues in the rclone_sync function (new rclone size format output in the version 1.57+).
- Added backup size counting in the remote storage for awscli_sync, minio_mirror and rclone_sync functions.
- Fixed variable name (backup_is_executing) in pushgateway_send_backup_start and pushgateway_send_backup_end functions.
- Fixed pushgateway_send_script_start function name.
- Added minio_mirror and minio_clean functions.
- Added awscli_purge_opts array and profiles usage to aws functions.
- Added backup and upload duration metrics.
- Adjusted curl calls for elasticsearch functions (missing header).
- Added function for counting files size and quantity.
- Fixed format parsing error (Pushgateway).
- Updated Pushgateway URL (resolved conflicts between scripts with the same name in difrent containers on the server).
- Updated Pushgateway function
- Fixed error handling
- Adjusted metrics generation for pushgateway.
- Renamed script_failure to backup_script_failure for consistency.
- Updated Pushgateway function
- Bugs fixed
- Added pushgateway functions
- Added rabbitmq_backup function. It installs rabbitmqadmin if necessary, exports RabbitMQ configuration, and compresses RabbitMQ datadir.
- Fixed password extraction from /root/.my.cnf for mysql_xtra_backup_db and mysql_xtra_backup_all functions
- Added a new version of mongo_dump_all function. The old version was renamed to mongo_dump_all_old. The new version works faster and requires less disk space and disk utilization for the dumping process.
- Added mysql_xtra_backup_opts array to the mysql_xtra_backup_db and mysql_xtra_backup_all functions
Updated rclone_purge function (added rclone_purge_opts array) Updated excludes for shellcheck
- Added mysql_lxc_hotcopy_all function
- Updated rclone_sync function
- Fixed shellcheck issues
- Updated pg_dump_all function
- Deleted deprecated functions for: s3cmd, swift and supload
- Added pg_repl_ctl function (set/remove replication pause for PostgreSQL)
- Updated PostgreSQL functions (added pg_repl_ctl usage)
- Added new functions inc_compress_dir, consul_backup and rsync_dir
- Marked as deprecated functions for s3cmd, swift and supload utilities
- Remade detect_type function
- Updated Rclone functions
- Added default backup scheme to the library: 1 local backup, 7 daily backups in storage, 4 weekly backups in storage, 3 monthly backups in storage
- Added clickhouse_dump_all function
- Fixed bug in selectel_upload function
- Remade archiver choosing mechanism, added pbzip2 threads autoscaling
- Fixed bug because of which number of pbzip2 threads can't be setted
- Updated custom.backup template
- Added opportunity to disable archiving for MySQL dumps
- Added make_flock, detect_type and main functions
- Added custom.backup template
- Updated installer
- Added functions for rdiff-backup (increment backups)
- Added functions for elasticsearch backup
- Improved mongo_dump_all function (the excludes of DB list)
- A lot of variables changed to arrays (tar_opts e.g.)
- Fixed ShellCheck issues
- Added gitlab_backup function
- Fixed awscli_sync, ftp_clean_dir and mysql_xtra_backup_* functions