#!/bin/ksh -p # $Id: //depot/dev/proactive/explorer3/tools/sbu#7 $ # Source tools functions . ${EXP_LIB}/exp_tools # Run if specified to do so script=`basename $0` which_gate_exit backup $script default all # Make sure SBU is available TEXT=`gettext "Solstice Backup not installed"` require "test -d /usr/sbin/nsr" "${TEXT}" get_cmd "/usr/sbin/nsr/mminfo -av" sbu/mminfo-av get_cmd "/usr/sbin/nsr/mminfo -aV" sbu/mminfo-aV get_cmd "/usr/sbin/nsr/nsrls" sbu/nsrls # This command can potentially take a long time to run and # consume a lot of CPU # get_cmd "/etc/LGTOuscsi/inquire" sbu/inquire get_cmd "/bin/ls -alF /nsr/index" sbu/index/clients_l get_cmd "/bin/ls -alLF /nsr/index" sbu/index/clients_L # get_dir /nsr/index sbu/index/clients # The following nsrinfo command produces a massive amount of information. # Use only after a warning to the customer that significant CPU load may occur. # get_cmd "/usr/sbin/nsr/nsrinfo -V -s `hostname` `hostname`" sbu/nsrinfo.V get_file /nsr/res/nsr.res sbu/nsr/nsr.res get_file /nsr/res/nsrjb.res sbu/nsr/nsrjb.res get_file /nsr/logs/messages sbu/logs/messages get_file /nsr/logs/daemon.log sbu/logs/daemon.log get_file /nsr/logs/summary sbu/logs/summary get_cmd "/bin/ls -alF /usr/sbin/nsr" sbu/sbin/nsr get_cmd "/bin/ls -alF /usr/bin/nsr" sbu/bin/nsr get_cmd "/bin/ls -alF /dev/rmt" sbu/rmt/devices get_cmd "/bin/ls -alLF /dev/rmt" sbu/rmt/devices_L