Skip to content
TasmoBackup - Tasmota Backup - Backup all your Tasmota devices in one location.
PHP TSQL Shell Dockerfile
Branch: master
Clone or download
Latest commit 8cf69e2 Jan 19, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
README.md
TasmoBackup.png
backupall.php
config.inc.php.example
createdb.php
docker-compose.yml
edit.php
index.php
install.sh
lock-open-variant.png
lock.png
scan.php
settings.inc.php
settings.php
settings.png
tasmobackup.sql

README.md

TasmoBackup

Backup the configs of all your Tasmota devices

Features

  • Add single devices
  • Discover devices
  • Backup single devices
  • Backup all devices
  • Remove devices
  • Download individual backups
  • No duplicates (based on IP)

Requirements

  • PHP
  • PHP CURL - sudo apt-get install curl
  • Mysql / MariaDB

Install

  • Clone this repo
  • Create a folder called data
  • Create a folder called data/backups
  • Chmod 777 data/backups
  • Copy config.inc.php.example to data/config.inc.php (This will prevent it being overwitten on new pulls)
  • Copy settings.inc.php to data/settings.inc.php(This will prevent it being overwitten on new pulls)
  • chmod 777 data/settings.inc.php
  • Edit config.inc.php to reflect your MYSQL server, username and password
  • Navigate to http://ipaddress:8259/createdb.php to create the database
  • Navigate to http://ipaddress:8259

Docker-compose

  • Clone this repo
  • Edit docker-compose.yml to define your MySQL information and Volume location.
  • docker-compose up -d
  • Navigate to http://ipaddress:8259/createdb.php to create the database or import the tasmobackup.sql template in this repo.
  • Navigate to http://ipaddress:8259
  • Note : If you get your MySQL details wrong at this stage, you can change them by editing config.inc.php in your data folder.

Scheduled Backups

  • backupall.php exists to do literally that.. Schedule this with your chosen means (nodered, curl, scheduled tasks etc)

Screenshots

Alt text Alt text Alt text Alt text

To-Do

  • Create install.php
  • Schedule for all backups
  • Auto Discover devices - In Progress
  • Prevent duplicates
  • Delete backups when device removed (Make sure it is accurate!)
  • Make backup location customisable
  • Edit function to change name of devices
  • Retention (Number of backups)
You can’t perform that action at this time.