Archiving Commands


make_recovery:- This command allows you to create a backup image of the system boot disk and to restore the system boot image from the backup

check_recovery:- This command checks the backup tape, created with the make_recovery command, to the current system and reports discrepancies.

dd :-It is particularly useful for disk to tape and disk to disk copying.

dump and rdump, restore and rrestore commands

These standard UNIX utilities copy and restore files either locally or remotely over a network .dump and rdump commands are used to dump local files

fbackup and frecover:- The fbackup and frecover commands are the proprietary scheme for backing up files on the HP-UX operating system. syntax of the fbackup command is:

fbackup -f device [-0-9] [-u] [-i path ] [-e path ] The -f option is mandatory because fbackup does not write to stdout by default. The [0-9] option provides for incremental backups: an n level backup includes all files modified since the last n-1 level backup.

The -e and -i options allow you to exclude or include, respectively, portions of the file system in the archive

pax :-This standard UNIX command extracts, writes, and lists members of archive files. It also copies files and directory hierarchies

tar :-This command is the most widely used facility for archiving files on UNIX systems. Be aware of the use of the hyphen (-) character to designate a command flag rather than a function key,. There are some options they are:

-A suppresses warning messages that tar did not archive a file’s access control list.

-e causes tar to fail if the extent attributes are print in the files to be archived.

-N writes a POSIX format archive, allowing file names of up to 256 characters.

-O writes a pre-POSIX format archive.

-V causes tar to work silently and, when used with the -t option, to print a letter indicating

the type of archived file.

-nd to specify a particular nine-track tape drive and density, where n is a tape drive

number and d is the density

vgcfgbackup:- This command saves the LVM configuration for a volume group in a default or alternate configuration backup file

vgcfgrestore :-This command restores the LVM configuration data from a default configuration backup file

vxdump, rvxdump, vxrestore, and rvxrestore commands :-These commands are proprietary to the HP-UX operating system and are the archival strategy for the VxFS file system.The vxdump command copy to magnetic tape all files in the VxFS filesystem that have been changed after a certain date. This information is derived from the files /vary/dam/dump dates and /etc/stab. Likewise the rvxdump command accomplishes the same task, but remotely over the network. The vxrestore and rvxrestore commands read the archive tape created with vxdump or rvxdump, respectively, and restore the files locally and remotely

No comments:

Post a Comment