RBMR Rubrik Pre-script

The RBMR configuration utility (rbmrcfg) can be triggered pre Rubrik backup to 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 for setup: A script on the source and enabling the setting on the Rubrik Console

First create the script, basic examples are shown below:


Windows

@cd "%ProgramFiles%\Cristie\RBMR" && rbmrcfg.exe

Save as ‘cristieRBMR.bat’ and place in a folder e.g. c:\tmp\scripts


Linux

#!/bin/bash
SHELL=/bin/bash
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/root/bin:
rbmrcfg

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

$PATH

e.g.

image

Save as ‘cristierbmrcfg.sh’ and place in a folder e.g. /home/scripts


On the Rubrik Console add the location of the script in the ‘Enable Pre/Post Scripts’ field of the ‘Add Fileset’ page.

image