hawkbit icon indicating copy to clipboard operation
hawkbit copied to clipboard

Controller file upload

Open epoch1970 opened this issue 6 years ago • 1 comments

Original gitter thread here

A feature by which an HB server could request a device to upload data back to the server. The device could refuse or comply, downloading and executing a payload capable of capturing the requested data. Upon completion, the device would send the data back to the HB server.

Use cases:

  1. store locally generated data, such as user preferences, to allow complete reinstall (OS+apps+prefs) of a device in case of disaster.
  2. receive logfiles from a device, allowing for remote troubleshooting.

The data would be stored in the HawkBit database and available to the HB GUI operator.

Case 1: the uploaded data could be ciphered. Data could be downloaded again as-is to the same device (e.g. disaster recovery scenario) or possibly to other devices (e.g. adding new devices to a site, with site-wide presets taken from an existing device)

Thanks again for a great project.

epoch1970 avatar Sep 20 '18 15:09 epoch1970

Thanks for raising this issue. Indeed hawkBit already has device authentication and a file store so it would make totally sense if devices could upload certain type of files in a separate space for e.g. troubleshooting

schabdo avatar Sep 20 '18 15:09 schabdo