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

restore from backup supported? #38

Open
gentledepp opened this issue Mar 17, 2017 · 1 comment
Open

restore from backup supported? #38

gentledepp opened this issue Mar 17, 2017 · 1 comment

Comments

@gentledepp
Copy link
Collaborator

Hi!

I just took a glance at your "backuptests"
but I could not see whether a restore was also supported.

Is that the case?

And: is a "backup" the same as "sqlite dump"?
If not - what are the differences?

@bordoley
Copy link
Owner

The backup api wraps the SQLite online backup api: https://www.sqlite.org/backup.html

SQLite databases are a simply file, so to restore from a backup you would close existing db connections, rename the backup file to your desired filename, and open the db associated with the renamed file.

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

No branches or pull requests

2 participants