


NSR_CRASH(8)                                         NSR_CRASH(8)


NNAAMMEE
       nsr_crash - How to recover from a disaster with NetWorker

DDEESSCCRRIIPPTTIIOONN
       NetWorker  can be used to recover from all types of system
       and hardware failure that result in loss of files.

       When a NetWorker client has lost files, the  rreeccoovveerr  com-
       mand can be used to browse, select, and recover individual
       files, selected directories, or whole filesystems.  If the
       networker  rreeccoovveerr command is lost or damaged it will have
       to be copied either from a NetWorker client  or  from  the
       NetWorker distribution media.

       When  recovering a large number of files onto a filesystem
       that was only partially damaged, you may not want to over-
       write  existing versions of files.  To do this, wait until
       rreeccoovveerr asks for user input to decide how to handle recov-
       ering  an  existing  file.   You can then answer NN meaning
       ``always no'' to cause recover to  avoid  overwriting  any
       existing  files, or nn if you want to protect this file but
       you want rreeccoovveerr to ask again on other files.

       If you do want to replace the existing version of  a  file
       or  set  of files with the saved versions use the aadddd com-
       mand in rreeccoovveerr to select which files should be retrieved,
       and  answer  YY  or  yy  when it asks if it should overwrite
       existing files (YY means ``always yes''  for  future  over-
       write cases; yy means just overwrite this one file).

       For  more information on using the rreeccoovveerr command see the
       rreeccoovveerr(8) manual page.

       If the NetWorker server daemons or commands are  lost,  it
       may  be  necessary  to re-install the server from the Net-
       Worker distribution media.  Once the NetWorker  server  is
       installed  and  the  daemons  are running, other NetWorker
       server files can be recovered using the  rreeccoovveerr  command.
       When  re-installing  NetWorker you must be sure to install
       the _/_n_s_r directory in exactly the same  place  as  it  was
       originally  installed.   The machine used to recover files
       may be different that the one used to save the files,  but
       it  must  have  the same hostname as the original machine.
       This is important because recovery of  the  NetWorker  on-
       line  index  requires  that  the index files have the same
       pathname, which includes the server's  hostname,  as  they
       did at the time of the latest save.

       In the event that the NetWorker server's index is lost, it
       will be necessary to first recover the  index  from  media
       before  the  rreeccoovveerr  command  can  be  used to browse and
       recover other files.  To recover  the  NetWorker  server's
       index  use  the  mmmmrreeccoovv  command.   The  mmmmrreeccoovv  command
       quickly recovers the lost on-line index  for  a  NetWorker



NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        1





NSR_CRASH(8)                                         NSR_CRASH(8)


       server  by locating the bboooottssttrraapp save set produced by the
       ssaavveeggrrpp(8) command at the end of an automatic  save.   The
       bootstrap  save  set  tells  mmmmrreeccoovv  which  save  sets to
       extract from which volumes to  recover  the  whole  index.
       The  save  set  identifier and other information about the
       bootstrap save set is printed by ssaavveeggrrpp  at  the  end  of
       each  automatic  save.  See the ssaavveeggrrpp(8) manual page for
       more details.

       After mmmmrreeccoovv completes, the server's file index and media
       database will be fully recovered (unless mmmmrreeccoovv prints an
       error message to the contrary).   However,  the  NetWorker
       server's  _/_n_s_r_/_r_e_s  directory, which contains the resource
       files  describing  your  NetWorker  installation,  require
       additional  work  on  the part of the administrator before
       they will be used.  Perform the following  steps  to  com-
       plete  the  mmmmrreeccoovv  process (these steps will be incorpo-
       rated into mmmmrreeccoovv in a future release).

       1.     Shut down your NetWorker server (nnssrr__sshhuuttddoowwnn  --aa).

       2.     Change to the _/_n_s_r directory (ccdd //nnssrr).

       3.     Save  the  temporary  resource directory created by
              nnssrr__iizzee (mmvv rreess rreess..ssaavvee).

       4.     Move the recovered resource  directory  into  place
              (mmvv rreess..RR rreess).

       5.     Restart the NetWorker server (ccdd // ;; nnssrrdd).

       6.     After  verifying  that  the recovered resources are
              valid, remove the temporary resource directory  (rrmm
              --rr //nnssrr//rreess..ssaavvee).

       NNOOTTEE: The mmmmrreeccoovv command is only used to recover the Net-
             Worker server's index.  Use  rreeccoovveerr  to  recover  a
             client's index.

       Once mmrecov is run and the media database has been recov-
       ered, one can use the  recover  by  save  set  feature  to
       restore  entire filesystems.  This method can be faster as
       one does not have to use a browser to mark all  the  files
       and  directories  in a file system, an operation which can
       take a long time.  You should only  use  this  method  for
       recovery of a filesystem when you can locate a recent save
       set for that filesystem which was saved  with  level=ffuullll.
       When  recovering  multiple save sets which are interleaved
       on media, rreeccoovveerr will recover all save sets  concurrently
       instead  of making a separate pass over the media for each
       save set.  See the rreeccoovveerr(8) man page for details on run-
       ning recover by save set.

       If  you  want to recover whole filesystems, an alternative



NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        2





NSR_CRASH(8)                                         NSR_CRASH(8)


       to using mmmmrreeccoovv and rreeccoovveerr is to use the ssccaannnneerr command
       to recover all of the files in a particular save set.  The
       ssccaannnneerr command can also be used to print a table of  con-
       tents for a volume to help you locate the correct save set
       for a filesystem.  Similar to recover  by  save  set,  you
       should  only use ssccaannnneerr for recovery of a filesystem when
       you can locate a recent save set for that filesystem which
       was saved with level=ffuullll.  If using this method of recov-
       ery, use of the --xx option is preferred  to  simply  piping
       the  output through uuaassmm as multiple save sets interleaved
       on the media can be read concurrently instead of making  a
       separate pass over the media for each save set.  For exam-
       ple, the first command is preferred to the second:

              ssccaannnneerr --ss 1166223344 --ss 1166225577 //ddeevv//nnrrsstt88 --xx uuaassmm --rrvv

              ssccaannnneerr --ss 1166223344 //ddeevv//nnrrsstt88 || uuaassmm --rrvv
              ssccaannnneerr --ss 1166225577 //ddeevv//nnrrsstt88 || uuaassmm --rrvv

       See the ssccaannnneerr(8) manual page for more details.

       If the server is damaged so badly that it will not run  at
       all,  you  will need to follow the manufacturer's instruc-
       tions for re-installing and rebooting a multiuser  system.
       Once you have the system up and running in multiuser mode,
       you can re-install NetWorker (i.e. extract NetWorker  from
       the distribution media and install it, using nnssrr__iizzee(8) or
       ppkkggaadddd(1M), depending on your system) and use  mmmmrreeccoovv  to
       rebuild  the  on-line  index.   Finally,  you will want to
       recover files which previously existed on the machine, but
       which  do  not  exist  on  the manufacturer's distribution
       media.  This may include: system files which had been cus-
       tomized,  a  specially tailored kernel, new special device
       entries, locally developed software, and  user's  personal
       files.


SSEEEE AALLSSOO
       nnssrr__iizzee(8), nnssrr__llaayyoouutt(5), nnssrr(8), rreeccoovveerr(8), ssaavveeggrrpp(8),
       mmmmrreeccoovv(8), ssccaannnneerr(8).

















NetWorker rt_1998_4Q.Build.MMaJrFcehra0l8_,0021000                        3


