-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
35 lines (31 loc) · 1 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
config:
# folder where the dump files will be stored
dumpFolder: "./out"
# optional: allows you to specify the max number of jobs to run at once
jobLimit: 1
# optional: allows you start an http server and trigger jobs via an api
httpServer:
enabled: true
jobs:
testRegex:
# Database type: postgres, mysql, mariadb
dbType: postgres
# Match method: regex, exact
matchMethod: regex
# Match string
match: "^test-postgres"
# Cron schedule
cron: "*/5 * * * *"
# optional: allows you to specify a custom db user for cmd to use
dbUser: "postgres"
# optional: allows you to specify a custom db password for cmd to use
# postgres shouldn't need this, but mysql and mariadb will
dbPassword: "postgres"
# optional: allows you to specify additional arguments to pass to the dump cmd
dbAdditionalArgs: "--clean"
# optional: you can specify multiple jobs
textExact:
dbType: postgres
matchMethod: exact
match: "postgres"
cron: "*/5 * * * *"