chiefwigms / picobrew_pico

MIT License
149 stars 63 forks source link

Issue #138 - include a backup recipe and session file capability #335

Closed tmack8001 closed 2 years ago

tmack8001 commented 2 years ago

Haven't exposed to the UI, but for now folks that want to backup their recipe and session files without using samba... can do so from http://<ip-hostname>/backup/recipes and http://<ip-hostname>/backup/sessions which will appropriately zip up the existing app/recipes and app/sessions folders respectfully and provide the resulting file as a download.

I've also found that send_file() has arguments to setup no-cache headers and the correct "download as file" headers so no need to create a manual response structure with headers instead leveraging the optional arguments of send_file().

image image

image image