HP-UX Reference (11i v1 05/09) - 1M System Administration Commands A-M (vol 3)

f
fbackup(1M) fbackup(1M)
Index Size This field contains the size of the index.
Backup Identification Tag
This field is composed of two items: the process ID (pid) and the
start time of that process.
Language This field contains the language used to make the backup.
-R restart Restart an fbackup session from where it was previously interrupted. The restart file
contains all the information necessary to restart the interrupted session. None of the
-
[ieg0-9] options can be used together with the restart option.
-0-9 This single-digit number is the backup level. Level
0 indicates a full backup. Higher levels
are generally used to perform incremental backups. When doing an incremental backup of
a particular graph at a particular level, the database of past backups is searched to find the
date of the most recent backup of the same graph that was done at a lower level. If no such
entry is found, the beginning of time is assumed. All files in the graph that have been
modified since this date are backed up.
Access Control Lists (
ACLs)
If a file has optional ACL entries, the -A option is required to enable its recovery on a system where the
ACL capability is not present.
EXTERNAL INFLUENCES
Environment Variables
LC_COLLATE determines the order in which files are stored on the backup device and the order of output
by the -I option.
LC_TIME determines the format and contents of date and time strings.
LC_MESSAGES determines the language in which messages are displayed.
If LC_COLLATE , LC_TIME, and LC_MESSAGES are not all specified in the environment, or if either is
set to the empty string, the value of LANG is used as a default for each unspecified or empty variable. If
LANG is not specified or is set to the empty string, a default of "C" (see lang(5)) is used instead of
LANG.If
any internationalization variable contains an invalid setting,
fbackup behaves as if all internationaliza-
tion variables are set to "C". See environ(5).
International Code Set Support
Single- and multi-byte character code sets are supported.
RETURN VALUE
fbackup returns one of the following values:
0 upon normal completion.
1 if it is interrupted but allowed to save its state for possible restart.
2 if any error conditions prevent the session from completing.
4 if any warning conditions are encountered.
If warnings occur, the operator should check the fbackup logs to verify the sanity of the backup.
EXAMPLES
In the following two examples, assume the graph of interest specifies all of /usr except /usr/lib (as
described for the -g option above).
The first example is a simple case where a full backup is done but the database file is not updated. This can
be invoked as follows:
/usr/sbin/fbackup -0i /usr -e /usr/lib -f /dev/rmt/c0t0d0BEST
The second example is more complicated, and assumes the user wants to maintain a database of past
fbackup sessions so that incremental backups are possible.
If sufficient on-line storage is available, it may be desirable to keep several of the most recent index files on
disk. This eliminates the need to recover the index from the backup media to determine if the files to be
recovered are on that set. One method of maintaining on-line index files is outlined below. The system
administrator must do the following once before fbackup is run for the first time (creating intermediate
level directories where necessary):
Section 1M218 Hewlett-Packard Company 5 HP-UX 11i Version 1: September 2005