mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Update manage backup configurations. (#5780)
This commit is contained in:
parent
ed2bf419bd
commit
cc27befcfa
7 changed files with 251 additions and 18 deletions
|
|
@ -115,17 +115,4 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
if (action ~= nil) then
|
||||
if (action == "save") then
|
||||
backup_config.save_backup()
|
||||
rest_utils.answer(rest_utils.consts.success.ok)
|
||||
elseif (action == "export") then
|
||||
backup_config.export_backup()
|
||||
elseif (action == "list") then
|
||||
backup_config.list_backup()
|
||||
end
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
return backup_config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue