Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

TSM Differentials and Expiration

Posted on 2014-01-14
6
Medium Priority
?
1,191 Views
Last Modified: 2014-01-15
Hi,

We are running TSM 5.5 and have been running NDMP Backups for our EMC Isilon NAS.
Due to the amount of data that we have (over 100TB) we are unable to schedule in a full backup due to time constraints.
Our original full backup took around 6 days to complete with 2 dedicated Tape Drives.

At present, we are solely running Differential backups and are quickly filling up the tapes.
Does expiry take place on older Differential backups, or does a Full need to take place to implement this?

Below is our copygroup.

Policy        Policy        Mgmt          Copy          Versions     Versions       Retain      Retain
Domain        Set Name      Class         Group             Data         Data        Extra        Only
Name                        Name          Name            Exists      Deleted     Versions     Version
STANDARD      ACTIVE        ISIMC         STANDARD             2            1           30          60

Thanks
0
Comment
Question by:PearsonAus
  • 3
  • 2
6 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 39780812
Hi,

this is a bit complicated. TSM cannot expire single files inside of a NAS dump image, only the complete image. Reason: TSM would have to create an own server object for each and every file in the dump, which it doesn't for reasons like performance and DB space consumption. Note: File level restore is possible nonetheless, by reading the TOC.

Full and differential backups are grouped, and the full backup is kind of a group leader ("Delta Group Leader" in TSM terms).

You have VEREXISTS = 2, so when you have performed one full and one differential backup then the next differential backup (version 3) will expire the full backup (version 1) ... BUT TSM must keep it internally, because it's needed to restore any of the differential backups.

The next (third) differential (version 4) will then expire the first differential backup after the full backup (version 2), etc, and this image really vanishes from TSM storage in the course of inventory expiration and space reclamation.

Short, the TSM server may store a full backup in excess of the number of versions you specified, and this full backup will stay in the TSM DB (and on media) until all dependent backups have expired.

Again, in other words, with your setting of VEREXISTS=2, when you run one full backup followed by differentials only then you will always have one (hidden) full backup and two active differential backups at a given point in time in TSM storage.

Note: Although the full backup image is still present in TSM you cannot perform a point in time restore from the date of this (in fact expired) full backup. You can only perform PIT restores from full or differential backups that are active (have not yet expired).

Expiry is performed by a background process which runs every "ExpInterval" hours (run Q OPT under dsmadmc to check this value).
If "ExpInterval" is 0 (zero) you must schedule an EXPIRE INVENTORY command on your own, by means of an Admin Schedule.

I hope I could help clarifying things a bit. As I said, it's complicated ...

wmp
0
 

Author Comment

by:PearsonAus
ID: 39781146
great, thanks for that.
Yes this all makes sense.

Yes expiration runs daily, ExpInterval is set to 24.

I have noticed however that when I run a "q vol NAME f=d" the "Scratch Volume?:" is set to "No" on many of the NDMP pool tapes. Could this be a reason as to why data may not be expiring correctly, and thus using up many tapes?
I think some tapes may have been manually defined with "def vol" as opposed to letting the NDMP pool pickup from available libvolume SCRATCH's
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 2000 total points
ID: 39781744
Volumes assigned to a storage pool by means of DEF VOL are for exclusive use in that storage pool.

Expiration and space reclamation will take place nonetheless, but the tapes in question will not return to the scratch pool but will stay in their storage pool in an "Empty" state.

You can check whether a storage pool is allowed to use additional scratch volumes or whether it is limited to use its assigned volumes with Q STGPOOL <poolname> F=D. The MAXSCRATCH parameter defines the number of scratch tapes a pool can request.

You can check with Q VOL STGPOOL=<poolname> ST=empty how many empty volumes are available to the pool for future use.

To return empty volumes to the scratch pool unassign them from their storage pool with

DEL VOL <volume_name>
and (important if the volume in question had "Scratch=No")
UPD LIBVOL <library_name> <volume_name> STAT=scratch

Again: expiration processing is not adversely affected by assigning tapes to a pool, they will just not return to "Scratch". No other pool than their "home" pool can use such tapes.
0
NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

 
LVL 21

Expert Comment

by:SelfGovern
ID: 39782857
I know you've probably invested heavily in TSM, but it might be worth your while when your next renewal comes up to consider HP's Data Protector.  It also allows you to perform a backup to disk in a single full, then incremental forever mode.  It keeps track of the pointers and can expire older files and reclaim space easier, it sounds, than TSM can.

With either Data Protector or TSM, remember that you'll want to create periodic Synthetic Full Backups -- typically to tape -- that do a lot of backend magic that resets pointers and keeps things organized and optimized, and which will allow you to do quicker restores, as well as have an economical second (or third) copy of your backups to store off site.

http://www.hp.com/go/dataprotector
0
 

Author Closing Comment

by:PearsonAus
ID: 39784128
Great. Just wanted to make sure this was the case.
Thanks for your response. As most of those tapes in the NDMP pool contain data, I am running move data for each, and subsequently will del vol and upd libv to scratch.
0
 

Author Comment

by:PearsonAus
ID: 39784130
Thanks SelfGovern,
This isn't an option for us, as the AUS TSM Servers are part of a global pool of about 30 TSM Servers.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
Is your phone running out of space to hold pictures?  This article will show you quick tips on how to solve this problem.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question