mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Add the status page to the backup.json file #987
Labels
No labels
A:accessibility
A:api
A:cert-expiry
A:core
A:dashboard
A:deployment
A:documentation
A:domain expiry
A:incidents
A:maintenance
A:metrics
A:monitor
A:notifications
A:reports
A:settings
A:status-page
A:ui/ux
A:user-management
Stale
ai-slop
blocked
blocked-upstream
bug
cannot-reproduce
dependencies
discussion
duplicate
feature-request
feature-request
good first issue
hacktoberfest
help
help wanted
house keeping
invalid
invalid-format
invalid-format
question
releaseblocker 🚨
security
spam
type:enhance-existing
type:new
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/uptime-kuma#987
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Urban-Hacker on GitHub (Apr 15, 2022).
⚠️ Please verify that this feature request has NOT been suggested before.
🏷️ 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
@tarun7singh commented on GitHub (Apr 20, 2022):
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 commented on GitHub (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-emptybefore you start working as this will allow you to create a PR and get some assistance and feedback on your work.@prof79 commented on GitHub (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 commented on GitHub (Jul 17, 2022):
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 commented on GitHub (Aug 15, 2023):
Is this still open?
@CommanderStorm commented on GitHub (Aug 15, 2023):
Yes, this is still an open issue. If you look at the json output of the status pages.
Contributions to https://github.com/louislam/uptime-kuma/pull/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 commented on GitHub (Nov 21, 2023):
Obsolete as the backup feature has been dropped in #3892.
@CommanderStorm commented on GitHub (Feb 8, 2024):
Chiming in with a more in-depth explanation:
Please see https://github.com/louislam/uptime-kuma/issues/2141#issuecomment-1272360952
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.0the 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:
using the third-party API: https://uptime-kuma-api.readthedocs.io/en/latest/ ↩︎
see https://github.com/louislam/uptime-kuma/issues/477#issuecomment-1557966187 for a setup example ↩︎