-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
fix export #4410
Comments
Please see #2141 (comment)
Backup & Restore with json has been deprecated and issues will not be fixed due to the amount of problems it has been causing for our users and us. New approaches to these features should use sqlite dump or mariadb dump respectively. |
Why not add a direct db export and import through the UI, if json is not supported. it would be great to incorporate a settings / config export / import. |
Having it available in the UI is definitely the goal long term, but just importing a dump might expose a giant SQL injection vulnerability? I haven't really thought about this but it seems fairly complicated to get this right. |
I think a "Please enter your username+password+2fa again so that we are sure you are authorized" mechanism should be enough to stop any attack vectors opened through this. |
well i agree that a full dump is probably more than necessary - likely need to identify the pertinent tables. I haven't looked in db, but probably need the config tables related to domains, frequency checks and all settings etc... any system tables may not need to be part of it. You may omit the user table too and require re-registration to the app - but that would be nice to have too or maybe a checkbox to make it optional to export users too. So yes, definitely requires more thought into best way to do this securely. |
🏷️ Feature Request Type
UI Feature
🔖 Feature description
fix export to avoid a manual data directory backup and restore (as easy as that is), it would help improve usability
✔️ Solution
fix export/backup to support the latest features of uptime kuma
❓ Alternatives
backup the /data directory and restore
📝 Additional Context
No response
The text was updated successfully, but these errors were encountered: