docs(README): Updated Readme

This commit is contained in:
netbenix 2021-12-23 09:30:57 +01:00
parent 7e4c05f411
commit 813dcded54

View file

@ -9,6 +9,11 @@ Trello board: [Click me!](https://trello.com/b/6zWLE6Jm)
- Log the Backup progress to a database - Log the Backup progress to a database
- Upload the files to a remote storage of your choice (see [Storage Types](#storage-types)) - Upload the files to a remote storage of your choice (see [Storage Types](#storage-types))
## Planned features for the Future!
- Backup restore
- DB Upgrade
- Service for scheduled updates
- (Maybe) a web interface
## Database Types ## Database Types
- MariaDB - MariaDB
@ -21,9 +26,9 @@ Trello board: [Click me!](https://trello.com/b/6zWLE6Jm)
## Storage types ## Storage types
- Local storage (soon) - Local storage
- Azure Blob Storage (planned)
- Azure File Share - Azure File Share
- Azure Blob Storage (planned)
- S3 Bucket (far future) - S3 Bucket (far future)
- Dropbox (far future) - Dropbox (far future)
- OneDrive (far future) - OneDrive (far future)
@ -32,24 +37,26 @@ Trello board: [Click me!](https://trello.com/b/6zWLE6Jm)
| Storage Type | Config Type | | Storage Type | Config Type |
|-------------------------|--------------------------| |-------------------------|--------------------------|
| Azure File Share | azure-fileshare | | Azure File Share | azure-fileshare |
| Local Storage | none |
## Config Explaination ## Config Explaination
### config.json ### config.json
| Field | Type | Description | | Field | Type | Description |
|---------------------|:----------------:|------------------------------------------------| |---------------------------|:----------------:|------------------------------------------------|
| localBackupPath | string | Path where local backups are stored | | localBackupPath | string | Path where local backups are stored |
| **sqlConfig** | ---------------- | ---------------------------------------------- | | **sqlConfig** | ---------------- | ---------------------------------------------- |
| enableSQL | boolean | Enable/Disables the SQL entries | enableSQL | boolean | Enable/Disables the SQL entries
| sqlType | string | See [DatabaseTypes](#database-types) | | sqlType | string | See [DatabaseTypes](#database-types) |
| sql-address | string | Address to the SQL Server | | sql-address | string | Address to the SQL Server |
| sql-port | uint16 | SQL Server Port | | sql-port | uint16 | SQL Server Port |
| database | string | Database name | | database | string | Database name |
| db-user | string | SQL username from user which should be used | | db-user | string | SQL username from user which should be used |
| db-password | string | SQL password from user which should be used | | db-password | string | SQL password from user which should be used |
| **foldersToBackup** | ---------------- | ---------------------------------------------- | | **foldersToBackup** | ---------------- | ---------------------------------------------- |
| backupName | string | .bak file name | | backupName | string | .bak file name |
| folderPath | string | Path to folder which should be backed up | | folderPath | string | Path to folder which should be backed up |
| storageType | string | See [StorageTypes](#storage-types) | | remoteStorageType | string | See [StorageTypes](#storage-types) |
| createLocalBackup | boolean | Sets if .bak file should also be saved locally | | targetPath | string | Sets the targetPath for local backups |
| createLocalBackup | boolean | Sets if .bak file should also be saved locally |