Backup

Exposes the Online Backup API.

Types

Link copied to clipboard
object Companion

Provides methods to initializes a Backup.

Properties

Link copied to clipboard
abstract val pageCount: Int

Returns the total number of pages in the source database as of the most recent call to step.

Link copied to clipboard
abstract val remaining: Int

Returns the number of pages still to be backed up as of the most recent call to step.

Functions

Link copied to clipboard
abstract override fun close()

Releases all resources associated with this backup.

Link copied to clipboard
abstract fun step(count: Int)

Copies up to count pages between the source and destination databases.