Backup only new data to copy stg pool

chimo

ADSM.ORG Member
Joined
Aug 16, 2005
Messages
9
Reaction score
0
Points
0
In primary data center I have backups of database in primary STG pool that are max. 3 years old (50 tape volumes). I need to make COPY stg pool for disaster recovery scenario, but in this COPY STG pool I need only backups 1 month old (approximatelly 2-3 volumes). Is there any solution, to make such COPY STG pool, in which data are 1 month old to save tapes? TSM server is 6.2.
 
Interesting question but it can be done using this untidy/unrecommended method
select volume_name, LAST_WRITE_DATE from volumes where STGPOOL_NAME='MYPOOL' and LAST_WRITE_DATE<current_timestamp-(30) day
That lists the tapes not written to in over 30 days. So what you do is set them to unavailable;
update vol volume_name access=unavail for each of those volumes
Then just backup your stgpool, you will get an ANR1229W error for each tape that is set to unavail, but it will copy the other tapes.
Obviously you need to set the older tapes back to readwrite if you need a restore/reclaim etc.
 
Back
Top