MCPcopy
hub / github.com/alseambusher/crontab-ui / restore_backup

Function restore_backup

public/js/script.js:218–224  ·  view source on GitHub ↗
(db_name)

Source from the content-addressed store, hash-verified

216}
217
218function restore_backup(db_name) {
219 messageBox('<p> Do you want to restore this backup? </p>', 'Confirm restore', null, null, function() {
220 $.get(routes.restore_backup, {db: db_name}, function() {
221 location = routes.root;
222 });
223 });
224}
225
226function import_db() {
227 messageBox(

Callers

nothing calls this directly

Calls 1

messageBoxFunction · 0.85

Tested by

no test coverage detected