BackupReport
The outcome of one {@see BackupManager::run()} call: the {@see BackupManifest} it produced (or attempted to), whether the run succeeded, and — when it did not — why. `hasFindings()` mirrors `!$ok`, so a host command exits non-zero on a failed backup the same way it would on a secret or a permission violation ({@see ReportInterface}).
BackupReport::__construct()
public function __construct(Milpa\Ops\Backup\BackupManifest $manifest, bool $ok, ?string $error = null):Parameters
| Name | Type | Description |
|---|---|---|
| $manifest | Milpa\Ops\Backup\BackupManifest | |
| $ok | bool | |
| $error | ?string |
BackupReport::hasFindings()
public function hasFindings(): boolTrue cuando el respaldo NO se completó — es lo único que exige acción de quien lo lea.
BackupReport::toArray()
public function toArray(): arrayEl respaldo como dato: el manifiesto, si salió bien, y el error si lo hubo.