HP-UX System Administrator's Guide: Routine Management Tasks
1
For High Performance File Systems (HFS) only. For remote systems, use rdump/rrestore
2
For Journaled File Systems (JFS or VxFS). For remote systems, use rvxdump/rvxrestore
3
Use the “-f remote_system:remote_device_file” option on fbackup
4
Use find | cpio -o | remsh host "dd of=/dev/tape obs=blocksize"
5
Use find | tar cvf - | remsh host "dd of=/dev/tape obs=blocksize"
6
Use rdump -f remote_system:remote_device_file
7
Use rvxdump -f remote_system:remote_device_file
8 Separate backups will be on one tape.
9
Use frecover -f device_or_file -I index or frecover -rNvf device_or_file 2>
index
10
Use cpio -it < device_or_file > index
11
Use tar -tvf device_or_file > index
12
Use restore -tf device_or_file > index
13
Use vxrestore -tf device_or_file > index
14
Use restore -i -f device_or_file
15
Use vxrestore -i -f device_or_file
16
Use fbackup -i path -f device_or_file -v 2 >index
17
Use find . | cpio -ov > device_or_file 2 > index
18
Use tar -cvf device_or_file * 2 > index
19
Use restore -t or restore -trv.
20
Use vxrestore -t or vxrestore -trv.
21
However, you can use frecover -x -ipath to specify individual files.
22
If the snapshot file system has extent attributes, you will need to use vxdump filesystem.
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.
Backing Up Data 127