@@ -71,10 +71,10 @@ |
||
| 71 | 71 | $this->executable = new Tar($this->pathToCommand); |
| 72 | 72 | $this->executable->archiveDirectory($this->path); |
| 73 | 73 | $this->executable->archiveTo($this->getArchiveFile($target)) |
| 74 | - ->useCompression( |
|
| 75 | - $target->shouldBeCompressed() ? $target->getCompressor()->getCommand() : '' |
|
| 76 | - ) |
|
| 77 | - ->removeSourceDirectory(true); |
|
| 74 | + ->useCompression( |
|
| 75 | + $target->shouldBeCompressed() ? $target->getCompressor()->getCommand() : '' |
|
| 76 | + ) |
|
| 77 | + ->removeSourceDirectory(true); |
|
| 78 | 78 | } |
| 79 | 79 | return $this->executable; |
| 80 | 80 | } |
@@ -220,19 +220,19 @@ |
||
| 220 | 220 | if (null == $this->executable) { |
| 221 | 221 | $this->executable = new Executable\Mysqldump($this->pathToMysqldump); |
| 222 | 222 | $this->executable->credentials($this->user, $this->password) |
| 223 | - ->useHost($this->host) |
|
| 224 | - ->useQuickMode($this->quick) |
|
| 225 | - ->lockTables($this->lockTables) |
|
| 226 | - ->dumpBlobsHexadecimal($this->hexBlob) |
|
| 227 | - ->useCompression($this->compress) |
|
| 228 | - ->useExtendedInsert($this->extendedInsert) |
|
| 229 | - ->dumpTables($this->tables) |
|
| 230 | - ->dumpDatabases($this->databases) |
|
| 231 | - ->ignoreTables($this->ignoreTables) |
|
| 232 | - ->produceFilePerTable($this->filePerTable) |
|
| 233 | - ->dumpNoData($this->noData) |
|
| 234 | - ->dumpStructureOnly($this->structureOnly) |
|
| 235 | - ->dumpTo($this->getDumpTarget($target)); |
|
| 223 | + ->useHost($this->host) |
|
| 224 | + ->useQuickMode($this->quick) |
|
| 225 | + ->lockTables($this->lockTables) |
|
| 226 | + ->dumpBlobsHexadecimal($this->hexBlob) |
|
| 227 | + ->useCompression($this->compress) |
|
| 228 | + ->useExtendedInsert($this->extendedInsert) |
|
| 229 | + ->dumpTables($this->tables) |
|
| 230 | + ->dumpDatabases($this->databases) |
|
| 231 | + ->ignoreTables($this->ignoreTables) |
|
| 232 | + ->produceFilePerTable($this->filePerTable) |
|
| 233 | + ->dumpNoData($this->noData) |
|
| 234 | + ->dumpStructureOnly($this->structureOnly) |
|
| 235 | + ->dumpTo($this->getDumpTarget($target)); |
|
| 236 | 236 | } |
| 237 | 237 | return $this->executable; |
| 238 | 238 | } |