#!/bin/ksh
# @(#)66	1.1  src/avs/fs/mmfs/ts/config/mmsdrbackup.sample, mmfs, avs_rgpfs24, rgpfs240610b 10/24/03 10:20:32 
#
#
# When properly installed on the primary GPFS configuration server,
# this script will be asynchronously invoked every time there is a
# change to the master configuration file /var/mmfs/gen/mmsdrfs.
#
# The version number of the mmsdrfs file is passed as the first input
# parameter to the script.
#
# The script can be used for backing up the GPFS configuration data.
# This can be as simple as copying the file to a non-GPFS file system
# on the same or a different node.  For example,
#
#   suffix="$version.$(date +%Y.%m.%d.%H.%M.%S).$(hostname -s)"
#   cp  /var/mmfs/gen/mmsdrfs /tmp/mmsdrfs.$suffix
#   rcp /tmp/mmsdrfs.$suffix  backupNode:/backupDir/mmsdrfs.$suffix
#
# To activate the code, make the appropriate changes and install the
# script as /var/mmfs/etc/mmsdrbackup
#
# ATTENTION:  Under no circumstances should any of the files in
#             /var/mmfs and its subdirectories be altered or removed
#             as a result of the changes that you make to this script.
#
#

version=$1  # version number of file /var/mmfs/gen/mmsdrfs

return 0

