interface
sqlite.BackupOptions
interface BackupOptions
- progress?: (progressInfo: BackupProgressInfo) => void
An optional callback function that will be called after each backup step. The argument passed to this callback is an
ObjectwithremainingPagesandtotalPagesproperties, describing the current progress of the backup operation. - source?: string
Name of the source database. This can be
'main'(the default primary database) or any other database that have been added withATTACH DATABASE - target?: string
Name of the target database. This can be
'main'(the default primary database) or any other database that have been added withATTACH DATABASE