|
@@ 109-111 (lines=3) @@
|
| 106 |
|
]; |
| 107 |
|
|
| 108 |
|
// check for configuration options |
| 109 |
|
if (isset($dir['source']['options'])) { |
| 110 |
|
$options = array_merge($options, $dir['source']['options']); |
| 111 |
|
} |
| 112 |
|
$backup->setSource(new Configuration\Backup\Source('tar', $options)); |
| 113 |
|
return $backup; |
| 114 |
|
} |
|
@@ 136-138 (lines=3) @@
|
| 133 |
|
]; |
| 134 |
|
|
| 135 |
|
// check for configuration options |
| 136 |
|
if (isset($db['source']['options'])) { |
| 137 |
|
$options = array_merge($options, $db['source']['options']); |
| 138 |
|
} |
| 139 |
|
|
| 140 |
|
$backup = new Configuration\Backup('db-' . $db['source']['connection'], false); |
| 141 |
|
$type = $this->getDatabaseSourceType($connection['driver']); |