CoBMR Cohesity Pre-script

The CoBMR configuration utility (cobmrcfg) can be triggered pre Cohesity backup for an run automatically. Generating a fresh configuration makes sure the file is up to date and takes account of any changes to disks/OS patches/hardware etc.

There are two stages required required for setup: A script on the source and enabling the setting on the Cohesity Console

First create the script, basic examples are shown below:


Windows

echo
cd "c:\program files\cristie\cobmr"
cobmrcfg.exe

Place in ‘c:\program files\cohesity\user_scripts’


Linux

SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/root/bin:
cobmrcfg

To find the PATH variable of your Linux system run the below in a terminal with root access

$PATH

e.g.

image

Place in <INSTALL_DIR>/user_scripts


On the Cohesity Console enable and modify the protection job Additional Settings, pre & post scripts, Pre Script to include the script name e.g.

Increase the timeout if required. Due to the nature of Windows systems this can take some time, especially if the system has lots of disks.