-
Notifications
You must be signed in to change notification settings - Fork 140
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 settings.db before migrations #1848
Conversation
Thank you very much. This is a useful addition! You can ignore the MacOS tests failing, however the lint workflow should pass. You can use pre-commit for that as our contribution docs describe. After installing it, you can run |
870667e
to
39b8d3e
Compare
@real-yfprojects I have made the changes. |
Minor idea: How about we add the |
@m3nu Does this name look good? |
Yes. Looks good and we'll have a backup of each migration. |
@m3nu I have made the changes |
We could maybe drop the And how about adding the datetime ( |
Understood. I have added the datetime. |
Looks good to me. |
Hi thanks for teaching Vorta how to back itself up! I just made use of it. :) And I made some quick documentation of how to restore in #1895. Just based on what I read in other threads; hopefully on the right track. It's probably too late to change it now but would just like to say that including something like |
Yeah, we could call it |
Description
Creates a backup copy of settings.db before migrations
Related Issue
Fixes #1641
How Has This Been Tested?
Tested by creating a copy on
init_db()
Types of changes
Checklist:
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.