HP-UX Reference (11i v3 07/02) - 1M System Administration Commands A-M (vol 3)

f
fbackup(1M) fbackup(1M)
(TO BE OBSOLETED)
Create a suitable configuration file called
config in the directory /var/adm/fbackupfiles
.
Create a graph file called
usr-usrlib
in the directory
/var/adm/fbackupfiles/graphs
.
Create a directory called
usr-usrlib in the directory
/var/adm/fbackupfiles/indices
.
A shell script that performs the following tasks could be run for each
fbackup session:
Build an index file path name based on both the graph file used (passed as a parameter to the
script) and the start time of the session (obtained from the system). For example:
/var/adm/fbackupfiles/indices/usr-usrlib/871128.15:17
(for Nov 28, 1987 at 3:17 PM)
Invoke fbackup with this path name as its index file name. For example:
cd /var/adm/fbackupfiles
/usr/sbin/fbackup -0uc config -g graphs/usr-usrlib\
-I indices/usr-usrlib/871128.15:17\
-f /dev/rtape/tape4QIC150
When the session completes successfully, the index is automatically placed in the proper location.
WARNINGS
The fbackup, frecover, and ftio commands are deprecated for creating new archives. In a future
HP-UX release, creation of new archives with these commands will not be supported. Support will be con-
tinued for archive retrieval. Use the standard pax command (portable archive interchange) to create
archives. See pax(1).
fbackup consists of multiple executable objects, all of which are expected to reside in directory
/usr/sbin.
fbackup does not require special privileges. However, if the user does not have access to a given file, the
file is not backed up.
For security reasons, configuration files and the chgvol and error executable files should only be writ-
able by their owners.
In HP-UX 11i Version 3, the maximum value for fields returned via
uname() was increased (from 8 to
256). To accommodate the larger size, a format change was necessary. A new magic number,
FBACKUP*LABEL, was created to distinguish this new format.
Likewise with HP-UX 10.20, HP-UX added support for large files (greater than 2GB) and increased
UID/GIDs (greater than 60,000). The magic number associated with this release through HP-UX 11i Ver-
sion 2 (inclusive) is FBACKUP_LABEL
.
Archives and files with formats and attributes that are unsupported on previous HP-UX releases could
cause severe problems or unpredictable behavior if attempts were made to restore onto these systems. For
this reason,
fbackup creates tapes with a magic number that is only recognized on releases which sup-
port the features and format being archived. This prevents fbackup tape archives from being restored on
earlier HP-UX systems than are supported. frecover still reads all tape formats so that fbackup tape
archives created on earlier HP-UX systems can be restored.
EOF marks are used for checkpointing on all magnetic tape devices. On DLT tape devices, these EOF
marks are also used for fast searching on a selective recovery; "fast searching" in this case means spacing to
the nearest checkpoint before the desired file, and then reading until the file is found. With this dual pur-
pose for checkpoints, caution should be used when changing the checkpoint frequency parameter.
The use of
fbackup for backing up NFS mounted file systems is not guaranteed to work as expected if the
backup is done as a privileged user. This is due to the manner in which NFS handles privileged-user access
by mapping user root and uid 0 to user nobody, usually uid -2, thus disallowing root privileges on the
remote system to a root user on the local system.
The utility set comprised of fbackup and frecover was originally designed for use on systems
equipped with not more than one gigabyte of total file system storage. Although the utilities have no pro-
gramming limitations that restrict users to this size, complete backups and recoveries of substantially
larger systems can cause a large amount of system activity due to the amount of virtual memory (swap
space) used to store the indices. Users who want to use these utilities, but are noticing poor system-wide
performance due to the size of the backup, are encouraged to back up their systems in multiple smaller
HP-UX 11i Version 3: February 2007 6 Hewlett-Packard Company 211