add mongodb backup

main
ycz008 2024-07-26 18:53:13 +08:00
parent 3f370ed470
commit 7bbe2dcf5f
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ RUN apt update && apt install -y curl unzip && \
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \
unzip awscliv2.zip && \
./aws/install && \
curl "https://seethingx-pkg.oss-cn-beijing.aliyuncs.com/mysqldump-8.0.35-glibc2.17-x86_64.tgz" -o "mongodump.tgz" && \
curl "https://seethingx-pkg.oss-cn-beijing.aliyuncs.com/mongodump-ubuntu2204-x86_64-100.10.0.tgz" -o "mongodump.tgz" && \
tar xf mongodump.tgz -C /usr/local && \
rm -rf aws awscliv2.zip mongodump.tgz