-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Convert, backup and restore configuration data of devices flashed with [Tasmota | |
<img src="https://github.com/tasmota/decode-config/blob/master/media/pic/decode-config.png" alt="Overview" title="decode-config Overview" width="600"> | ||
|
||
<!-- markdownlint-disable MD033 --> | ||
[![master](https://img.shields.io/badge/master-v14.0.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/master) | ||
[![master](https://img.shields.io/badge/master-v14.1.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/master) | ||
[![GitHub download](https://img.shields.io/github/downloads/tasmota/decode-config/total.svg)](https://github.com/tasmota/decode-config/releases/latest) | ||
[![PyPI version](https://badge.fury.io/py/decode-config.svg)](https://badge.fury.io/py/decode-config) | ||
![PyPI downloads](https://img.shields.io/pypi/dm/decode-config?label=pypi%20downloads) | ||
|
@@ -43,7 +43,7 @@ Comparing backup files created by **decode-config** and [.dmp](#dmp-format) file | |
Using the latest development version of decode-config is only necessary if you also use the latest development version of Tasmota. | ||
|
||
<!-- markdownlint-disable MD033 --> | ||
[![development version](https://img.shields.io/badge/development-v14.0.0.4-blue.svg)](https://github.com/tasmota/decode-config/tree/development) | ||
[![development version](https://img.shields.io/badge/development-v14.1.0.0-blue.svg)](https://github.com/tasmota/decode-config/tree/development) | ||
|
||
## Table of contents | ||
<details> | ||
|
@@ -338,7 +338,7 @@ Example: | |
decode-config -c my.conf -s tasmota-4281 --backup-file Config_@d_@v | ||
``` | ||
|
||
This will create a file like `Config_Tasmota_14.0.json` (the part `Tasmota` and `14.0` will choosen related to your device configuration). | ||
This will create a file like `Config_Tasmota_14.1.json` (the part `Tasmota` and `14.1` will choosen related to your device configuration). | ||
|
||
#### Save multiple backup at once | ||
|
||
|
@@ -350,18 +350,18 @@ decode-config -c my.conf -s tasmota-4281 -o Config_@d_@v -o [email protected] -o Ba | |
|
||
creates three backup files: | ||
|
||
* `Config_Tasmota_14.0.json` using JSON format | ||
* `Config_Tasmota_14.1.json` using JSON format | ||
* `Backup_tasmota-4281.json` using JSON format | ||
* `Backup_tasmota-4281.dmp` using Tasmota configuration file format | ||
|
||
### Restore backup | ||
|
||
Reading back a previously saved backup file, use the `--restore-file <filename>` parameter. | ||
|
||
To restore the previously save backup file `Config_Tasmota_14.0.json` to device `tasmota-4281` use: | ||
To restore the previously save backup file `Config_Tasmota_14.1.json` to device `tasmota-4281` use: | ||
|
||
```bash | ||
decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_14.0 | ||
decode-config -c my.conf -s tasmota-4281 --restore-file Config_Tasmota_14.1 | ||
``` | ||
|
||
Restore operation also allows placeholders **@v**, **@d**, **@f**, **@h** or **@H** like in backup filenames so we can use the same naming as for the backup process: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters