1825961 Members
2883 Online
109690 Solutions
New Discussion

fbackup problem

 
sassou
Frequent Advisor

fbackup problem

hi
Ihave make a full backup with the command
fbackup -f /dev/rmt/0m -u0g -I index.full
to restaure I fount this message:

>
># frecover -f /dev/rmt/0m -I index.full
>
>frecover(2105): did not find expected file marker
>
>frecover(5419): checksum on volume header is incorrect.
>
>frecover(5420): not an fbackup volume; magic value is incorrect
>
>frecover(2105): did not find expected file marker
>
>frecover(5412): Do you wish to try to salvage this volume? (^[yY]/^[
I need a help
KUZO

4 REPLIES 4
melvyn burnard
Honored Contributor

Re: fbackup problem

did the tape actually get written to?
your command looks wrong as you do not specify a -i to include files, and if you are trying to use the graph file, you have not specififed a graph file to read.

Also add in the -v option to see what is backed up

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Bill Hassell
Honored Contributor

Re: fbackup problem

The tape you are reading was not written by fbackup. If it was supposed to have been written by fbackup, someone mat have erased the data by writing something else over the top of the fbackup data. Make sure your tape device files are protected from ordinary users by removing write (and also read) capability:

chmod o-rw /dev/rmt/*

Tape backups are too important to allow ordinary users to write (or even read) them.


Bill Hassell, sysadmin
sassou
Frequent Advisor

Re: fbackup problem


hi,

Actualy the tape work
After the backup I was able to read the tape with getlist of sam.
Now I can't do this a again.
Is the tape corrupted or I can recover it
If a make a backup with
fbackup -f /dev/rmt/0m -u0g -I index.full
Can I recover it with sam?
KSF
Bill Hassell
Honored Contributor

Re: fbackup problem

The command:

fbackup -f /dev/rmt/0m -u0g -I index.full

is incorrect. The -g option MUST be followed by the name of a file containing lines such as:

i /usr
e /usr/lib
i /opt

and so on. The fbackup command above would have looked at -u0g -I and be quite confused as to what to do. If you meant to take a full backup, you must use the -i option instead. While you can combine options together (-u -0 -g is the same as -u0g), it can be confusing when an option requires an argument. To create a full backup, use this command:

fbackup -f /dev/rmt/0m -u -0 -v -i / -I /var/tmp/index.full

Note that index.full will be written to whatever directory you are currently in--not a good idea. Use a fullpath (ie, /var/tmp) to specify exactly where to write the index.




Bill Hassell, sysadmin