Backup tasmota configuration over MQTT
  • Nix 50%
  • Rust 50%
Find a file
2024-10-30 19:41:28 +01:00
.github/workflows flake reorg + updates 2024-10-30 19:35:56 +01:00
src better error reporting 2024-10-30 19:41:28 +01:00
.envrc init 2024-01-27 17:50:50 +01:00
.gitignore fix mqtt password file 2024-01-27 18:48:21 +01:00
Cargo.lock flake reorg + updates 2024-10-30 19:35:56 +01:00
Cargo.toml flake reorg + updates 2024-10-30 19:35:56 +01:00
flake.lock flake reorg + updates 2024-10-30 19:35:56 +01:00
flake.nix flake reorg + updates 2024-10-30 19:35:56 +01:00
module.nix flake reorg + updates 2024-10-30 19:35:56 +01:00
overlay.nix flake reorg + updates 2024-10-30 19:35:56 +01:00
package.nix flake reorg + updates 2024-10-30 19:35:56 +01:00
README.md flake reorg + updates 2024-10-30 19:35:56 +01:00

tasmota-backup

Backup tasmota configuration over MQTT

Usage

tasmota-backup /path/to/config.toml

config.toml:

[output]
target = "/path/to/output-directory"

[mqtt]
hostname = "mqtt.example.com"
port = 1883 # optional, defaults to 1883
username = "backup"
password = "mqtt-password"
# or load the password from an external file
# password-file = "/path/to/mqtt-password"

[device]
password = "device-password" # the device password is the MQTT password used by the tasmota device
# or load the password from an external file
# password-file = "/path/to/device-password"

A .dmp for every discovered device file will be written to the configured output directory.

The output files should be stable as long as the device configuration isn't changed and the backup program will not overwrite existing unchanged files.