animeic 1 year ago
parent
commit
3765cd0c9d
1 changed files with 20 additions and 0 deletions
  1. 20 0
      config/pay-mongo[all].yaml

+ 20 - 0
config/pay-mongo[all].yaml

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