Operating System - HP-UX
1748051 Members
5297 Online
108758 Solutions
New Discussion юеВ

Re: Whats happens if I use a no rewind device for a single fbackup?

 
SOLVED
Go to solution
N Ward
Regular Advisor

Whats happens if I use a no rewind device for a single fbackup?

Hi, I have created some tapes via fbackup using a no rewind device (I wasn't aware that it shouldn't be used, there is no explanation why either??). Will these tapes be usable? They have multiple file systems on them.
13 REPLIES 13
ani007
Super Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

Hi,
fbackup always rewinds the tape before the backup starts and I think, when it finishes.
better just using /dev/rmt/0m.
If you are trying to put more than 1 fbackup on a tape,You will not be able to do it.Are you able to do the listing (frecover -f /dev/rmt/0m -x -N -v [listing].I think you should be able to continue that device and frecover should work just fine.
regards,
Ani
N Ward
Regular Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

Hi thanks for your reply, why is it a problem if fbackup always rewinds the tape at the start and end? If there is one backup on the tape that isn't a problem is it if it does that?

I haven't tried frecover the tapes have gone to a third party, but I think they are having problems..

Is it because if you choose a no rewind device fbackup WONT be able to rewind at the start and end? Is that what the problem is?
ani007
Super Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

Suppose you want multiple filesystems with fbackup.
1.Best way to do is graph file so in future you can update it easily.

2.You can also use the fbackup manually and include those filesystems - using a no rewind device.

fbackup -i /home -f /dev/rmt/0mn (n is for no rewind)
fbackup -i /var -f /dev/rmt/0m (no need to rewind if this is all you are putting on the tape)

Normally /dev/rmt/1mn would be the no rewind device - typically for large tapes and small backups you'd use the no rewind so that the next time you put in the tape it would add another backup at the point the first one had left off rather than continually overwriting the first backup.
N Ward
Regular Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

Hi thanks for your reply...

I'm not entirely sure I understand what you are saying :o)

The fbackup we have done for example is this:

fbackup -0 -i /u01 -i /u02 -i /u03 -f /dev/rmt/c14t33d0BESTnb

would this be ok? its a one off backup.
ani007
Super Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

yes it is ok.you can use -I option which will create a index file (from that file you can check whick files are backedup)
ex.
fbackup - -vf /dev/rmt/cXtXdXBESTn -i /-I /home/index1 (index)
ani007
Super Advisor
Solution

Re: Whats happens if I use a no rewind device for a single fbackup?

please dont forget to assign points :)
N Ward
Regular Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

Many thanks for your help.
Dennis Handly
Acclaimed Contributor

Re: Whats happens if I use a no rewind device for a single fbackup?

>I have created some tapes via fbackup using a no rewind device

I thought fbackup explicitly checks for no rewind and would abort? Under WARNINGS it says:
fbackup should not be used with no-rewind devices
(Perhaps I'm confusing this with ignite.)

To validate your tapes, use frecover as mentioned by ani007.
N Ward
Regular Advisor

Re: Whats happens if I use a no rewind device for a single fbackup?

It certainly didn't complain when I ran some tests with the no rewind device first. It would be great if there was an explanation with the written warning that told you why the no rewind device shouldn't be used.