An optional callback function that will be called after each backup step. The argument passed to this callback is an Object
with remainingPages
and totalPages
properties, describing the current progress of the backup operation.
interface
sqlite.BackupOptions
interface BackupOptions
- progress?: (progressInfo: BackupProgressInfo) => void
- 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