Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95925

Sparing my SDCard but losing DB

$
0
0

@Vartkat wrote:

Hi,

I’m on Ubuntu 19 on a Rapsberry Pi 4 (2Go) running Home Assistant in Docker.
I installed log2ram (https://github.com/azlux/log2ram) to avoid too many writes on the SD Card from my Ubuntu logs, made a symblic link for home-assistant.log from HA /config to /var/log.
Log2Ram dumps the memory everyday (more often if you want) and it’s fine.

I also did

recorder:
db_url: ‘sqlite:///:memory:’

My problem is that I loose my history everytime I reboot (I’m in the process of setup).

How do I tell Home Assistant to dump the recoder to disk and how to setup how often.

Thanks

Regards

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles