I noticed that my HA database is mote than 1GB in size. After some analysis of database I found recorder component is not honoring my exclusion list. May be I am missing something.
recorder:
purge_days: 7
exclude:
domains:
- media_player
- automation
- sun
- group
- script
entities:
- sensor.date__time
- sensor.ha_last_restart
- sensor.appdaemon_last_restart
- sensor.energy_1_power_5_4
- sensor.energy_1_power_5_8
- sensor.energy_2_power_6_4
- sensor.energy_2_power_6_8
- camera.living_room
- camera.kitchen
- camera.porch
- camera.patio
- camera.garage