invoke

open suspend operator override fun invoke(backupRootPath: <Error class: unknown class>, metadata: BackupMetadata): RestoreBackupResult

Restores a valid previously created web backup file into the current database, respecting the current data if there is any overlap.

Return

A RestoreBackupResult indicating the success or failure of the operation.

Parameters

backupRootPath

The absolute file system path to the backup files.

metadata

Containing information about backup files