Merge pull request #27 from jkaninda/develop

Refactoring
This commit is contained in:
2023-12-27 21:49:12 +01:00
committed by GitHub

View File

@@ -153,7 +153,7 @@ else
## Backup database
mysqldump -h ${DB_HOST} -P ${DB_PORT} -u ${DB_USERNAME} --password=${DB_PASSWORD} ${DB_NAME} | gzip > ${STORAGE_PATH}/${DB_NAME}_${TIME}.sql.gz
info "$TIME: ${DB_NAME}_${TIME}.sql.gz" | tee -a "${STORAGE_PATH}/history.txt"
echo "$TIME: ${DB_NAME}_${TIME}.sql.gz" | tee -a "${STORAGE_PATH}/history.txt"
info "Database has been saved"
fi
exit 0