1833729 Members
2404 Online
110063 Solutions
New Discussion

frecover Format and date

 
SOLVED
Go to solution
fahad_8
Advisor

frecover Format and date

hi.
may some one help me , i want to know the tape format,date, for the last fbackup done with this tape

thanx alot
4 REPLIES 4
Devender Khatana
Honored Contributor

Re: frecover Format and date

Hi,

Is "man recover" not enough to see the contents of the tape?

format is abviously fbackup only.
date and last backup done can be seen with the timestamp of some files with keep on changing.

HTH,
Devender
Impossible itself mentions "I m possible"
Arunvijai_4
Honored Contributor

Re: frecover Format and date

Hi Fahad,

You can get these information by looking into the man pages of the following,

# man frecover
# man fbackup
# man restore

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Adisuria Wangsadinata_1
Honored Contributor

Re: frecover Format and date

Hi,

You can use the command below (eg. tape device file name is /dev/rmt/0m) :

* for list of what is really on the tape :

# frecover -Nrosv -f /dev/rmt/0m

* for show volume headers on the tape :

# frecover -V /tmp/volume_headers -f /dev/rmt/0m

* for log what is backed up, along with any errors that occur

# fbackup -vf /dev/rmt/0m 2>&1 |tee /tmp/backup.log

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Cem Tugrul
Esteemed Contributor
Solution

Re: frecover Format and date

Fahad,

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