diff --git a/seafile_keeper_ext/scripts/keeper_backup.sh b/seafile_keeper_ext/scripts/keeper_backup.sh index 819d249b..ad427b93 100755 --- a/seafile_keeper_ext/scripts/keeper_backup.sh +++ b/seafile_keeper_ext/scripts/keeper_backup.sh @@ -57,7 +57,7 @@ function backup_databases () { TIMESTAMP=$(get_timestamp | tr ' ' '_') mysqldump -h${__DB_HOST__} -u${__DB_USER__} -p${__DB_PASSWORD__} -P${__DB_PORT__} --verbose ${i}-db | gzip > ${DB_BACKUP_DIR}/${TIMESTAMP}.${i}-db.sql.gz [ $? -ne 0 ] && err_and_exit "Cannot dump ${i}-db" - RECOVERY_COMMANDS+=(echo "mysql -u${__DB_USER__} -p${__DB_PASSWORD__} -P${__DB_PORT__} ${i} < ${DB_BACKUP_DIR}/${TIMESTAMP}.${i}-db.sql.gz") + RECOVERY_COMMANDS+=(echo "mysql -u${__DB_USER__} -p******** -P${__DB_PORT__} ${i} < ${DB_BACKUP_DIR}/${TIMESTAMP}.${i}-db.sql.gz") done echo_green "Databases backup is OK"