BenoitAnastay / paperless-home-assistant-addon

Paperless Home Assistant Addon
MIT License
35 stars 7 forks source link

Consider Moving the document folder into the addon_config directory #199

Closed paviro closed 2 days ago

paviro commented 2 days ago

Hi! Historically it has been nice to be able to access the documents via the share folder but when having multiple addons that store there data there (Nextcloud does too for example) it's impossible to create a clean snapshot only containing all Paperless data.

If I for example want to create a daily backup of my Paperless documents but only a weekly one of Nextcloud this is currently impossible which is unfortunate as both contain huge amounts of data.

I think it would be good to consider moving the documents into the addon_config directory so a clean snapshot can be created.

Best, Paul

paviro commented 2 days ago

Solved this by not backing up the share folder at all in snapshots and instead backing it up separately which is even cleaner and doesn't create huge snapshots.

BenoitAnastay commented 1 day ago

Anyway it's intended that the backup save the paperless content and the share folder is also required to be able to mount remote storage.

It's more a Home Assistant issue about how it handle backups and storage mounting