docs(README): Updated config explanation

This commit is contained in:
netbenix 2021-12-31 17:29:12 +01:00
parent 9c8a2851bd
commit 423238bc07

View file

@ -42,21 +42,30 @@ Trello board: [Click me!](https://trello.com/b/6zWLE6Jm)
## Config Explaination ## Config Explaination
### config.json ### config.json
| Field | Type | Description | | Field | Type | Description |
|---------------------------|:----------------:|------------------------------------------------| |-----------------------|:----------------:|------------------------------------------------|
| localBackupPath | string | Path where local backups are stored | | **foldersToBackup** | ---------------- | ---------------------------------------------- |
| **sqlConfig** | ---------------- | ---------------------------------------------- | | backupName | string | .bak file name |
| enableSQL | boolean | Enable/Disables the SQL entries | folderPath | string | Path to folder which should be backed up |
| sqlType | string | See [DatabaseTypes](#database-types) | | remoteStorageType | string | See [StorageTypes](#storage-types) |
| sql-address | string | Address to the SQL Server | | remoteTargetPath | string | Sets the remotePath for remote backups |
| sql-port | uint16 | SQL Server Port | | localTargetPath | string | Sets the targetPath for local backups |
| database | string | Database name | | createLocalBackup | boolean | Sets if .bak file should also be saved locally |
| db-user | string | SQL username from user which should be used |
| db-password | string | SQL password from user which should be used | ### sql-config.json
| **foldersToBackup** | ---------------- | ---------------------------------------------- | | Field | Type | Description |
| backupName | string | .bak file name | |--------------|:----------------:|------------------------------------------------|
| folderPath | string | Path to folder which should be backed up | | enableSQL | boolean | Enable/Disables the SQL entries |
| remoteStorageType | string | See [StorageTypes](#storage-types) | | sqlType | string | See [DatabaseTypes](#database-types) |
| remoteTargetPath | string | Sets the remotePath for remote backups | | sql-address | string | Address to the SQL Server |
| localTargetPath | string | Sets the targetPath for local backups | | sql-port | uint16 | SQL Server Port |
| createLocalBackup | boolean | Sets if .bak file should also be saved locally | | database | string | Database name |
| db-user | string | SQL username from user which should be used |
| db-password | string | SQL password from user which should be used |
### azure.json
| Field | Type | Description |
|--------------------|:------:|-----------------------------------|
| fileshareName | string | The name of the Azure File Share |
| storageAccountName | string | Name of your storage account |
| storageAccountKey | string | Key for the storage account |