@@ -161,13 +161,13 @@ |
||
161 | 161 | { |
162 | 162 | $executable = new Executable\Arangodump($this->pathToArangodump); |
163 | 163 | $executable->useEndpoint($this->endpoint) |
164 | - ->credentials($this->username, $this->password) |
|
165 | - ->dumpDatabase($this->database) |
|
166 | - ->dumpCollections($this->collections) |
|
167 | - ->disableAuthentication($this->disableAuthentication) |
|
168 | - ->includeSystemCollections($this->includeSystemCollections) |
|
169 | - ->dumpData($this->dumpData) |
|
170 | - ->dumpTo($this->getDumpDir($target)); |
|
164 | + ->credentials($this->username, $this->password) |
|
165 | + ->dumpDatabase($this->database) |
|
166 | + ->dumpCollections($this->collections) |
|
167 | + ->disableAuthentication($this->disableAuthentication) |
|
168 | + ->includeSystemCollections($this->includeSystemCollections) |
|
169 | + ->dumpData($this->dumpData) |
|
170 | + ->dumpTo($this->getDumpDir($target)); |
|
171 | 171 | return $executable; |
172 | 172 | } |
173 | 173 |
@@ -96,12 +96,12 @@ |
||
96 | 96 | ); |
97 | 97 | } else { |
98 | 98 | $executable->fromPath($this->getRsyncLocation($target)) |
99 | - ->toHost($this->host) |
|
100 | - ->toPath($this->path) |
|
101 | - ->toUser($this->user) |
|
102 | - ->compressed(!$target->shouldBeCompressed()) |
|
103 | - ->removeDeleted($this->delete) |
|
104 | - ->exclude($this->excludes); |
|
99 | + ->toHost($this->host) |
|
100 | + ->toPath($this->path) |
|
101 | + ->toUser($this->user) |
|
102 | + ->compressed(!$target->shouldBeCompressed()) |
|
103 | + ->removeDeleted($this->delete) |
|
104 | + ->exclude($this->excludes); |
|
105 | 105 | } |
106 | 106 | return $executable; |
107 | 107 | } |
@@ -72,10 +72,10 @@ |
||
72 | 72 | $executable = new Tar($this->pathToCommand); |
73 | 73 | $executable->archiveDirectory($this->path); |
74 | 74 | $executable->archiveTo($this->getArchiveFile($target)) |
75 | - ->useCompression( |
|
76 | - $target->shouldBeCompressed() ? $target->getCompression()->getCommand() : '' |
|
77 | - ) |
|
78 | - ->removeSourceDirectory(true); |
|
75 | + ->useCompression( |
|
76 | + $target->shouldBeCompressed() ? $target->getCompression()->getCommand() : '' |
|
77 | + ) |
|
78 | + ->removeSourceDirectory(true); |
|
79 | 79 | return $executable; |
80 | 80 | } |
81 | 81 |