mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-07 20:10:03 +03:00
Added ability to backup remote DB
Added ability to restore DB
This commit is contained in:
@@ -7,8 +7,8 @@ const scheduler = require('node-schedule');
|
||||
|
||||
const TASKS = {
|
||||
backup_local_db: {
|
||||
run: utils.backupLocalDB,
|
||||
title: 'Backup Local DB',
|
||||
run: db_api.backupDB,
|
||||
title: 'Backup DB',
|
||||
job: null
|
||||
},
|
||||
missing_files_check: {
|
||||
@@ -81,7 +81,8 @@ const setupTasks = async () => {
|
||||
confirming: false,
|
||||
data: null,
|
||||
error: null,
|
||||
schedule: null
|
||||
schedule: null,
|
||||
options: {}
|
||||
});
|
||||
} else {
|
||||
// reset task if necessary
|
||||
|
||||
Reference in New Issue
Block a user