mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-21 21:33:28 +01:00
Release 3.2.4 - See CHANGELOG.md
This commit is contained in:
@@ -1,3 +1,9 @@
|
|||||||
|
## 3.2.4 2022-04-21 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
- Add -portable flag when backing up Influx
|
||||||
|
|
||||||
|
|
||||||
## 3.2.3 2022-04-21 <dave at tiredofit dot ca>
|
## 3.2.3 2022-04-21 <dave at tiredofit dot ca>
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ backup_influx() {
|
|||||||
target=influx_${db}_${DB_HOST#*//}_${now}
|
target=influx_${db}_${DB_HOST#*//}_${now}
|
||||||
compression
|
compression
|
||||||
print_notice "Dumping Influx database: '${db}'"
|
print_notice "Dumping Influx database: '${db}'"
|
||||||
influxd backup ${influx_compression} ${bucket} -host ${DB_HOST}:${DB_PORT} ${EXTRA_OPTS} "${TEMP_LOCATION}"/"${target_dir}"
|
influxd backup ${influx_compression} ${bucket} -portable -host ${DB_HOST}:${DB_PORT} ${EXTRA_OPTS} "${TEMP_LOCATION}"/"${target_dir}"
|
||||||
exit_code=$?
|
exit_code=$?
|
||||||
check_exit_code $target_dir
|
check_exit_code $target_dir
|
||||||
print_notice "Creating archive file of '${target_dir}' with tar ${compresion_string}"
|
print_notice "Creating archive file of '${target_dir}' with tar ${compresion_string}"
|
||||||
|
|||||||
Reference in New Issue
Block a user