mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Backup doesnt restore monitor notifications #1076
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#1076
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 @ARPABoy on GitHub (May 10, 2022).
⚠️ Please verify that this bug has NOT been raised before.
🛡️ Security Policy
Description
I have installed last uptime-kuma version: 1.15.1 under Ubuntu22.04/amd64 and node: v16.15.0
The steps to reproduce are:
The monitor is restored but with all notification methods disabled.
👟 Reproduction steps
The steps to reproduce are:
The monitor is restored but with all notification methods disabled.
👀 Expected behavior
A complete restoration including monitors and the linked notification methods of each monitor.
😓 Actual Behavior
The monitors are restored but with all notification methods disabled.
🐻 Uptime-Kuma Version
1.15.1
💻 Operating System and Arch
Ubuntu22.04/amd64
🌐 Browser
Version 101.0.4951.54 (Build oficial) (64 bits)
🐋 Docker Version
No response
🟩 NodeJS Version
16.15.0
📝 Relevant log output
No response
@lucas-alcantara commented on GitHub (May 16, 2022):
Hi, I am experiencing the same thing. Before upgrading to 1.15.1, I backed it up. Even though all configured notifications are there after restoring the backup, they are all disabled. I am using Ubuntu 20.04 and Docker 20.10.15.
@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 ↩︎