From 9567d8255393d34f3f24a2676ec2455d77692977 Mon Sep 17 00:00:00 2001 From: datafx Date: Tue, 2 Oct 2018 12:27:19 -0400 Subject: [PATCH] Add warning about recovery model with MSSQL Server (#6443) * Add warning about recovery model with MSSQL Server Added warning to make users aware that the default recovery model in MSSQL server will grow the transaction log until the disk runs out of space. Suggested that users switch to simple recovery to prevent this issue. * Minor changes --- source/_components/recorder.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_components/recorder.markdown b/source/_components/recorder.markdown index d843e6f1200..d5a92093bd1 100644 --- a/source/_components/recorder.markdown +++ b/source/_components/recorder.markdown @@ -167,6 +167,10 @@ Unix Socket connections always bring performance advantages over TCP, if the dat

If you want to use Unix Sockets for PostgreSQL you need to modify the `pg_hba.conf`. See [PostgreSQL](#postgresql)

+

+If you are using the default `FULL` recovery model for MS SQL Server you will need to manually backup your log file to prevent your transaction log from growing too large. It is recommended you change the recovery model to `SIMPLE` unless you are worried about data loss between backups. +

+ ### {% linkable_title Database startup %} If you are running a database server instance on the same server as Home Assistant then you must ensure that this service starts before Home Assistant. For a Linux instance running Systemd (Raspberry Pi, Debian, Ubuntu and others) then you should edit the service file.