Hi,
I’m using HA now for a couple of years and I love what has been done to it. I am missing a crucial feature (maybe it’s there and I don’t know). What I am missing is a reliable way to backup the database. My HA crashed quite few times (was still on an SD card) and every time I lost the data (energy consumption etc.). I switched then to an external SSD. this was much better only one crash. I run HA on a PI but planning to switch to Asus NUC hoping this is more stable and faster. I’m planning to have two SSD in it. One for HA and the database. the second I would like to have a copy of the database, like in a kind of RAID 1. If the HA crashes I can use the database backup from the second SSD. Is this possible?
Yes. If your data is important, verified copies of your backup should be kept. Whether you store them to a USB stick, network drive, the cloud, a Samba share, wherever, regular snapshots, preferably automated should be part of your computing regime. Having two drives connected to the one computer can cause difficulties if the controller or power supply become faulty, especially if the drives are encrypted and locked to the hardware.
Automated HomeAssistant backup functionality was introduced a year ago, and is switched on by default. You need to reconfigure it to backup to another media however.
Vatican bank motto: Jesus saves, so should you!
1 Like