check_tape_recovery.1m (2012 03)
c
check_tape_recovery(1M) check_tape_recovery(1M)
NAME
check_tape_recovery - compare contents of a tape recovery image to a running system
SYNOPSIS
/opt/ignite/bin/check_tape_recovery
[-?]
DESCRIPTION
check_tape_recovery
compares the files on a currently running system with a tape recovery archive
created by
make_tape_recovery.
A list of files on the current system is compared to the list of files
in the archive, and a report is generated showing those files that have been added, deleted, and changed
since the archive was created.
The system administrator may use this report to assist in determining whether a new archive should be
created with
make_tape_recovery.
Options
check_tape_recovery
recognizes the following option:
-? Displays the help screen.
Report Format
The
check_tape_recovery
report consists of four sections: files added, files deleted, files changed,
and a one-line summary.
Lines beginning with
Added: list those files that have been added under locations archived by
make_tape_recovery
since the recovery image was created. These files will be lost if the system is
recovered from the archive.
Lines beginning with
Deleted: list the files that have been deleted from locations archived by
make_tape_recovery
since the recovery image was created. These files will reappear if the system is
recovered from the archive.
Lines beginning with
Changed: list those files in the archive which have been modified, and indicates
which attributes have changed (mode, modification time, or size). It also displays the values of these attri-
butes in the archive and on the running system. The format of the record is a line beginning with the
string Changed:, followed by the path of the file, followed by a tab-separated list of modification
records indicating which attributes have changed.
Changed: <file path>[TAB]moderec[TAB]mtimerec[TAB]sizerec
where moderec is of the form
mode: oldmode --> currentmode
mtime: oldtime --> currenttime
size: oldsize --> currentsize
Only the modification records corresponding to those attributes that have changed are displayed.
The final line of the report begins with the word
Summary: and the total number of files in the archive,
on the system, and the number of files added, deleted, and changed on the system since the archive was
created.
It is important to note that check_tape_recovery only compares files in locations archived by
make_tape_recovery. See make_tape_recovery(1M), in particular the discussion of the
-f
content_file and -x content-options arguments and the Including and Excluding From
Archive section. Files added, removed, or modified outside of the locations included in the archive are not
analyzed by check_tape_recovery and are not included in the summary statistics printed at the end of the
report.
International Code Set Support
Ignite-UX uses a variety of system commands to accomplish its functionality. Because the output of many
of these commands is parsed, Ignite-UX ensures that the POSIX locale is normally used by modifying
environment variables. Help text and some command output not parsed by Ignite-UX will be left in the
user’s specified locale.
HP-UX 11i Version 3: March 2012 − 1 − Hewlett-Packard Company 1