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().
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
andhttp://<ip-hostname>/backup/sessions
which will appropriately zip up the existingapp/recipes
andapp/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 ofsend_file()
.