sasamir

updated

10 years ago

S

sasamir

7 Posts

0

1364

June 20th, 2016 12:00

Find if all savesets on a day are cloned to tape

Hi All,

We've networker 8.1.1.2 on solaris connected to DD and tape library. Our primary copy stays on DD for 30 days and last day of the month we manually clone savesets to tape for longer retention. Want to know if all savesets on last day of the month are cloned to tape successfully and nothing is missed to clone.

Any help appreciated.

Regards,

S

  • bingo.1

    1 Rookie

    •

    2430 Posts

    965

    0

    Posted June 20th, 2016 23:00

    The command to verify the clones is pretty simple - just use mminfo and report the "validcopies" attribute, like in this command template:

      mminfo -q "savetime>=02/28/2016,savetime<03/01/2016,client= " -r "client,name,level,savetime, validcopies" [-ont] [-xc,] [> file]

    You can of course also check whether all save sets have 2 valid copies and report only those who do not comply:

      mminfo -q "savetime>=02/28/2016,savetime<03/01/2016,client= ,validcopies<2" -r "client,name,level,savetime" [-ont] [-xc,] [> only_1_copy.txt]

  • mradamk

    215 Posts

    965

    0

    Posted June 20th, 2016 14:00

    Shaiksamir,

    I have a menu driven interactive script you might find useful, its been tested on Linux so might need some tweeking if run on Solaris.

    Please contact me direct if you are interested in given it a try adam.kirkpatrick@emc.com

    regards,

    Adam

  • samirshaikh

    1 Rookie

    •

    31 Posts

    965

    0

    Posted June 21st, 2016 07:00

    thanks, will give it a try.