|
@@ -0,0 +1,23 @@
|
|
|
+# scheduler:
|
|
|
+# # run every day at 6:00 and 18:00 UTC
|
|
|
+# cron: "51 7,18 */1 * *"
|
|
|
+# # number of backups to keep locally
|
|
|
+# retention: 14
|
|
|
+# # backup operation timeout in minutes
|
|
|
+# timeout: 60
|
|
|
+# target:
|
|
|
+# # mongod IP or host name
|
|
|
+# host: "3dshow-mongo"
|
|
|
+# # mongodb port
|
|
|
+# port: 27017
|
|
|
+# # mongodb database name, leave blank to backup all databases
|
|
|
+# database: "3dshow"
|
|
|
+# # leave blank if auth is not enabled
|
|
|
+# username: "root"
|
|
|
+# password: "3dshow"
|
|
|
+# # add custom params to mongodump (eg. Auth or SSL support), leave blank if not needed
|
|
|
+# params: "--authenticationDatabase admin"
|
|
|
+# # params: "--ssl --authenticationDatabase admin"
|
|
|
+
|
|
|
+# # mongodb://root:3dshow@124.71.139.24:37031/3dshow?authSource=admin
|
|
|
+# # mongodb://root:root@127.0.0.1:17017/wj-project?authSource=admin
|