-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbackup.config.json
26 lines (26 loc) · 1.22 KB
/
backup.config.json
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
{
// authentication for the MDBBM system
"auth": {
"username" : "admin", // user name of the system
"password": "admin", // user password of the system
"token_exp_time": 3600000 // token expiration time (ms)
},
// the database info of the local database,
// local database is used to store the backup configuartions, logs and all the backup data
"database": {
"server": "localhost", // MongoDB server address
"port": 27017, // MongoDB server port
// username: "", // username
// password: "", // password
// authDB: "amin", // authentication DB
"backup_config_db": "backup", // database that is used to store the configurations, logs and copy databases data.
"database_backup_roles": ["readWrite", "dbOwner"], // the role that can backup a specific database
"all_database_backup_roles": ["readWriteAnyDatabase"] // the role that can backup all the databases
},
// configuration for MDBBM server
"server": {
"port": 8082, // the port number that MDBBM will listen at
"interval": 2000, // the interval time that MDBBM scans the task pool (ms)
"logLevel": "info" // log level of the system
}
}