|
1 | 1 | production: |
2 | 2 | host: localhost |
3 | 3 | port: 27017 |
4 | | - #username: |
5 | | - #password: |
6 | | - #authdb: admin |
7 | | - log_dir: /tmp |
| 4 | + #username: [auth username] (default: none) |
| 5 | + #password: [auth password] (default: none) |
| 6 | + #authdb: [auth database] (default: admin) |
| 7 | + log_dir: /var/log/mongodb-consistent-backup |
8 | 8 | backup: |
9 | 9 | method: mongodump |
10 | 10 | name: default |
11 | | - location: /opt/mongodb/backup |
12 | | - mongodump: |
13 | | - binary: /usr/bin/mongodump |
14 | | - # compression: gzip (default: true - if supported) |
15 | | - replication: |
16 | | - max_lag_secs: 5 |
17 | | - min_priority: 0 |
18 | | - max_priority: 1000 |
19 | | - hidden_only: false |
20 | | - sharding: |
21 | | - balancer: |
22 | | - wait_secs: 300 |
23 | | - ping_secs: 3 |
24 | | - oplog: |
25 | | - #compression: gzip |
26 | | - #resolver_threads: 4 |
| 11 | + location: /var/lib/mongodb-consistent-backup |
| 12 | + # mongodump: |
| 13 | + # binary: [path] (default: /usr/bin/mongodump) |
| 14 | + # compression: [none|gzip] (default: true - if supported) |
| 15 | + # threads: [1-16] (default: auto-generated - shards/cpu) |
| 16 | + #replication: |
| 17 | + # max_lag_secs: [1+] (default: 5) |
| 18 | + # min_priority: [0-999] (default: 0) |
| 19 | + # max_priority: [2-1000] (default: 1000) |
| 20 | + # hidden_only: [true|false] (default: false) |
| 21 | + #sharding: |
| 22 | + # balancer: |
| 23 | + # wait_secs: [1+] (default: 300) |
| 24 | + # ping_secs: [1+] (default: 3) |
| 25 | + #oplog: |
| 26 | + # compression: [none|gzip] (default: true - if used by backup stage) |
| 27 | + # resolver_threads: [1+] (default: 2 per CPU) |
| 28 | + # tailer: |
| 29 | + # status_interval: 30 |
27 | 30 | archive: |
28 | 31 | method: tar |
29 | | - #tar: |
30 | | - # compression: gzip |
31 | | - # threads: 2 |
| 32 | + # tar: |
| 33 | + # compression: [none|gzip] (default: gzip, none if backup is compressed) |
| 34 | + # threads: [1+] (default: 1 per CPU) |
32 | 35 | notify: |
33 | 36 | method: none |
34 | | - #nsca: |
35 | | - # server: localhost:5667 |
36 | | - # password: secret |
37 | | - # check_host: localhost |
38 | | - # check_name: mongodb_consistent_backup |
| 37 | + # nsca: |
| 38 | + # server: [host:port] (default: localhost:5667) |
| 39 | + # password: [password] |
| 40 | + # check_host: [nagios host] |
| 41 | + # check_name: [nagios check name] |
39 | 42 | upload: |
40 | 43 | method: none |
41 | | - remove_uploaded: false |
42 | | - #s3: |
43 | | - # access_key: <AWS S3 Access Key> |
44 | | - # secret_key: <AWS S3 Secret Key> |
45 | | - # bucket_name: <AWS S3 Bucket Name> |
46 | | - # bucket_prefix: / |
47 | | - # threads: 4 |
| 44 | + # remove_uploaded: [true|false] (default: false) |
| 45 | + # s3: |
| 46 | + # access_key: [AWS S3 Access Key] |
| 47 | + # secret_key: [AWS S3 Secret Key] |
| 48 | + # bucket_name: [AWS S3 Bucket Name] |
| 49 | + # bucket_prefix: [prefix] (default: /) |
| 50 | + # threads: [1+] (default: 1 per CPU) |
0 commit comments