|
@@ -1,23 +1,23 @@
|
|
scheduler:
|
|
scheduler:
|
|
# run every day at 6:00 and 18:00 UTC
|
|
# run every day at 6:00 and 18:00 UTC
|
|
- cron: "15 17 */1 * *"
|
|
|
|
|
|
+ cron: "0 17 */1 * *"
|
|
# number of backups to keep locally
|
|
# number of backups to keep locally
|
|
retention: 14
|
|
retention: 14
|
|
# backup operation timeout in minutes
|
|
# backup operation timeout in minutes
|
|
timeout: 60
|
|
timeout: 60
|
|
target:
|
|
target:
|
|
# mongod IP or host name
|
|
# mongod IP or host name
|
|
- host: "comm-mongo-alpha"
|
|
|
|
|
|
+ host: "baishuihu-mongo"
|
|
# mongodb port
|
|
# mongodb port
|
|
port: 27017
|
|
port: 27017
|
|
# mongodb database name, leave blank to backup all databases
|
|
# mongodb database name, leave blank to backup all databases
|
|
database: ""
|
|
database: ""
|
|
# leave blank if auth is not enabled
|
|
# leave blank if auth is not enabled
|
|
username: "root"
|
|
username: "root"
|
|
- password: "alpha"
|
|
|
|
|
|
+ password: "baishuihu_vxxx"
|
|
# add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
|
|
# add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
|
|
params: "--authenticationDatabase admin"
|
|
params: "--authenticationDatabase admin"
|
|
# params: "--ssl --authenticationDatabase admin"
|
|
# params: "--ssl --authenticationDatabase admin"
|
|
|
|
|
|
# 对应数据库配置
|
|
# 对应数据库配置
|
|
- # mongodb://root:alpha@comm-mongo-alpha:27017/comm?authSource=admin
|
|
|
|
|
|
+ # mongodb://root:baishuihu_vxxx@baishuihu-mongo:27017/user?authSource=admin
|