bestlibre / hassio-addons

173 stars 110 forks source link

Syncthing should backup addons data and not local #55

Open MichaelBitard opened 6 years ago

MichaelBitard commented 6 years ago

I'm not really familiar with resin os and such, but it seems that the important data regarding addons backup is in /resin-data/addons/data/, but in syncthing addon it is /resin-data/addons/local which is mounted, or am I missing something?

Except that: amazing work, thanks for this addon

bestlibre commented 6 years ago

I do not have anything in the addons/local folder. Which files do you have in it ?

MichaelBitard commented 6 years ago

I have nothing in this folder, that's why I created the issue. Syncthing addon mounts /resin-data/addons/local whereas I think it should mount /resin-data/addons/data where the data is, what do you think?

bestlibre commented 6 years ago

I don't see anything in the addon Dockerfile or entrypoint in relation with /addons/local. Perhaps it is to be able to backup local addons ? I don't use syncthing for backuping the addons, I don't know if this is a problem or not.