Persistence of data #2462

Closed
opened 2026-02-28 02:55:38 -05:00 by deekerman · 7 comments
Owner

Originally created by @vasanthkumar97 on GitHub (Aug 10, 2023).

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

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

Hi, I'm trying to setup a self managed uptime monitoring , and found this product built just for my usecase,

Im able to build this using docker and monitor services . Im confused how do i persist my data , Is there any support for a mysql or postgres database to persist data or is file system an only option.

Thanks

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.22.1

💻 Operating System and Arch

ubunu 20

🌐 Browser

Chrome

🐋 Docker Version

No response

🟩 NodeJS Version

No response

Originally created by @vasanthkumar97 on GitHub (Aug 10, 2023). ### ⚠️ Please verify that this bug 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'm trying to setup a self managed uptime monitoring , and found this product built just for my usecase, Im able to build this using docker and monitor services . Im confused how do i persist my data , Is there any support for a mysql or postgres database to persist data or is file system an only option. Thanks ### 📝 Error Message(s) or Log _No response_ ### 🐻 Uptime-Kuma Version 1.22.1 ### 💻 Operating System and Arch ubunu 20 ### 🌐 Browser Chrome ### 🐋 Docker Version _No response_ ### 🟩 NodeJS Version _No response_
deekerman 2026-02-28 02:55:38 -05:00
  • closed this issue
  • added the
    Stale
    help
    labels
Author
Owner

@CommanderStorm commented on GitHub (Aug 10, 2023):

  • mariadb will be a feature in v2.0
  • We are currently using sqlite => persistence is something we already offer. No need to wait for mariadb support
@CommanderStorm commented on GitHub (Aug 10, 2023): - mariadb will be a feature in [`v2.0`](https://github.com/louislam/uptime-kuma/pull/2720) - We are currently using sqlite => persistence is something we already offer. No need to wait for mariadb support
Author
Owner

@vasanthkumar97 commented on GitHub (Aug 11, 2023):

Is it in memory of file system?

@vasanthkumar97 commented on GitHub (Aug 11, 2023): Is it in memory of file system?
Author
Owner

@louislam commented on GitHub (Aug 11, 2023):

I think it is a Docker question. I assume that you were starting a Uptime Kuma using the docker run command.

-d 
--restart=always 
-p 3001:3001 
-v uptime-kuma:/app/data 
--name uptime-kuma

You should learn these arguments: https://docs.docker.com/engine/reference/commandline/run/

And let me ask you back a question, what is the usage of -v?

@louislam commented on GitHub (Aug 11, 2023): I think it is a Docker question. I assume that you were starting a Uptime Kuma using the `docker run` command. ``` -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma ``` You should learn these arguments: https://docs.docker.com/engine/reference/commandline/run/ And let me ask you back a question, what is the usage of `-v`?
Author
Owner

@vasanthkumar97 commented on GitHub (Aug 12, 2023):

I understand its mounted volume to docker container, Im trying to find out if there is any other alternate

@vasanthkumar97 commented on GitHub (Aug 12, 2023): I understand its mounted volume to docker container, Im trying to find out if there is any other alternate
Author
Owner

@CommanderStorm commented on GitHub (Aug 12, 2023):

No, there is currently no other way to be more persistent than the filesystem, as we need a database.
Out of curiosity: What are your requirements / why were you confused? Can we improve the docs somewhere?

PS: If this resolves your question, don't forget to close this issue.

@CommanderStorm commented on GitHub (Aug 12, 2023): No, there is currently no other way to be more persistent than the filesystem, as we need a database. Out of curiosity: What are your requirements / why were you confused? Can we improve the docs somewhere? PS: If this resolves your question, don't forget to close this issue.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 10, 2023):

We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.

@github-actions[bot] commented on GitHub (Nov 10, 2023): We are clearing up our old issues and your ticket has been open for 3 months with no activity. Remove stale label or comment or this will be closed in 2 days.
Author
Owner

@github-actions[bot] commented on GitHub (Nov 12, 2023):

This issue was closed because it has been stalled for 2 days with no activity.

@github-actions[bot] commented on GitHub (Nov 12, 2023): This issue was closed because it has been stalled for 2 days with no activity.
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#2462
No description provided.