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

Support the online backup API #95

Closed
parasyte opened this issue Jan 23, 2018 · 10 comments
Closed

Support the online backup API #95

parasyte opened this issue Jan 23, 2018 · 10 comments

Comments

@parasyte
Copy link

This came up when I was looking for a durable storage layer with hot backup capabilities. SQLite3 supports it readily: https://sqlite.org/backup.html The API just needs to be exposed to node. It looks like this (and probably other APIs) are unimplemented in all of the popular SQLite bindings for nodeJS.

@JoshuaWise
Copy link
Member

Sure, there's no reason this can't be done. You can make a PR to speed things up, otherwise I'll get to it when I have time.

@tmdoit-zz
Copy link

Are you planning to add this?

@JoshuaWise
Copy link
Member

JoshuaWise commented Sep 19, 2018

Soon version 5.0.0 will be released. That version won't have the online backup API, but soon after that I'll be working on adding support for this in a minor version.

@JoshuaWise
Copy link
Member

Version 5.0.0 is now released. This feature is next on the to-do list!

@131
Copy link

131 commented Nov 24, 2018

I'm also interested in this !

[insert motivation picture here]

@JoshuaWise
Copy link
Member

JoshuaWise commented Dec 17, 2018

Note to self: this feature requires a refactor of better-sqlite3's busy indicator. In other words, when this issue is resolved, #203 will be resolved at the same time.

Edit: the above statement is not strictly true.

@JoshuaWise
Copy link
Member

I'm happy to announce that this feature is now available in v5.4.0.

Also, shameless plug: I'm now accepting supporters on Patreon. If your company uses this project, consider asking your manager to support it. Doing so will allow more great features like this to be developed faster.

@cekvenich
Copy link

Sorry... how would I back up using this api?

@JoshuaWise
Copy link
Member

Read the docs

@cekvenich
Copy link

oops. thx.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants