Skip to content

Commit

Permalink
Add "backup" section to config.ts for the BackupDb.sh script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Misterblue committed Jan 9, 2021
1 parent 2be04a3 commit 715e9fb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/config.ts
Expand Up @@ -76,6 +76,12 @@ export let Config = {
'db-authdb': 'admin',
'db-connection': '' // connection string replaces above if supplied
},
'backup': {
"backup-user": "backuper", // database backup user account (for BackupDb.sh)
"backup-pw": "nooneknowsit", // database backup user password (for BackupDb.sh)
"backup-dir": "directoryName", // Backup file directory. Optional. Defaults to "./DatabaseBackup"
"authenticationDatabase": "databaseName" // auth db for backup user. Optional. Defaults to "admin"
},
'debug': {
'loglevel': 'info',

Expand Down

0 comments on commit 715e9fb

Please sign in to comment.