Destination:
EST Home Page Products Download a Demo! Press Releases Where to Buy Support Online Manuals Tech Tips Papers and Notes Mailing Lists Register Contact Info Employment Opportunities at EST EST's Affiliations Linux Related Links


Setting up BRU to work with an Autoloader:
Method 1

This method places each backup on a tape and unloads the tape when completed. If two or more backup commands are specified, each will be placed on a separate tape.

Instructions:

There are two fundamental steps required to properly configure the autoloader:

  1. Get the modified autoloader script and modify to suit the current configuration.
  2. Change /etc/brutab (once above step is done!) to reflect the new configuration.
  1. Download script and modify:
    • Download script: am1.script.bru (You may have to hold the Shift key then Left-Mouse click to save)
    • Install script by doing:  mv am1.scrpt.bru /bin  cd /bin  bru -xv -ua -f am1.script.bru
    • Modify unmountcmd.sh by searching for: poss_chng All locations that may need changing are tagged with the "poss_chng" line.
    • You won't need to make any changes to the mountcmd.sh file
    • Test your file: Ensure you have at least two tapes in your autoloader, one currently loaded and one in the next slot, then give the command:
      ./bin/unmountcmd.sh /dev/st0 1 c

    The current tape should eject and the next should load. If the tape does not eject, you have a problem with your script. Be sure to check all commands in your unmountcmd.sh since the commands may not work on your OS. Check your man pages. If the tape does eject but the next tape fails to load properly then your script is fine. The problem in this case is that your autoloader is NOT configured properly for sequential mode. See your autoloader manual for instructions on proper settings.

  2. To change /etc/brutab:
    • Edit (vi or other) /etc/brutab
    • Add two Global Parameters near the beginning just below the existing ones. These lines ALL begin with "pound-plus" (#+). Failure to do step 1 first could result in the BRU extraction of script files to fail as BRU will be looking for mountcmd.sh and aborting.
      #+MOUNTCMD=/bin/mountcmd.sh #+UNMOUNTCMD=/bin/unmountcmd.sh
NOTE: The size should be set to zero (size=0) if the drive does hardware compression (most do) or if software compression will be in use. Otherwise, setting an actual size will cause BRU to stop when it writes that amount of native data.
Return to

BRU Manual

Service Marks, Trademarks, and / or registered trademarks used on this site are the sole properties of their respective owners.
Copyright 1999, Enhanced Software Technologies, Inc. All rights reserved.

Read our privacy statement.

Last modified: Wednesday, 12-Apr-2000 09:03:44 MST