Omd backup issue

Checkmk version 2.3.0p28:
**Ubuntu 24.04.2 LTS **

omd backup hangs / sudo omd backup prompts for password

Hello,

I am attempting to back up using OMD which is something i have done in the past before upgrading.

I run sudo su - OMDNAME then attempt to run omd backup OMDNAME /path/to/backup.tz

This appears to never complete.

If i run sudo omd backup OMDNAME /path/to/backup.tz i am prompted for a password which i do not know (i have tried all the passwords i configured during installation.

Is there anything i can check? do i just need to wait for longer?

i would like to upgrade to 2.4 but not until i have a backup!

thansk in advance.

Have you tried running the backup from the UI? Backups - Backing up and restoring data

For omd backup the site name is only used from root’s CLI without sudo Site administration with omd

As the site user it should be omd backup /absolute/path/mysite.tar.gz

As root it should be omd backup mysite /absolute/path/mysite.tar.gz

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.