Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Microsoft.Data.Sqlite: BackupDatabase should allow reporting of progress #14178

Closed
joelverhagen opened this issue Dec 15, 2018 · 1 comment
Closed

Comments

@joelverhagen
Copy link
Member

According to the backup API page on SQLite's website, sqlite3_backup_remaining and sqlite3_backup_pagecount can be used to calculate the progress after each invocation of sqlite3_backup_step:

Completion = 100% * (pagecount() - remaining()) / pagecount()

It would be nice if there was an overload to the BackupDatabase method that accepted a delegate for handling progress at every step. This could be logged, dropped in a UI progress bar, etc.

This is probably dependent on #13834.

@bricelam
Copy link
Contributor

Closing as a duplicate of #13834 since it also mentions adding progress.

@bricelam bricelam removed this from the Backlog milestone Jan 25, 2019
@bricelam bricelam removed their assignment Jan 25, 2019
@ajcvickers ajcvickers reopened this Oct 16, 2022
@ajcvickers ajcvickers closed this as not planned Won't fix, can't repro, duplicate, stale Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants