You've already forked crontab-ui
mirror of
https://github.com/alseambusher/crontab-ui.git
synced 2025-12-15 11:43:58 +08:00
restore backup
This commit is contained in:
@@ -115,6 +115,23 @@ function doBackup(){
|
||||
});
|
||||
}
|
||||
|
||||
function delete_backup(db_name){
|
||||
messageBox("<p> Do you want to delete this backup? </p>", "Confirm delete", null, null, function(){
|
||||
$.get(routes.delete_backup, {db: db_name}, function(){
|
||||
location = routes.root;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
function restore_backup(db_name){
|
||||
messageBox("<p> Do you want to restore this backup? </p>", "Confirm restore", null, null, function(){
|
||||
$.get(routes.restore_backup, {db: db_name}, function(){
|
||||
location = routes.root;
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// script corresponding to job popup management
|
||||
var schedule = "";
|
||||
var job_command = "";
|
||||
|
||||
Reference in New Issue
Block a user