home-assistant: Configure BURP backups
Take a snapshot of the history database first, then back up everything in `/var/lib/homeassistant`.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
|
||||
sqlite3 /var/lib/homeassistant/home-assistant_v2.db \
|
||||
".backup '/var/lib/homeassistant/home-assistant_v2.db.bak'"
|
||||
Reference in New Issue
Block a user