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

By nature, most autoloaders do not possess any resident intelligence and require software intervention to regulate the data flow during tape changes. As a result of this limitation, BRU is distributed with two scripts that can be modified to work with a variety of autoloaders.

To operate an autoloader successfully with BRU, there are three factors that must be taken into consideration: BRU was only designed to operate with single drive autoloaders, the BRU scripts assume that the autoloader is set to sequential mode, and the BRU GUI (XBRU) does not function with autoloaders.

Once the current status of the autoloader has been determined, the scripts can be modified to function with BRU. There are two methods of configuration that can be utilized to accomplish this:

    BRU can be configured to perform an AUTOSCAN after each backup and then eject the tape. For the execution of several backup commands, a new tape will be utilized for each new backup.
    BRU can also be configured to record multiple archives on a single tape. This scenario utilizes the non-rewinding drive and will result in the tape being ejected only after it is full.


Samples:

    Method 1 sample

    By modifying the unmountcmd.sh script provided with BRU, BRU can be configured as follows:
 # Nightly backup script for BRU, includes autoscan of all backups
 # Place the local system on tape 1
 bru -cvRXVf /dev/st0 / > /var/log/brubackup.log1.`date +%a` 2>&1

 # Backup System2.  Note, BRU will change tapes first
 bru -cvRXVf /dev/st0 /mnt/sys2 > /var/log/brubackup.log2.`date +%a` 2>&1

 # Backup System3.  Note, BRU will change tapes again
 bru -cvRXVf /dev/st0 /mnt/sys3 > /var/log/brubackup.log3.`date +%a` 2>&1


    Method 2 sample

    By modifying the mountcmd.sh script provided with BRU, BRU can be configured as follows:
 # Nightly backup script for BRU
 # Backup the local system first, in 3 pieces
 # Ensure default bruxpat is in use
 BRUXPAT=/etc/bruxpat ; export BRUXPAT
 mt -f /dev/nst0 eod   # moves the current tape to end of data
 bru -cvmRXVf /dev/nst0 / > /var/log/brubackup.log1.`date +%a` 2>&1
 bru -cvmRXVf /dev/nst0 /home >> /var/log/brubackup.log1.`date +%a` 2>&1
 bru -cvmRXVf /dev/nst0 /u3 >> /var/log/brubackup.log1.`date +%a` 2>&1

 # Backup System2, 2 pieces
 bru -cvmRXVf /dev/nst0 /mnt/sys2/home > /var/log/brubackup.log2.`date +%a` 2>&1
 # Need to use bruxpat.sys2.root to preclude backing up home
 BRUXPAT=/etc/bruxpat.sys2.root ; export BRUXPAT
 bru -cvmRXVf /dev/nst0 /mnt/sys2/ >> /var/log/brubackup.log2.`date +%a` 2>&1

 # Backup System3, all in one
 # Return to default bruxpat
 BRUXPAT=/etc/bruxpat ; export BRUXPAT
 bru -cvRXVf /dev/nst0 /mnt/sys3 > /var/log/brubackup.log3.`date +%a` 2>&1
Return to

BRU Manual

Instructions:

Method 1 Web Page
Change tape after each BRU command.

Method 2 Web Page
Allow multiple archives on a single tape.


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: Thursday, 13-Apr-2000 14:58:36 MST