1832073 Members
3100 Online
110034 Solutions
New Discussion

backup

 
Lynda Badger
Occasional Contributor

backup

What the command to fbackup one directory on HP-UX server? fbackup ???
5 REPLIES 5
RAC_1
Honored Contributor

Re: backup

man fbackup

Should be as follows.

fbackup -f /dev/rmt/0m -i /dir

Anil
There is no substitute to HARDWORK
melvyn burnard
Honored Contributor

Re: backup

use the -i option for fbackup to include a directory
man fbackup
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
PVR
Valued Contributor

Re: backup

You can use command line as well as SAM to do fbackup.

Try executing fbackup throgh SAM. It is very easy. It is self explanatory
Don't give up. Try till success...
KVK
Valued Contributor

Re: backup

fbackup -vf /dev/rmt/0m -i /dir

use #frecover to restore

Cem Tugrul
Esteemed Contributor

Re: backup


FBACKUP/FRECOVER

Things to remember about fbackup:

* fbackup MUST rewind the tape before beginning the backup and after
completing.
* a tape created with fbackup is only recoverable with frecover.
* a file listed in the index file (from option -rvNf) is not guaranteed
to be on the tape; this simply means that fbackup intended to back the
file up when it began the backup session.

Command Description

fbackup -vf /dev/rmt/0m -i / full system backup

fbackup -vf /dev/rmt/0m -i specifically include file/directory
/etc/hosts preceded by -i

fbackup -vf /dev/rmt/0m -i specifically include multiple
/etc/hosts -i /usr files/directories preceded by -i

fbackup -vf /dev/rmt/0m -e specifically exclude file/directory
/etc/hosts preceded by -e

fbackup -vf /dev/rmt/0m -g
graph_file_name backup from a graph file

frecover -xvf /dev/rmt/0m restore entire tape to originating
directory structure

restore entire tape to originating
frecover -xovf /dev/rmt/0m directory structure and overwrite any
existing files

cd /tmp restore entire tape to /tmp
frecover -xXvf /dev/rmt/0m (originating directory structure will
not be overwritten)

frecover -vf /dev/rmt/0m -I verify backup and read the index file
/tmp/index from the tape into a file called
/tmp/index

fbackup -vf /dev/rmt/0m 2>&1 log what is backed up, along with any
|tee /tmp/backup.log errors that occur

frecover -rNv -f /dev/rmt/0m 2>
/tmp/listing list of what is really on the tape

frecover -V /tmp/volume_headers
-f /dev/rmt/0m show volume headers on the tape
Our greatest duty in this life is to help others. And please, if you can't