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

Run a backup as part of the update command #12

Open
velovix opened this issue Oct 23, 2020 · 1 comment
Open

Run a backup as part of the update command #12

velovix opened this issue Oct 23, 2020 · 1 comment

Comments

@velovix
Copy link
Member

velovix commented Oct 23, 2020

When doing an update, there's always the risk that a buggy or interrupted migration could compromise the integrity of the database. When doing a downgrade, which we don't officially support, data integrity issues are very likely. We should always do backups before an update to give the user an out if something happens, perhaps with a flag to disable it if the user is sure they know what they're doing.

@apockill
Copy link
Member

Yes I think this is a great idea!

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