Re: DP 6.0 tape allocation order and off-site tapes (169 Views)
Reply
Regular Visitor
RZLKAUR
Posts: 5
Registered: ‎09-08-2011
Message 1 of 9 (202 Views)
Accepted Solution

DP 6.0 tape allocation order and off-site tapes

Hi,

 

we are using DP 6.0 with a tape library.
We do a full backup weekly with 1 year protection and copy the used tapes with post backup action.

After the post backup copy, the source tapes where ejected from the library an go to an off-site vault.

When the tapes are expired, DP wants these for backup, because the order gets the least recently tapes.

This would be ok for us, if DP would know, that the on-site tapes, shall be used prior to the off-site tapes.

 

I tried to configure this, via Location Priority Setting, but this does not seem to affect the order.

 

How can this be configured?

 

Thanks in advance

 

RZLKAUR

Please use plain text.
Honored Contributor
JBasilio
Posts: 530
Registered: ‎11-25-2008
Message 2 of 9 (192 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hello

 

If you are trying to restore filesystem copy then from restore option you must be able to see a tab called "copies", from here you can select restore from source backup or copy job.

Please use plain text.
Regular Visitor
RZLKAUR
Posts: 5
Registered: ‎09-08-2011
Message 3 of 9 (189 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi JBasilio,

 

sorry if I did not described correctly.

My problem is not about restoring data from the off-site tapes.

 

My problem is about reusing expired media for future backups.

Some of the expired medias are off-site and DP runs into mount requests because the off-site tapes are in the order.

Please use plain text.
Honored Contributor
JBasilio
Posts: 530
Registered: ‎11-25-2008
Message 4 of 9 (184 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi

 

Ok them you need to create new pool and move tapes out off library to this pool.

 

Each drive and backup has a pool assigned if you don't select this pool for any backup or drive it must work fine.

Please use plain text.
Regular Visitor
RZLKAUR
Posts: 5
Registered: ‎09-08-2011
Message 5 of 9 (174 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi,

 

great idea!

You mean I move the tapes to the pool when I eject the tapes.

Now I eject the tapes with the post-backup action, but there is no option to move the tapes to another pool.

So I have to move them via external script, right?

 

If so, I would launch the script as post-exec (will the post-exec only be launched once on the selected client after all backups have been done?? ) at the weekly backup job and do the tape copy in this script instead of  as post-backup-job in DP.

Do you think this is ok?

Please use plain text.
Honored Contributor
JBasilio
Posts: 530
Registered: ‎11-25-2008
Message 6 of 9 (169 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi

 

Yes you can use post-exec for to do that. Into script you must use omnimm command.

 

omnimm -move_medium Medium ToPoolName

Please use plain text.
Regular Visitor
RZLKAUR
Posts: 5
Registered: ‎09-08-2011
Message 7 of 9 (157 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi,

 

ok.

So my script has to know

 - if the backup was succesfull

 - which tapes have been used, I would look into the IDB for the session to get this

 

Are there code snippets for this already or do I have to "reinvent the wheel"?

Please use plain text.
Trusted Contributor
rgb99
Posts: 176
Registered: ‎11-06-2007
Message 8 of 9 (147 Views)

Re: DP 6.0 tape allocation order and off-site tapes

[ Edited ]

What about using a free pool? You can create a media pool that uses a free pool, which means it will take media from the free pool and use it for the backup. You can also specify to 'Move free media to free pool', meaning any expired tapes will automatically move to the free pool, and then be used for backup again.

Here's what you do:
- Create a Free Pool (Add Free Pool...)
- Look at the properties of the current pool you use to backup with.
- Under Allocation, check off 'Use free pool' and specify the Free Pool, then check 'Move free media to free pool'

- Move any expired/none protection media to the free pool.

All you would have to do is make sure you have enough tapes in the free pool. And like I said, when tapes expire, they will move back to the free pool to be used again.


Good luck.

Please use plain text.
Regular Visitor
RZLKAUR
Posts: 5
Registered: ‎09-08-2011
Message 9 of 9 (124 Views)

Re: DP 6.0 tape allocation order and off-site tapes

Hi,

I have written a script on JBasilio´s tip. Thank You for that.

 

We are using a free pool already, but it will not solve the problem, because DP will use the least recently medium, which could be, and in most of our cases it is, offsite.

 

So the "Offsite"-Pool solves our problem.


 

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation