pssc / ha-addon-lms

Logitech Media Server Addon for Home Assistant
GNU General Public License v3.0
56 stars 13 forks source link

reduces backup size #16

Closed mohankumargupta closed 2 years ago

mohankumargupta commented 2 years ago

Trying to fix #11 as I encountered this as well.

For me, latest version of addon (v0.0.50) still takes a backup of cache directory when taking a Full HA Backup.

This PR ensures that nothing from addon's data directory is backed up except options.json

Rather blunt, but does the job for me.

pssc commented 2 years ago

That is by design as the cache dir contains state not held else ware and not rebuildable from scratch. Also this config only affects the addon and not the config space so this wouldn't work anyway.

pssc commented 2 years ago

@mohankumargupta I am however looking at other options thankyou for taking an interest if you have any ideas please feel free to discuss them.