cancel
Showing results for 
Search instead for 
Did you mean: 

Tape backup initialization problem

Former Member
0 Kudos

Hi,

we are wrking on ECC 6.0 and Oracle 10g on windows 2003 server.

We are using 6 tapes to take backup from Monday to saturday and in ora<SID>.SAP

expire_period is set to 6.

Now the backup works fine from Monday to saturday with initilization tape.

But whenever we repeat tht is come back to monday we need to initialize every time we take backup otherwise it givs tape vol name error.

any body any idea plz ????/

Regards

Manish

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Thanks alot all specially

Abhimanyu

Former Member
0 Kudos

Hi,

U may try this after insertion Tape Initialize Tape with db13 and take backup with Brtools.

Thanks

Former Member
0 Kudos

If ur using option Scratch it is working and your Initializing problem could be solved but i have doubt that this TAPE will work fine at the time of Restoring if it will require....?

Thanks

Presu

Former Member
0 Kudos

Hi,

Can you tell us one thing, how many tape lables you are maintaining in your profile?

If you are maintaining 6 lables with expiration period of 6 days, there is no need for re-initialization.

Check the same and let us know....

Regards

Nick Loy

Former Member
0 Kudos

Hi Nick,

there are six tape levels only as given below -

volume_archive = (PRDA01, PRDA02, PRDA03, PRDA04, PRDA05,

PRDA06)

  1. volumes for brbackup

  2. [<volume_name> | (<volume_name_list>) | SCRATCH]

  3. no default

volume_backup = (PRDB01, PRDB02, PRDB03, PRDB04, PRDB05,

PRDB06)

  1. expiration period for backup volumes in days

  2. default: 30

expir_period = 6

  1. recommended usages of backup volumes

  2. default: 100

tape_use_count = 100

Regards

Manish

Former Member
0 Kudos

Hello Manish,

if I correctly understand what you are doing, expir_period = 6 should be ok.

A tape will be released for further use after 6 days, and from one Monday to the next there are more than 6 days.

So I think you should tell us your exact error message, to avoid possible misunderstandings.

What do you mean by tape vol name error ?

Did you use all your 6 tapes in the meantime?

regards

Former Member
0 Kudos

Hi Joe,

I can take backup on new tapes after initializing from Monday to saturday without any problem.

Now on Monday whn I try for backup again on tape laveled as Monday it givs "wrong vol found.......expected vol lavel is ..........."

SO i have to reinitialez again and the bckup completes without any problem.

So main things is tht I have to re-initialize everyt tape for reuse.

Regards

Manish

Former Member
0 Kudos

Somehow I expected that.

And what about:

Did you use all your 6 tapes in the meantime?

For example, if you leave away Saturday's backup for whatever reason, and only use tapes PRDB01, PRDB02, PRDB03, PRDB04, PRDB05, then on next Monday, brbackup will insist on PRDB06.

That's the way it works.

And by the way, you didn't give us the exact error message.

wrong vol found.......expected vol lavel is ..........."

That many dots ? really?

regards

Former Member
0 Kudos

Hi Joe ,

For example, if you leave away Saturday's backup for whatever reason, and only use tapes PRDB01, PRDB02, PRDB03, PRDB04, PRDB05, then on next Monday, brbackup will insist on PRDB06.

I this could be the reason -

Well the error is -

BR0216E Wrong volume PRDB05 found in device /dev/nmt0, expected: PRDB01

I hope I can solve my problem and will let you know

Regards

Manish

Former Member
0 Kudos

I suggest you insert the needed tape, i.e. PRDB01.

Always insert tapes PRDB01, PRDB02, PRDB03, PRDB04, PRDB05, PRDB06 in exactly this order, then start from PRDB01 again.

And do not rely on each tape being for one fixed day of the week.

Your life will be easier if you follow SAP's way of doing things instead insisting on your own way.

regards

Former Member
0 Kudos

And by the way, if you are not sure what tape to insert:

-q option of brbackup will tell you in advance.

Former Member
0 Kudos

Hi Joe,

Plz suggest backup process on tape accoring to you to make life lil easy 😆 😆

Regards

Manish

Edited by: basis basis on May 14, 2009 1:18 PM

Former Member
0 Kudos

I think I've already suggested in my two previous post.

And of course it can't be wrong to read documentation. But I am much too lazy now to look for any URL. Shouldn't be difficult though.

regards

Former Member
0 Kudos

Hi Joe,

When I initialize tapes, it says ---

BR0207I Volume in device: /dev/nmt0 will be initialized with name: SCRATCH

now after tht after takign backup it says -

BR0103I Following backup volume will be used: PRDB01

My question is, while initialization it is using vol name as SCRATCH and while taking backup it is assigning vol name as PRDB01 ?????

why it is so ???

does tht mean next tape will be used as PRDB01,02,03,04,05,06 ????

Regards

Manish

Former Member
0 Kudos

Can any one answer above question ????

Regards

Former Member
0 Kudos

I urgently suggest reading the friendly manual.

You will find out that you have to tell brbackup which volume name to use when initialising.

If I remember correctly, it will be something like:

brbackup -i PRDB01

hope this helps

abhimanyu_pandey
Participant
0 Kudos

Hi...

What command you are using to initailize tape.?

For taking Redo log backup, I would suggest to have redolog for 2 week, if you taking backup every week. It will add redundency so reliability in your backup.

So if you want to have it for 2 weeks you can have 14 tapes for 1 day each. Initailize all of them using command line and have in your backup repositary.

To initialize tape, Try command..

brarchive -i force -v <volume_name>

e.g. brarchive -i force -v PRDA01

Hope fully it will not warn for SCRATCH and also solve your problem.

Regards,

Abhimanyu

Former Member
0 Kudos

Hi Abhimanyu,

I initialize tape through DB13 only.

after inserting tape, run Tcode DB13, there we have option to initialize tape.

So I simple click "initialize option" and thn click "whole database+ redo log" backup.

Does SCRATCH option create problem during restore ?????

Regards

Manish

abhimanyu_pandey
Participant
0 Kudos

Hi..

When you use DB13, The Volume is initialized by following command.

brbackup -u / -i force -c force -n 1 -v SCRATCH 

-v option is for specifing volume. By default it is initailized using name SCRATCH and used in very new tapes.

When you take backup of redolog or database backup using DB13, it again initailize the tape with volume name specified by you if it is SCRATCH (i.e. DB13 initialized) otherwise it will show Error for wrong volume. ( as in your case it is showing after a week).

I would suggest to initailize volume using command line utility and not to stick DB13 Tcode for initialization. Login with user <SID>adm and initialize volume as i mentioned earlier. ( check my last post in thred).

By doing so, All volume will be initialized by their name. And there is no dought that backup taken in these tapes are 100% safe, sure and reliable.

Hope it will solve your all problems,

Regards,

Abhimanyu.

former_member204746
Active Contributor
0 Kudos

set expire_period to 8

(this means 8 days)

Former Member
0 Kudos

You mean to say, set expire_period=8 and initialized eight consecutive tapes and use them in increasing order ????

As per my understanding expire_period=6 means you can initialized six tapes and thn you can resue thme without initializing again and again.

Regards

Manish