Skip to content

Commit

Permalink
PATCH: fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnysideup committed Apr 24, 2019
1 parent 3b0f3a4 commit 660474e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/model/DatabasebackupLog.php
Expand Up @@ -155,6 +155,8 @@ public function onBeforeWrite()
if ($fileLocation = $this->getFullLocationWithExtension()) {
$fileLocation = $this->cycleDatabaseBackupFiles($fileLocation);
global $databaseConfig;
print_r($databaseConfig);
die('asdf');
$compression = $this->Config()->get("compression");
if ($compression == "gzip") {
$command = "mysqldump -u ".$databaseConfig["username"]." -p".$databaseConfig["password"]." ".$databaseConfig["database"]." | gzip > ".$fileLocation;
Expand Down

0 comments on commit 660474e

Please sign in to comment.