KMP PHP API Reference

TenantBackupRestorerInterface

Table of Contents

Methods

restore()  : array<string, mixed>
Restore a decrypted tenant backup into the target tenant database.
validate()  : void
Validate a decrypted tenant backup and its target without mutating data.

Methods

restore()

Restore a decrypted tenant backup into the target tenant database.

public restore(TenantMetadata $targetTenant, SensitiveString $databasePassword, string $backupPath[, callable(array<string, mixed>): void|null $progressReporter = null ]) : array<string, mixed>
Parameters
$targetTenant : TenantMetadata
$databasePassword : SensitiveString
$backupPath : string
$progressReporter : callable(array<string, mixed>): void|null = null
Return values
array<string, mixed>

Restore statistics

On this page

Search results