Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Administering a System: Managing Disks and Files
Backing Up Data
Chapter 6 681
Determining What Data to Back Up
To restore your system after a complete loss of data, you will need copies
of the following:
• all user files
• system files that you have customized (such as /etc/passwd)
• system files that you have added since your original installation
• any additional products that were installed since your original
installation
Defining What Files and Directories to Back Up
If you are backing up using the fbackup command, you must define
which directories and files you want to back up:
Included Files Included files are directories and files to include in your
backup. When you specify a directory, all of the files
and subdirectories are included in the backup. Identify
included files with the -i option of the fbackup
command or with a graph file (see following definition).
Excluded files Excluded files are files within your included directories
to exclude from the backup. In other words, they are
the exceptions. Identify excluded files with the -e
option to the fbackup command or with a graph file
(described below)
Graph files Graph files are text files that contain a list of
directories and files to back up. If you use SAM to back
up your system, SAM creates the graph files for you (in
/etc/sam/br) using the included and excluded files.
r. Use vxrestore -i -f
device_or_file
s. Use fbackup -i
path
-f
device_or_file
-v 2 >index
t. Use find . | cpio -ov >
device_or_file
2 > index
u. Use tar -cvf
device_or_file
* 2 > index
v. Use restore -t or restore -trv.
w. Use vxrestore -t or vxrestore -trv.
x. However, you can use frecover -x -i
path
to specify individual files.
y. If the snapshot file system has extent attributes, you will need to use vxdump
filesystem
.