Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
Showing results for 
Search instead for 
Did you mean: 


Go to solution
Ragni Singh
Super Advisor


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.
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.


Honored Contributor

Re: fbackup

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

Re: fbackup

There are lot good backup command examples here:

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.,,0xf97c42308663d611abdb0090277a778c,00.html