Cleaning the database: rephrase (#34113)

This commit is contained in:
c0ffeeca7 2024-08-05 11:30:29 +02:00 committed by GitHub
parent 98c8ab397b
commit babb058919
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,13 +33,15 @@ Follow these steps to check the available free disk space.
## Cleaning the database
The Home Assistant database can get huge!
The Home Assistant database can become very large. Follow these steps to reduce the size of the database.
Luckily, there is a tool you can use to [purge the contents of the database](/integrations/recorder/#service-purge)
You can [filter](/integrations/recorder/#configure-filter) what you send to
the database, and even change how long it stores the data
[with the `purge_keep_days` setting](/integrations/recorder/#purge_keep_days)
1. To view the size of the current database, go to {% my system_health title="**Settings** > **System** > **Repairs**" %}.
- Select the three dots {% icon "mdi:dots-vertical" %} menu and select **System information**.
- Scroll down to the **Recorder**, and check the **Estimated database size (MiB)**.
2. [Purge the contents of the database](/integrations/recorder/#service-purge).
3. To slow down the growth of the database, [filter](/integrations/recorder/#configure-filter) what you send to
the database.
4. Change how long it stores the data, using the [`purge_keep_days` setting](/integrations/recorder/#purge_keep_days).
## Reducing space used for backups