mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-02 22:57:00 -05:00
Back up without historic data #3088
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#3088
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 @heffneil on GitHub (Jan 31, 2024).
⚠️ Please verify that this question has NOT been raised before.
🛡️ Security Policy
📝 Describe your problem
I noticed a warning about the export and import options in the program. I am looking to backup the monitors, not their historic data and the notification data so I could restore them in the case of a loss. Is there some way to export the data programmatically periodically? i have reduced the retention in the meantime but I would just like the config data separately to be backed up.
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.11
💻 Operating System and Arch
Ubuntu
🌐 Browser
Chrome
🖥️ Deployment Environment
@CommanderStorm commented on GitHub (Jan 31, 2024):
Currently, such a functionality does not exist.
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 ↩︎