mirror of
https://github.com/tiredofit/docker-db-backup.git
synced 2025-12-23 06:03:43 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28ed6c3bb8 | ||
|
|
c1bdf26598 |
12
CHANGELOG.md
12
CHANGELOG.md
@@ -1,3 +1,15 @@
|
||||
## 3.2.5 2022-04-23 <dave at tiredofit dot ca>
|
||||
|
||||
### Changed
|
||||
- Fix for restore still not working with DB_PORT variable
|
||||
|
||||
|
||||
## 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>
|
||||
|
||||
### Changed
|
||||
|
||||
@@ -106,7 +106,7 @@ backup_influx() {
|
||||
target=influx_${db}_${DB_HOST#*//}_${now}
|
||||
compression
|
||||
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=$?
|
||||
check_exit_code $target_dir
|
||||
print_notice "Creating archive file of '${target_dir}' with tar ${compresion_string}"
|
||||
|
||||
@@ -66,7 +66,6 @@ EOF
|
||||
exit 0
|
||||
;;
|
||||
"-i" )
|
||||
echo "interactive mode"
|
||||
interactive_mode=true
|
||||
;;
|
||||
* )
|
||||
@@ -641,7 +640,7 @@ EOF
|
||||
2 )
|
||||
while true; do
|
||||
read -p "$(echo -e ${clg}** ${cdgy}Enter Value \(${cwh}C${cdgy}\) \| \(${cwh}E${cdgy}\) : ${cwh}${coff}) " q_dbport_menu
|
||||
case "${q_dbname_menu,,}" in
|
||||
case "${q_dbport_menu,,}" in
|
||||
c* )
|
||||
counter=1
|
||||
q_dbport=" "
|
||||
|
||||
Reference in New Issue
Block a user