Listing files in a NetWorker saveset

A common question I've had in NetWorker support is "How do I list the files backed up in a saveset?"

At first glance the answer this isn't straight forward, ut the answer is quite simple; Just using two commands mminfo and nsrinfo we get the results;

Firstly, we need to run the mminfo command to obtain the savetime of the saveset in epoch format (ie: number of seconds since 01-Jan-1970 00:00:00 GMT):

% mminfo -r nsavetime -v -N <name> -c <client> -ot

Where:

  • -r nsametime -- report only the save time of the saveset in epoch format
  • <name> -- is the name of the saveset you want to review, (ie: /data, /opt, etc.)
  • <client> -- is the backup client on which the saveset was taken
  • -ot -- sorts the output in date order

Then we feed the mminfo output into the nsrinfo command:

% nsrinfo -t <nsavetime> <client>

Where:

  • -t <nasavetime> -- is the output taken from the mminfo output
  • <client> -- is the backup client on which the saveset was taken

For example:

% mminfo -r nsavetime -v -N /data -c smurf -ot
963360000
963446399
917913599
922924800
% nsrinfo -t 922924800 smurf
/data/docs/howto/list-files-in-a-saveset.sdd
/data/docs/howto/list-files-in-a-saveset.sdw
/data/docs/howto/move-client-index-on-a-unix-networker-server.sdw
/data/docs/howto/move-client-index-on-a-windows-networker-server.sdw
/data/docs/howto/remove-a-networker-client.pdf
/data/docs/howto/remove-a-networker-client.sdw
/data/docs/misc/networker-licence-troubleshooting-guide-v1-1.sdw
/data/docs/misc/networker-licence-troubleshooting-guide-v1-2.sdw
/data/scripts/chknwclones.ksh
/data/scripts/chknwgroup.ksh
/data/scripts/chknwindex.ksh
/data/scripts/rmnwclient.ksh
/data/scripts/metaview.ksh
/data/scripts/metatree.ksh
/data/scripts/rmnwclient.ksh
/data/scripts/rmnwgroup.ksh
/data/scripts/reset-browse-date.ksh
/data/scripts/reset-retention-date.ksh
    :
    :
23459 objects found