Pprogress
Bun

property

sqlite.BackupOptions.progress

progress?: (progressInfo: BackupProgressInfo) => void

Callback function that will be called with the number of pages copied and the total number of pages.