aries / net.globalid.aries.backup / BackupService / createBackup

createBackup

abstract fun createBackup(agent: Agent, directory: String): Single<BackupInfo>

Creates a wallet backup in the provided directory.

Parameters

agent - to create the backup for.

directory - to store the backup in.

Return
Single of a BackupInfo, the info about the backup.

abstract fun createBackup(agent: Agent, directory: String, keySeed: String): Single<BackupInfo>

Creates a wallet backup in the provided directory.

Parameters

agent - to create the backup for.

directory - to store the backup in.

keySeed - is the key seed for creating backup

Return
Single of a BackupInfo, the info about the backup.