Solved

TSM Differentials and Expiration

Posted on 2014-01-14
6
1,094 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 500 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
6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

 
LVL 20

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

AWS Glacier is Amazons cheapest storage option and is their answer to a ‘Cold’ storage service.  Customers primarily use this service for archival purposes and storage of infrastructure backups.  Its unlimited storage potential and low storage cost …
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
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…
This tutorial will show how to configure a new Backup Exec 2012 server and move an existing database to that server with the use of the BEUtility. Install Backup Exec 2012 on the new server and apply all of the latest hotfixes and service packs. The…

705 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now