refactor(Config(): Overhauled config
This commit is contained in:
parent
2633c2222f
commit
cfe9637e09
2 changed files with 33 additions and 12 deletions
21
DefaultFiles/config.json
Normal file
21
DefaultFiles/config.json
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
"sqlConfig": {
|
||||
"enableSQL": false,
|
||||
"sqlType": "mariadb",
|
||||
"sql-address": "sql-address",
|
||||
"sql-port": 33000,
|
||||
"database": "database-name",
|
||||
"db-user": "db-user",
|
||||
"db-password": "db-password"
|
||||
},
|
||||
"foldersToBackup": [
|
||||
{
|
||||
"backupName": "your-backup",
|
||||
"folderPath": "/path/to/folder/to/backup",
|
||||
"remoteStorageType": "remote-type",
|
||||
"remoteTargetPath": "remote/target/path",
|
||||
"createLocalBackup": true,
|
||||
"localTargetPath": "/path/to/local/bak"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in a new issue