abstract fun createLocalBackup(agent: Agent, output: OutputStream): Single<String>
Creates a local backup and returns the information used for exporting. You need to save this information if you want to restore the backup!
The backup is saved into the backup directory as specified in agent's options. It is then copied to the output stream.
agent
- to create the backup for.
output
- is a stream to save the backup to.
Return
Single of a String, the key seed used for the backup.