Pprogress
Bun

property

sqlite.BackupOptions.progress

progress?: (progressInfo: BackupProgressInfo) => void

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.