HP-UX System Administrator's Guide: Routine Management Tasks HP-UX 11i v3 (B3921-90023, September 2010)

Creating the Index File on the Local Device
If you use the fbackup command, an index is written at the beginning of each tape
listing all files in the graph file being backed up. However, since this index is written
before the files are actually backed up, if a file is removed after the index is written but
before the file is backed up to tape (or something else happens that prevents the file
from being backed up), the index will not be completely accurate.
If you tell fbackup to make an online index file (using the I option),it will create the
file after the backup is complete. Therefore, the only index that will be accurate is the
online index, which is produced after the last volume has been written (the index
created using the fbackup -I option).
Also, fbackup assumes all files remaining to be backed up will fit on the current tape
for the index contained on that media. Therefore, if you did not use the -I option on
fbackup or removed the index file, extract an index from the last media of the set.
Use the /usr/sbin/frecover utility to list the contents of the index at the beginning
of a backup volume made with fbackup. For example, the command
fev/rmt/0mrecover -I /tmp/index2 -f
specifies that the device file for the magnetic tape drive is /dev/rmt/0m and you want
to put the listing of the index in the file /tmp/index2.
Backing Up NFS Mounted Files with fbackup
When backing up files that are NFS mounted to your system, fbackup can only back
up those files having other user read permission unless you have superuser capability.
(To recover the files, you will need other user write permission.) To ensure the correct
permissions, log in as superuser on the NFS file server and use the root= option to the
/usr/sbin/share command to share the permissions, then back up as root. For more
information, seeshare(1M) and the NFS Administrator's Guide.
Examples of fbackup Commands
Here are a series of examples showing a variety of ways that fbackup can be used.
Example: Backing Up to a DDS (DAT) Tape
For this example, we want to do a full backup and do not care about doing future
incremental backups. Therefore, we do not need to specify a backup level (nor do we
need to use the -u option to update the dates file). We could also specify “level 0” to
indicate a full backup.fbackup -i /home
Example: Backup Up to a DLT Tape
(You plan to do a future incremental backup.)
130 Managing Systems