ioBroker / ioBroker.node-red

Instantiate the server with node-red
Apache License 2.0
52 stars 27 forks source link

Restoring NodeRed - automatically restore missing modules and data outside adapter config #321

Closed mickym2 closed 8 months ago

mickym2 commented 2 years ago

Instead of using the adapter config, there are in general a lot more advantages if the original pallet-manager can be used and in addition npm modules are installed automatically when used in function nodes. Why is the original package.json not restored in general and a npm install to restore all missing node_modules in the specific NodeRed instance.

In addition - the whole directory should be restored (except the node_modules directory). The lib folder with own flow libraries and other node specific configurations are lost as well.

Corresponding issue is opened here: https://github.com/simatec/ioBroker.backitup/issues/730

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions. Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

mickym2 commented 8 months ago

In my opinion it is fixed with separate NodeRed backup in backitup adapter.