
Chapter 3 Archiving 57
▼ To Back Up an Archiver Log File
Assume that you want to back up the archiver log file every day by copying the
previous day’s log file to an alternate location. Be sure to perform the copy operation
when the archiver log file is closed, not while it is open for a write operation.
1. Use the mv(1) command to move the archiver log file within a UNIX file system.
This gives any sam-arfind(1M) or sam-arcopy(1M) operations time to finish
writing to the archiver log file.
2. Use the mv(1) command to move the previous day’s archiver log file to the Sun
StorageTek SAM file system.
The notify Directive: Renaming the Event Notification
Script
The notify directive sets the name of the archiver’s event notification script file.
This directive has the following format:
For filename, specify the name of the file containing the archiver event notification
script or the full path to this file.
The default file name is as follows:
/etc/opt/SUNWsamfs/scripts/archiver.sh
The archiver executes this script to process various events in a site-specific manner.
The script is called with one of the following keywords for the first argument:
emerg, alert, crit, err, warning, notice, info, and debug.
Additional arguments are described in the default script. For more information, see
the archiver.sh(1M) man page.
The ovflmin Directive: Controlling Volume Overflow
With volume overflow, archived files are allowed to span multiple volumes. Volume
overflow is enabled when you use the ovflmin directive in the archiver.cmd file.
When a file size exceeds the value of ovflmin directive’s minimum-file-size
argument, the archiver writes a portion of this file to another available volume of the
same type. The portion of the file written to each volume is called a section.
notify=filename
Comentários a estes Manuais