question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to backup data?

See original GitHub issue

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

  • I checked and didn’t find similar issue

🛡️ Security Policy

📝 Describe your problem

Since 1.18.1 under settings > backup, kuma give a warning, that the backup feature is ‘depricated while a bit of unmaintained’ And we should backup the ./data/ folder instead. But I do not have a folder with that name.

I am using a docker with:

docker run -d --restart=always -p 3001:3001 -v uptime-kuma:/app/data --dns 192.168.x.x --dns 192.168.x.x --name uptime-kuma louislam/uptime-kuma:1

So I think I have to backup files uptime-kuma/kuma.db* within my dockers container folder, am I right with that?

🐻 Uptime-Kuma Version

1.18.1

💻 Operating System and Arch

Raspbian/Debian Bullseye on RaspberryPi 4

🌐 Browser

Firefox 105.0.1 Windows 11

🐋 Docker Version

20.10.18, build b40c2f6

🟩 NodeJS Version

16.17.1

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
ruimarinhocommented, Nov 2, 2022

You could do sh -c 'sqlite3 /app/data/kuma.db ".backup /app/data/backups/kuma_backup-$$(date +%Y%m%d_%H%M%S).db"' though. That’ll will work and the container doesn’t need to be stopped in that case.

2reactions
louislamcommented, Oct 4, 2022

Backup this folder /var/lib/docker/volumes/uptime-kuma/_data on your Raspberry.

kuma.db and status page icons should be inside of it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Back up your device - Android - Google One Help
Scroll to "Backup" and tap View. If this is your first phone backup: Tap Set up data backup. · To see your backup...
Read more >
How to back up or transfer your data on a Windows-based ...
Click Start, type backup in the Start Search box, and then click Backup and Restore in the Programs list. · Under Back up...
Read more >
The Beginner's Guide to PC Backup - PCMag
Find it via the Settings > Update & Security > Backup(Opens in a new window). It lets you back up items using the...
Read more >
How to Back Up Your Digital Life (2022) - WIRED
Another way you can back up to the cloud is by using an app that connects to multiple online storage services. This requires...
Read more >
Data Backup in Depth: Concepts, Techniques and Storage ...
Data backup is the practice of copying data from a primary to a secondary location, to protect it in case of a disaster,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found