mpn1

updated

17 years ago

M

mpn1

48 Posts

0

6752

September 26th, 2009 01:00

Find details of a saveset

Hi,

I want to find out which files have been backed up as part of a save set, eg: I have a save set '/vol/uservol_1' on a nas box NAS1. How do I get the infomation what files are being backed up in a particular save session.

I heard that there are some switches in 'nsrinfo' that might help.

I would like to have the whole command. Also can I used the the same command to find the data even if the saveset has crossed its browse policy but is still within retention policy ?

Thanks In Advance ... :)
  • ark-flUcr

    23 Posts

    5548

    0

    Posted October 9th, 2009 00:00

    hello;

    I writte a example:

    We ask for nsavetime, we find the last day backup for XXX client and it save set /var (you could change the time browse ....)
    # mminfo -q "name=/var,client=XXX,savetime>= -1 day" -r nsavetime
    1255048877
    #

    with nsavetime (1255048877) we could use nsrinfo to do a query in index database:

    # nsrinfo -t 1255048877 XXX
    scanning client `XXX' for savetime 1255048877(vie 09 oct 2009 02:41:17 CEST) from the backup namespace
    /var/tmp/
    ...
    /var/spool/
    /var/
    /
    84 objects found
    #
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    5548

    1

    Posted September 28th, 2009 13:00

    You can find examples if you look archives or simply read manual for nsrinfo.

    In short, you need to obtain nsavetime via mminfo for you saveset and then you do something like nsrinfo -t NSAVETIME CLIENTNAME and that's it.

    You can't use that command after browse policy has expired as those index entries will get wiped out then.
  • amediratta

    2 Intern

    •

    2014 Posts

    5548

    1

    Posted September 30th, 2009 02:00

    You can use the following set of commands:

    mminfo -aq SSID=ssidno -r nsavetime: to get savetime, you need to enter the ssidno for the save set.

    nsrinfo -t nsavetime: you need to enter the result of the above command as nsavetime
  • mpn1

    48 Posts

    5548

    0

    Posted October 8th, 2009 08:00

    Hi,

    So is there a way to find the file details of a save-set ?

    Hopefully .. :) ??
  • ble1

    6 Operator

    •

    14354 Posts

    •

    56186 Points

    5548

    1

    Posted October 8th, 2009 09:00

    Details of save sets you will find via mminfo command. Content of saveset you can find via nsrinfo.