diff --git a/build-image/mysql/entrypoint.sh b/build-image/mysql/entrypoint.sh index 3cf7292..33bccb5 100755 --- a/build-image/mysql/entrypoint.sh +++ b/build-image/mysql/entrypoint.sh @@ -4,7 +4,7 @@ datetime=`date +%Y%m%d%H` mysqldump -h ${HOST} -P ${PORT} -u backup -p${PASSWORD} --single-transaction --set-gtid-purged=OFF --all-databases > bfs-application-${datetime}.sql if (($?==0));then - aws s3 cp bfs-application-${datetime}.sql s3://bfs-pkg-storage/mysql/history/ + aws s3 cp bfs-application-${datetime}.sql s3://bfs-pkg-storage/mysql/backup/ else echo "Backup to failed" exit 1