Skip to content

Commit 9eb5410

Browse files
committed
fix bug
1 parent 5b4b110 commit 9eb5410

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

addons/mysql/dataprotection/mysql-mydumper.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ mydumper -h ${DP_DB_HOST} -u ${DP_DB_USER} -p ${DP_DB_PASSWORD} -P ${DP_DB_PORT}
3939
2> >(tee /tmp/mydumper.log >&2) | datasafed push -z zstd-fastest - "/${DP_BACKUP_NAME}.mydumper.zst"
4040

4141
TOTAL_SIZE=$(datasafed stat / | grep TotalSize | awk '{print $2}')
42-
echo "{\"totalSize\":\"$TOTAL_SIZE\"}" >"${DP_BACKUP_INFO_FILE}"
43-
rm -rf ${TMP_DIR}
42+
echo "{\"totalSize\":\"$TOTAL_SIZE\"}" >"${DP_BACKUP_INFO_FILE}"

addons/mysql/dataprotection/mysql-myloader.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/******************* 💫 Codegeex Inline Diff *******************/
21
#!/bin/bash
32
set -e
43
set -o pipefail

0 commit comments

Comments
 (0)