Signed-off-by: Riccardo Di Dato <r.didato@asdynamics.it>
This commit is contained in:
Riccardo Di Dato
2017-08-11 19:43:04 +02:00
parent d653f36a4b
commit 6093cd168e
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -96,9 +96,9 @@ $config->api->account = $backupSystem->account;
$config->api->passphrase = $backupSystem->passphrase;
// CBS 2
$config->cbs = new stdClass();
$config->cbs->keyFile = $config->paths->common . "/" . $cbs2->keyfile;
$config->cbs->serverPort = $cbs2->serverPort;
$config->cbs2 = new stdClass();
$config->cbs2->keyFile = $config->paths->common . "/" . $cbs2->keyfile;
$config->cbs2->serverPort = $cbs2->serverPort;
+1
View File
@@ -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");