How to import multiple site? #3092

Closed
opened 2026-02-28 03:17:39 -05:00 by deekerman · 1 comment
Owner

Originally created by @baalchina on GitHub (Feb 2, 2024).

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hi, I have more than 200 sites want to monitor by uptime-kuma, but I found there seems no import function? I tried using backup/restore, while backup is not woking now?
So, how can I import multiple sites using xls or csv? Thanks.

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.11

💻 Operating System and Arch

Rocky 9.3, docker

🌐 Browser

Chrome,edge,firefox

🖥️ Deployment Environment

  • Runtime: Docker
  • Database: default sqlite
  • Filesystem used to store the database on: local
  • number of monitors: 200+
Originally created by @baalchina on GitHub (Feb 2, 2024). ### ⚠️ Please verify that this question has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### 📝 Describe your problem Hi, I have more than 200 sites want to monitor by uptime-kuma, but I found there seems no import function? I tried using backup/restore, while backup is not woking now? So, how can I import multiple sites using xls or csv? Thanks. ### 📝 Error Message(s) or Log _No response_ ### 🐻 Uptime-Kuma Version 1.23.11 ### 💻 Operating System and Arch Rocky 9.3, docker ### 🌐 Browser Chrome,edge,firefox ### 🖥️ Deployment Environment - Runtime: Docker - Database: default sqlite - Filesystem used to store the database on: local - number of monitors: 200+
deekerman 2026-02-28 03:17:39 -05:00
Author
Owner

@CommanderStorm commented on GitHub (Feb 2, 2024):

Currently, no import function exists.
Furthermore, the backup feature was dropped in v2.0 due to not being maintainable.

Currently, this is blocked by not having an API (we think we need this to not repeat the maintainability issues of the backup feature).
The current approach to implementing this is in https://github.com/louislam/uptime-kuma/pull/3854

Please consider using SQL or API based1 adding of monitors instead.

You can subscribe to/read these issues for further context/a notification if/once this gets implemented:


  1. using the third-party API: https://uptime-kuma-api.readthedocs.io/en/latest/
    An example of how to use the third party API would be

    from uptime_kuma_api import UptimeKumaApi
    api = UptimeKumaApi('INSERT_URL')
    api.login('INSERT_USERNAME', 'INSERT_PASSWORD')
    api.add_monitor(
        type=MonitorType.HTTP,
        name="Google",
        url="https://google.com"
    )
    api.disconnect()
    
    ↩︎
@CommanderStorm commented on GitHub (Feb 2, 2024): Currently, no import function exists. Furthermore, the backup feature was dropped in `v2.0` due to not being maintainable. Currently, this is blocked by not having an API (we think we need this to not repeat the maintainability issues of the backup feature). The current approach to implementing this is in https://github.com/louislam/uptime-kuma/pull/3854 Please consider using SQL or API based[^1] adding of monitors instead. You can subscribe to/read these issues for further context/a notification if/once this gets implemented: - #1190 - #1323 - #4308 [^1]: using the third-party API: https://uptime-kuma-api.readthedocs.io/en/latest/ An example of how to use the third party API would be ```py from uptime_kuma_api import UptimeKumaApi api = UptimeKumaApi('INSERT_URL') api.login('INSERT_USERNAME', 'INSERT_PASSWORD') api.add_monitor( type=MonitorType.HTTP, name="Google", url="https://google.com" ) api.disconnect() ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#3092
No description provided.