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

Add the status page to the backup.json file #1500

Closed
1 task done
Urban-Hacker opened this issue Apr 16, 2022 · 8 comments
Closed
1 task done

Add the status page to the backup.json file #1500

Urban-Hacker opened this issue Apr 16, 2022 · 8 comments
Labels
area:core issues describing changes to the core of uptime kuma area:settings Related to Settings page and application configration feature-request Request for new features to be added

Comments

@Urban-Hacker
Copy link

Urban-Hacker commented Apr 16, 2022

⚠️ Please verify that this feature request has NOT been suggested before.

  • I checked and didn't find similar feature request

🏷️ Feature Request Type

Other

🔖 Feature description

I had to restore recently my uptime kuma instance on a brand new installation. I though the .json backup was enough and yes it contains all the monitors but miss the status page which is a bit sad since it forces to manually recreate it.

✔️ Solution

Simply add dashboard info to the json to allow for quick restore

❓ Alternatives

Currently the main alternative is either a low level backup (backing up the database etc) or rebuilding the status page manually.

📝 Additional Context

No response

@Urban-Hacker Urban-Hacker added the feature-request Request for new features to be added label Apr 16, 2022
@Urban-Hacker Urban-Hacker changed the title Add the dashboard to the backup.json file Add the status page to the backup.json file Apr 16, 2022
@tarun7singh
Copy link
Contributor

If this issue is still up for grabs I would like to start work on it.
I might need a little bit of guidance on it.

@Computroniks
Copy link
Contributor

Computroniks commented Apr 21, 2022

@tarun7singh I don't see any pull requests for this and no one else has said that they are working on it so you might as well take a crack at it. I would recommend creating an empty commit using git commit -m "[empty commit] pull request for <YOUR TASK NAME>" --allow-empty before you start working as this will allow you to create a PR and get some assistance and feedback on your work.

@prof79
Copy link

prof79 commented May 17, 2022

This would be very much appreciated (y) Also had a corruption issue yesterday and re-creating a page with 140+ monitors is no fun. Especially, which would be stuff for other feature requests, since you can't sort or mass-move or mass-select stuff, adding monitors only honors the top-most group, ...

@kristiandg
Copy link

I vote for this one as well. A lot of design effort going into laying out the perfect status page, only to lose it would be a huge bummer. :)

@Drallas
Copy link

Drallas commented Aug 15, 2023

Is this still open?

@CommanderStorm
Copy link
Collaborator

Is this still open?

Yes, this is still an open issue. If you look at the json output of the status pages.

Contributions to #2667 are likely welcome.
Currently, the PR is not blocked on functionality/implementation but on testing
⇒ if somebody wants to help @chakflying, this would be appreciated

@chakflying
Copy link
Collaborator

Obsolete as the backup feature has been dropped in #3892.

@chakflying chakflying closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2023
@CommanderStorm
Copy link
Collaborator

Chiming in with a more in-depth explanation:

Please see #2141 (comment)

In 1.18.3, the backup feature was deprecated due to [being left] unmaintained.

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.
The current design is just not maintainable, causing countless bugs.
In v2.0 the deprecated backup tool is being removed because of this reason.
Please consider using SQL, API based1 or infrastructure based2 backup instead.

New approaches to these features should use SQLite dump or MariaDB dump respectively. (Here is our contribution guide)

You can subscribe to these issues meanwhile:

Footnotes

  1. using the third-party API: https://uptime-kuma-api.readthedocs.io/en/latest/

  2. see https://github.com/louislam/uptime-kuma/issues/477#issuecomment-1557966187 for a setup example

@CommanderStorm CommanderStorm added area:settings Related to Settings page and application configration area:core issues describing changes to the core of uptime kuma labels Apr 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:core issues describing changes to the core of uptime kuma area:settings Related to Settings page and application configration feature-request Request for new features to be added
Projects
None yet
8 participants