Thursday, November 12, 2015

How to recover expired save set

  • I am going to explain how to recover the expired save set or How to recover expired EMC Networker Data  or How to make Expired Save Sets to browsable for particular save set:
  • Note:  If the browse and retention policy for the saveset has expired and the tape has been reused, you will be unable to recover the contents of the Saveset.
  • Backup Software : EMC Networker

I will provide details as below scenario:

  • Today Date : 12/05/2013
  • Client want to restore data : 06/12/2013
  • Browse/Retention Policy: Three month only

When I tried to browse the date 06/12/2013 with changetime command.

recover> changetime 06/12/2013
18360:recover: cannot browse /P/USER/ZZZZ55/docs/Outlook/ as of `06/12/2013 23:59:59' (mm/dd/yyyy)
recover>


Note: Need to follow below step to find the Index Tape related to that date,               ran mminfo to find the ssid of the index save set I'm looking for.

mminfo -r "name,savetime(17),ssid,cloneid,volume,location,level,ssretent" -q "client=Backup Server,name=index:client Name,savetime>06/01/13,savetime<06/30/13" -ot

name            savetime(17)      ssid     cloneid    level    volume      location    ssretent sumflags

index:BackupClient   6/12/2013   62433892   1371148564 full   11103L5      IBM3310      9/4/2013  cE


cE : E indicate Expired Save set


Make tape not recyclable as well as extend the expire time by Type -S and -o manully on command line:

nsrmm -S <ssid/CloneID> -e <new expiration date> ( DD/MM/YYYY )
nsrmm -S <ssid/CloneID> -o notrecyclable

nsrmm –S 62433892/1371148564  –e 12/12/2013
nsrmm –S 62433892/1371148564   –o notrecyclable



mminfo -r "name,savetime(17),ssid,cloneid,level,volume,location,ssretent,sumflags" -q "client=BackupServer,name=index:BackupClient,savetime>06/01/13,savetime<06/30/13" -ot



name   savetime(17) ssid cloneid    level  volume  location ssretent sumflags
index:BackupClient  6/12/2013  62433892 1371148564  full  11103L5  IBM3310  12/12/2013  cr


Cr : r indicate recoverable save set

State changed from cE to Cr Expired to recoverable and Expire date now changed from 09/04/2013 to 12/12/2013.


Then tried to rebuild index now.

nsrck -L7 -t MM/DD/YYYY <clientname> /  nsrck -v -L7 -t MM/DD/YYYY <clientname>

nsrck -t 06/12/13 -L7 BackupClient


recover> changetime 06/12/2013
18360:recover: cannot browse /P/USER/ZZZZ55/docs/Outlook/ as of `06/12/2013 23:59:59' (mm/dd/yyyy)
recover>

But we are getting same cannot browse error

Then search Data Tape and mark as recoverable and not recyclable and rebuild index.

mminfo -s BackupServer -r "client,name,savetime,ssid,cloneid,volume,location,ssretent,sumflags,level" -q "client=BackupClient,savetime>06/01/2013,savetime<06/30/2013" -ot | grep full

client             name    savetime      ssid           cloneid     volume         location   ssretent  sumflags level
BackupClient P:\user  06/12/13 414719219  1371108606 111023L5      IBM3310   09/04/13  hE        full
BackupClient P:\user  06/12/13 414719219  1371108606 111092L5      IBM3310   09/04/13  tE         full



hE : E indicate Expired Save set
tE : E indicate Expired Save set

nsrmm -S <ssid/CloneID> -e <new expiration date> ( DD/MM/YYYY )
nsrmm -S <ssid/CloneID> -o notrecyclable


nsrmm –S 414719219/1371108606  –e 12/12/2013
nsrmm –S 414719219/1371108606  –o notrecyclable


mminfo -s BackupServer -r "client,name,savetime,ssid,cloneid,volume,location,ssretent,sumflags,level" -q "client=BackupClient,savetime>06/01/2013,savetime<06/30/2013" -ot | grep full


client             name    savetime      ssid           cloneid        volume        location   ssretent    sumflags level

BackupClient P:\user  6/12/2013 414719219  1371108606 000023L5      IBM3310  12/12/2013   hr        full
BackupClient P:\user  6/12/2013 414719219  1371108606 000092L5      IBM3310  12/12/2013   tr         full

hr : r indicate recoverable save set
tr : r indicate recoverable save set


State changed from hE, tE to hr, tr Expired to recoverable and Expire date now changed from 09/04/2013 to 12/12/2013.


Then again try to rebuild indexes:

nsrck -L7 -t MM/DD/YYYY <clientname> /  nsrck -v -L7 -t MM/DD/YYYY <clientname>

nsrck -t 06/12/13 -L7 BackupClient



recover> changetime 06/12/2013
18361:recover: time changed to 06/12/2013 23:59:59 (mm/dd/yyyy)


Able to browse now 


Add all files and restored files as per my previous post which as below:





Also check Below Useful Commands:


  • mminfo -avot (a for all, v for verbose, o for order and t for time)
  • mminfo -q "volumename=<volname>" -r "name,ssid,savetime(26),ssbrowse(26),ssretent(26)" - this queries the media database for information relating to a specific volume
  • mminfo -q"client=<clientname>" -r"name,ssid,ssbrowse(26),ssretent(26),ssflags,savetime(26)" - this queries the media database for information relating to a specific client
  •  mminfo -avV -q"ssid=<ssid>" -r"ssbrowse(26),ssretent(26),savetime(26)"
  • nsrinfo -t "US date and time for saveset" <clientname> - this is to list the files in the saveset
  •  nsrmm -S <ssid/CloneID> -e <new expiration date> ( DD/MM/YYYY )
  • nsrmm -S <ssid/CloneID> -o notrecyclable
  •  nsrck -L7 -t MM/DD/YYYY <clientname> /  nsrck -v -L7 -t MM/DD/YYYY <clientname>
  • mminfo -avV -q"ssid=<ssid>" -r"ssbrowse(26),ssretent(26)"
  • scanner -i -S <ssid> <device path as configured in jukebox>
  • scanner -S ssid -iv \\.\device.

  • nsrjb -ln -S <slot number where tape is located> -f <device path as configured in jukebox>









No comments:

Post a Comment

Test1