1748201 Members
3899 Online
108759 Solutions
New Discussion юеВ

Re: fbackup

 
SOLVED
Go to solution
Ragni Singh
Super Advisor

fbackup

hey all,

can you please tell me the correct syntax to backup a file onto device /dev/rmt/0m. Any help is greatly appreciated and points willbe given.
6 REPLIES 6
Pete Randall
Outstanding Contributor

Re: fbackup

From man fbackup:

The first example is a simple case where a full backup is done but the
database file is not updated. This can be invoked as follows:

/usr/sbin/fbackup -0i /usr -e /usr/lib

There are more examples and quite a good explanation - I'd start there.

Pete

Pete
Sajid_1
Honored Contributor

Re: fbackup

# fbackup -vf /dev/rmt/0m -i /tmp/file_name
learn unix ..
Sajid_1
Honored Contributor
Solution

Re: fbackup

There are lot good backup command examples here:
http://support1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000062908105

Doc ID - KBRC00006523
learn unix ..
Dave Chamberlin
Trusted Contributor

Re: fbackup

I would suggest the use of a graph file - which allows you to include/exclude directories. I use this to say exclude things I dont want backed up - like tmp directories etc. Also I suggest using an index file to have a list of what was backed up. I usually put a date in the names of those files. The command would then be (assumming a full backup):
fbackup -f /dev/rmt/0m -u0g graph_082602 -I index_082602 .
Bill Thorsteinson
Honored Contributor

Re: fbackup

Your database must be down or
marked for backup to use
fbackup for a valid backup.

You didn't say which database you are using. In Oracle,
you can mark the tablespaces as being backedup prior to
the backup and clear the flag
after the backup. Your
database needs to be in archive log mode for this
to work.

I do a disk to disk backup of the database, and backup the
files in the backup directories. The live
database directories are ignored in by fbackup script.
Geetha Alagappan
Regular Advisor

Re: fbackup

tar a directory to tape

cd /u06
tar cv . (default 4 mm tape drive /dev/rmt/0m)

check it
tar -t

restore it

cd to directory
tar xv


Also, Check this out.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf97c42308663d611abdb0090277a778c,00.html

hercules