refactor(Config(): Overhauled config

This commit is contained in:
netbenix 2021-12-31 15:33:30 +01:00
parent 2633c2222f
commit cfe9637e09
2 changed files with 33 additions and 12 deletions

21
DefaultFiles/config.json Normal file
View 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"
}
]
}