diff --git a/DefaultFiles/config.json b/DefaultFiles/config.json new file mode 100644 index 0000000..da6c245 --- /dev/null +++ b/DefaultFiles/config.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/config/config.json b/config/config.json index 6cbb73d..da6c245 100644 --- a/config/config.json +++ b/config/config.json @@ -1,21 +1,21 @@ { - "localBackupPath": "", "sqlConfig": { "enableSQL": false, - "sql-address": "", - "sql-port": 0, - "database": "", - "db-user": "", - "db-password": "" + "sqlType": "mariadb", + "sql-address": "sql-address", + "sql-port": 33000, + "database": "database-name", + "db-user": "db-user", + "db-password": "db-password" }, "foldersToBackup": [ { - "backupName": "", - "folderPath": "", - "remoteStorageType": "", - "remoteTargetPath": "", - "createLocalBackup": false, - "localTargetPath": "" + "backupName": "your-backup", + "folderPath": "/path/to/folder/to/backup", + "remoteStorageType": "remote-type", + "remoteTargetPath": "remote/target/path", + "createLocalBackup": true, + "localTargetPath": "/path/to/local/bak" } ] } \ No newline at end of file