1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-09 16:37:23 +01:00

show the status of backups in the control panel

This commit is contained in:
Joshua Tauberer
2014-09-01 13:06:38 +00:00
parent 4ec6692f21
commit 3853e8dd93
5 changed files with 224 additions and 84 deletions

View File

@@ -250,6 +250,12 @@ def do_updates():
"DEBIAN_FRONTEND": "noninteractive"
})
@app.route('/system/backup/status')
@authorized_personnel_only
def backup_status():
from backup import backup_status
return json_response(backup_status(env))
# APP
if __name__ == '__main__':