@@ -15,6 +15,7 @@ class SendBackupTask extends Task {
|
||||
|
||||
public static function execute(){
|
||||
$config = GlobalVariables::get("config");
|
||||
|
||||
$dbName = GlobalVariables::get("dao")->getDbName();
|
||||
$backDir = $config->paths->backup."/mongoDump";
|
||||
SystemController::shellExec("mongodump","-d $dbName -o $backDir");
|
||||
|
||||
Reference in New Issue
Block a user