08-22-2012 02:47 AM
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
Solved! Go to Solution.
08-22-2012 03:56 AM
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.
08-22-2012 04:22 AM
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.
08-22-2012 04:32 AM
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.
08-22-2012 07:46 AM
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?
08-23-2012 02:42 AM
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"?
08-23-2012 10:55 AM - edited 08-23-2012 10:58 AM
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.
08-27-2012 07:39 AM
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.