invoke

open suspend operator override fun invoke(backupFilePath: <Error class: unknown class>, password: String?): RestoreBackupResult

Restores a valid previously created 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

backupFilePath

The absolute file system path to the backup file.

password

the password used to encrypt the original backup file. Null if the file was not encrypted.