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

Backup API from driver #174

Open
ncruces opened this issue Oct 22, 2024 · 0 comments
Open

Backup API from driver #174

ncruces opened this issue Oct 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ncruces
Copy link
Owner

ncruces commented Oct 22, 2024

The backup API can be used with the database/sql driver, but it is not particularly ergonomic to do so. That's the reason behind #141.

Provide a more ergonomic alternative.

In particular, one that implements the more complicated, and harder to get right, use case: if SetMaxOpenConns is 1 for this database, do the backup incrementally, releasing the lock every few pages.

@ncruces ncruces added the enhancement New feature or request label Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant