[Check_mk (english)] OMD Backups and Check_MK

Hello,

I’m preparing a disaster recovery scenario with OMD/Check_MK, our prod installations are VM’s with CentOS 6 6.5 x64 with the OMD 1.20 (stable release) .

I release that the OMD option to backup and restore does not appear in this version, actually we are backuping all the /omd/sites directory with a remote rsnapshot server, but i need to compare the two backup method.

1/ Probably this option is only in the non stable OMD version ?

2/ My another question refers to the “cmk --backup”, this option only make a backup of the configuration files (like the snapshot WATO option ?) but not the RRD perf DB’s ?

[root@por-cmksat-pre ~]# omd versions

1.20 (default)

[root@por-cmksat-pre ~]# omd

Usage (called as root):

omd help Show general help

omd setup Prepare operating system for OMD (installs packages)

omd uninstall Remove OMD and all sites!

omd setversion VERSION Sets the default version of OMD which will be used by new sites

omd version [SITE] Show version of OMD

omd versions List installed OMD versions

omd sites Show list of sites

omd create SITE Create a new site (-u UID, -g GID)

omd init SITE Populate site directory with default files and enable the site

omd rm SITE Remove a site (and its data)

omd disable SITE Disable a site (stop it, unmount tmpfs, remove Apache hook)

omd enable SITE Enable a site (reenable a formerly disabled site)

omd mv SITE NEWNAME Rename a site

omd cp SITE NEWNAME Make a copy of a site

omd update SITE Update site to other version of OMD

omd start [SITE] [SERVICE] Start services of one or all sites

omd stop [SITE] [SERVICE] Stop services of site(s)

omd restart [SITE] [SERVICE] Restart services of site(s)

omd reload [SITE] [SERVICE] Reload services of site(s)

omd status [SITE] [SERVICE] Show status of services of site(s)

omd config SITE … Show and set site configuration parameters

omd diff SITE ([RELBASE]) Shows differences compared to the original version files

omd su SITE Run a shell as a site-user

omd umount [SITE] Umount ramdisk volumes of site(s)

General Options:

-V set specific version, useful in combination with update/create

omd COMMAND -h, --help show available options of COMMAND

[root@por-cmksat-pre ~]# cat /etc/redhat-release

···

Best Regards,

Javier Lobato Alonso

1/ Probably this option is only in the non stable OMD version ?

omd backup - is available with the nightly OMD builds. They are not less stable then the last stable release. Mostly bug fixes inside.

2/ My another question refers to the “cmk --backup”, this option only make a backup of the configuration files (like the snapshot WATO option ?) but not the RRD perf DB’s ?

Yes this is correct. With the next stable of check_mk (1.2.6) it is then also possible to make a complete backup with RRD files includes from WATO.

Best regards

Andreas