(bugfix): fixed readme code block
This commit is contained in:
parent
f4d79ff568
commit
0654476cf0
79
README.md
79
README.md
@ -25,49 +25,50 @@ A C# application designed to facilitate backup and restore operations to an LTO
|
|||||||
```
|
```
|
||||||
2. Ensure `.NET8 SDK` is installed on your system.
|
2. Ensure `.NET8 SDK` is installed on your system.
|
||||||
3. Prepare a `configuration.json` file in the application directory with the following structure:
|
3. Prepare a `configuration.json` file in the application directory with the following structure:
|
||||||
```json
|
|
||||||
{
|
```json
|
||||||
"TapePath": "\\\\.\\Tape0",
|
{
|
||||||
"WriteDelay": 100,
|
"TapePath": "\\\\.\\Tape0",
|
||||||
"Backups": [
|
"WriteDelay": 100,
|
||||||
{
|
"Backups": [
|
||||||
"Name": "Normal test",
|
{
|
||||||
"Barcode": "",
|
"Name": "Normal test",
|
||||||
"LTOGen": "LTO5",
|
"Barcode": "",
|
||||||
"Source": {
|
"LTOGen": "LTO5",
|
||||||
"LocalPath": {
|
"Source": {
|
||||||
"Path": "F:\\LTO\\Backup"
|
"LocalPath": {
|
||||||
}
|
"Path": "F:\\LTO\\Backup"
|
||||||
},
|
|
||||||
"Destination": {
|
|
||||||
"LocalPath": {
|
|
||||||
"Path": "F:\\LTO\\Restore"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
"Destination": {
|
||||||
"Name": "Network test",
|
"LocalPath": {
|
||||||
"Barcode": "",
|
"Path": "F:\\LTO\\Restore"
|
||||||
"LTOGen": "LTO5",
|
|
||||||
"Source": {
|
|
||||||
"RemotePath": {
|
|
||||||
"Path": "\\\\nassrv0001.corp.maks-it.com\\data-1\\Users",
|
|
||||||
"PasswordCredentials": {
|
|
||||||
"Username": "",
|
|
||||||
"Password": ""
|
|
||||||
},
|
|
||||||
"Protocol": "SMB"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Destination": {
|
|
||||||
"LocalPath": {
|
|
||||||
"Path": "F:\\LTO\\Restore"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
},
|
||||||
}
|
{
|
||||||
```
|
"Name": "Network test",
|
||||||
|
"Barcode": "",
|
||||||
|
"LTOGen": "LTO5",
|
||||||
|
"Source": {
|
||||||
|
"RemotePath": {
|
||||||
|
"Path": "\\\\nassrv0001.corp.maks-it.com\\data-1\\Users",
|
||||||
|
"PasswordCredentials": {
|
||||||
|
"Username": "",
|
||||||
|
"Password": ""
|
||||||
|
},
|
||||||
|
"Protocol": "SMB"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Destination": {
|
||||||
|
"LocalPath": {
|
||||||
|
"Path": "F:\\LTO\\Restore"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user