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

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.
Author's Note: fbackup and frecover in the above table need to be replaced with pax,
but I did not have time at AR0809 to complete this. Because fbackup/frecover are still
supported (though they are in the process of being phased out), I chose to leave them
in this table for this release. —pv
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 (for example,
printer configurations)
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:
Backing Up Data 125