• 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.

DRM plan files filling up filesystem

Rhuobhe

ADSM.ORG Member
#1
Hi i noticed my AIX filesystem where I keep recovery plan files is filling up over time. Is it safe to manually delete (rm) the recovery plans that are older than 30 days? Is there any way to automate the 'prepare' command so that it only retains a certain number of recovery plans?

Thank you
 

Nicke

ADSM.ORG Senior Member
#3
Hi Rhuobhe

No problem to manually delete old recovery plan files.
I've seen the same issue and use this cmd via a crontab script:
...
if [[ `whoami` == "tsminst1" ]]; then
ls /tsm/tsmprod004/dbb/DR && find /tsm/tsmprod004/dbb/DR/tsmprod004.drm.* -mtime +14 -exec rm {} \;
fi

And use this eventough I've set 1 month retention in DRM:

#q drmstat
....
Recovery Plan File Expiration Days: 30 Day(s)
 

moon-buddy

ADSM.ORG Moderator
#4
This does not work - I had set this on various OS host for TSM and never worked - tried from TSM 6.x to 8.1.x.

I had opened a lot of PMR about this and this was never resolved.

this works better:

if [[ `whoami` == "tsminst1" ]]; then
ls /tsm/tsmprod004/dbb/DR && find /tsm/tsmprod004/dbb/DR/tsmprod004.drm.* -mtime +14 -exec rm {} \;
fi
 

mikeymac

ADSM.ORG Moderator
#5
This does not work - I had set this on various OS host for TSM and never worked - tried from TSM 6.x to 8.1.x.

I had opened a lot of PMR about this and this was never resolved.

this works better:
Ditto! And all these years I just thought I was st00pid! :D
 

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: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,469
Messages
134,125
Members
21,569
Latest member
srinathkodela
Top