| @@ 169-178 (lines=10) @@ | ||
| 166 | * @param \phpbu\App\Backup\Target $target |
|
| 167 | * @param \phpbu\App\Result $result |
|
| 168 | */ |
|
| 169 | public function simulate(Target $target, Result $result) |
|
| 170 | { |
|
| 171 | $result->debug( |
|
| 172 | 'sync backup to Azure Blob' . PHP_EOL |
|
| 173 | . ' connectionString: ********' . PHP_EOL |
|
| 174 | . ' containerName: ' . $this->containerName . PHP_EOL |
|
| 175 | ); |
|
| 176 | ||
| 177 | $this->simulateRemoteCleanup($target, $result); |
|
| 178 | } |
|
| 179 | ||
| 180 | /** |
|
| 181 | * Check if an Azure Blob Storage Container exists |
|
| @@ 137-146 (lines=10) @@ | ||
| 134 | * @param \phpbu\App\Backup\Target $target |
|
| 135 | * @param \phpbu\App\Result $result |
|
| 136 | */ |
|
| 137 | public function simulate(Target $target, Result $result) |
|
| 138 | { |
|
| 139 | $result->debug( |
|
| 140 | 'sync backup to dropbox' . PHP_EOL |
|
| 141 | . ' token: ********' . PHP_EOL |
|
| 142 | . ' location: ' . $this->path->getPath() . PHP_EOL |
|
| 143 | ); |
|
| 144 | $this->isSimulation = true; |
|
| 145 | $this->simulateRemoteCleanup($target, $result); |
|
| 146 | } |
|
| 147 | ||
| 148 | /** |
|
| 149 | * Creates the Dropbox collector. |
|