OpenHausIO / backend

HTTP API for the OpenHaus SmartHome/IoT solution
https://docs.open-haus.io
6 stars 2 forks source link

On staging installation backup route does not include plugins folder #470

Closed mStirner closed 5 months ago

mStirner commented 5 months ago

No matter what you put in the URL, curl -X POST -v "http://open-haus.lan/api/system/backup/export?includes[]=plugins&includes[]=env&includes[]=database" > backup.tgz or just curl -X POST -v "http://open-haus.lan/api/system/backup/export > backup.tgz in the tgz archive there is no plugin folder.

mStirner commented 5 months ago

Staging installation uses node.js v16, in v16 there is no recursiv option: https://nodejs.org/docs/latest-v16.x/api/fs.html#fsreaddirsyncpath-options