Hacker News new | ask | show | jobs
by arjie 15 days ago
What do you backup from your Home Assistant? The default backups are huge, but I finally settled for just the config and I leave the videos and caches off. I also leave off all the HACS downloaded repos. I'm wondering if I'm missing out by doing what I'm doing.

What's in the DB that makes the HA DB that big? You keep lots of historical time-series?

1 comments

I've got quite a lot of historical data, yes. I don't back up `media` or `share`, but I do back up everything else using the automatic backup feature. Automatic backups are around 11GB each. That includes all the "apps", which includes a whole load of data that's not really related to HA :).

The SQLite backup script is part of my separate backup routine that predates HA's backups, and eventually makes it into a Borg backup hosted on rsync.net. Belt and braces.

Thank you for responding. Yeah I found that the HA automatic backup system creates extra large backups.

I have only my own version of your SQLite backup. I suppose I shall learn the risks of this method with the first failure haha!