From 75c1a80ca730b1ce196a3c7317c15f15af77c6ad Mon Sep 17 00:00:00 2001 From: Danny Tsang <567982+dannytsang@users.noreply.github.com> Date: Fri, 24 Nov 2023 04:08:32 +0000 Subject: [PATCH] Added note of potential loss of data when change database. (#29982) --- source/_integrations/recorder.markdown | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/source/_integrations/recorder.markdown b/source/_integrations/recorder.markdown index 59fe7a248ef..c562b77522f 100644 --- a/source/_integrations/recorder.markdown +++ b/source/_integrations/recorder.markdown @@ -32,6 +32,12 @@ Although SQLAlchemy supports database solutions in addition to the ones supporte The default, and recommended, database engine is [SQLite](https://www.sqlite.org/) which does not require any configuration. The database is stored in your Home Assistant configuration directory ('/config/') and is named `home-assistant_v2.db`. +
+ +Changing database used by the recorder may result in losing your existing history. Migrating data is not supported. + +
+ To change the defaults for the `recorder` integration in your installation, add the following to your `configuration.yaml` file: ```yaml