• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Backup only new data to copy stg pool

chimo

ADSM.ORG Member
#1
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.
 

tsm_dude

ADSM.ORG Senior Member
#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.
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 14 17.1%
  • Keep using TSM for Spectrum Protect.

    Votes: 52 63.4%
  • Let's be formal and just say Spectrum Protect

    Votes: 9 11.0%
  • Other (please comement)

    Votes: 7 8.5%

Forum statistics

Threads
31,387
Messages
133,689
Members
21,499
Latest member
saivan
Top