Legato NetWorker Commands Index:
ansrdascdcode
cdi_block_limits
cdi_bsf
cdi_bsr
cdi_eod
cdi_filemark
cdi_fsf
cdi_fsr
cdi_get_config
cdi_get_status
cdi_inq
cdi_load_unload
cdi_locate
cdi_offline
cdi_rewind
cdi_set_compression
cdi_space
cdi_ta
cdi_tapesize
cdi_tur
changers
dasadmin
ddmgr
EMASS_silo
erase
generate_test_tape
hadump
hafs
hagentd
hagetconf
haprune
hascsi
hasubmit
hasys
hpflip
IBM_silo
ielem
inquire
jbconfig
jbexercise
jbverify
ldunld
lgtolic
lgtolmd
libcdi
libscsi
libsji
libstlemass
libstlibm
libstlstk
lrescan
lreset
lus_add_fp_devs
lusbinfo
lusdebug
mini_el
mm_data
mminfo
mmlocate
mmpool
mmrecov
msense
mt
ndmpjbconf
networker
nsr (1)
nsr (5)
nsr_archive_request
nsr_client
nsr_crash
nsr_data
nsr_device
nsr_directive
nsr_getdate
nsr_group
nsr_ize
nsr_jukebox
nsr_label
nsr_layout
nsr_license
nsr_migration
nsr_notification
nsr_policy
nsr_pool
nsr_regexp
nsr_resource
nsr_schedule
nsr_service
nsr_shutdown
nsr_stage
nsr_storage_node
nsr_support
nsr_usergroup
nsradmin
nsralist
nsrarchive
nsrcap
nsrcat
nsrck
nsrclone
nsrcnct
nsrd
nsrexec
nsrexecd
nsrhsmck
nsrhsmclear
nsrhsmd
nsrhsmls
nsrhsmnfs
nsrhsmrc
nsrhsmrecall
nsrib
nsriba
nsrim
nsrindexasm
nsrindexd
nsrinfo
nsrjb
nsrlic
nsrls
nsrmig
nsrmm
nsrmmd
nsrmmdbasm
nsrmmdbd
nsrmon
nsrndmp_clone
nsrndmp_recover
nsrndmp_save
nsrpmig
nsrports
nsrretrieve
nsrssc
nsrstage
nsrtrap
nsrwatch
nwadmin
nwarchive
nwbackup
nwrecover
nwretrieve
pathownerignore
pmode
preclntsave
pstclntsave
read_a_block
recover
relem
resource
save
savefs
savegrp
savepnpc
scanner
sjiielm
sjiinq
sjimm
sjirdp
sjirdtag
sjirelem
sjirjc
sjisn
sn
ssi
stk_eject
STK_silo
stli
sym2xdm
tapeexercise
tur
uasm
writebuf
* - Windows Only
* mt
* nsrlpr
* nsrperf
nsr_crash
nsr_crash - How to recover from a disaster with NetWorkerDESCRIPTION
NetWorker can be used to recover from all types of system and hardware failures that result in loss of files. When a NetWorker client has lost files, the recover command can be used to browse, select, and recover individual files, selected directories, or whole filesystems. If the NetWorker recover command is lost or dam- aged, 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 overwrite existing versions of files. To do this, wait until recover asks for user input to decide how to handle recovering an existing file. You can then answer N mean- ing 'always no' to cause recover to avoid overwriting any existing files, or n if you want to protect this file but you want recover 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, answer Y or y when recover asks if it should overwrite existing files (Y means 'always yes' for future overwrite cases; y means just overwrite this one file). For more information on using the recover command, see the recover(1) manual page. If the NetWorker server daemons or commands are lost, it may be neces- sary to re-install the server from the NetWorker distribution media. Once the NetWorker server is installed and the daemons are running, other NetWorker server files can be recovered using the recover com- mand. When re-installing NetWorker you must be sure to install the /nsr 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. Recovery of the NetWorker server and client indexes requires that the destination machine be of the same kind as the one used to save the indexes. If the NetWorker server's media database is lost, it will be necessary to recover the bootstrap from media. mmrecov recovers the bootstrap which contains the media database and the NetWorker server resource files. Since the resource files cannot be restored on top of the ones the NetWorker server is using, it is necessary to shut down NetWorker, rename the recovered resource files, and restart NetWorker. The save set identifier and other information about the bootstrap save set is printed by savegrp at the end of each scheduled save. It can also be displayed using mminfo -B or scanner -B. See the savegrp(1), mminfo(1), and scanner(1) man pages for more details. If the index of any NetWorker server or client is lost, the index must volumes to recover the index to the latest time. See the nsrck (1) man page for more details. To summarize, these are the steps you must do to recover your server after mmrecov completes. 1. Shut down your NetWorker server (nsr_shutdown -a). For Windows, you would stop the NetWorker services. 2. Change to the /nsr directory (cd /nsr). For Windows, cd to the install location (default C:\Program Files\nsr). 3. Save the temporary resource directory created when you rein- stalled the NetWorker server (mv res res.save). For Windows, use "My Computer" or "Windows Explorer" to rename the res direc- tory to res.save. 4. Move the recovered resource directory into place (mv res.R res). For Windows, use "My Computer" or "Windows Explorer" to rename the res.R directory to res. 5. Restart the NetWorker daemons on the Server by running the plat- form dependent startup script. Eg., on Solaris, this is "/etc/init.d/networker start". For Windows, you would start the NetWorker services. 6. After verifying that the recovered resources are valid, remove the temporary resource directory (rm -r /nsr/res.save). For Windows, use "My Computer" or "Windows Explorer" to send the res.save directory to the recycle bin. 7. Recover your server and client indexes (nsrck -L7). NOTE: The mmrecov command is only used to recover the NetWorker server's media database and resource files. Use nsrck to recover the server and client indexes. Once the media database and server resource files have been recovered, you may recover any of your server or client indexes in any order. It is not necessary to recover the server's index before recovering the clients' indexes. Moreover, if your clients have the NetWorker client installed, you may run on-demand and scheduled saves once the media database and server resource files have been recovered. However, you will not be able to browse the saves for a client until you recover the client's file index. You may use save set recover to recover files before a client's file index has been recovered. See the recover(1) man page for details on running recover by save set. If the server is damaged so badly that it will not run at all, you will need to follow the manufacturer's instructions for re-installing and rebooting a multiuser system. Once you have the system up and running in multiuser mode, you can re-install NetWorker (that is extract Net- Worker from the distribution media and install it, using nsr_ize(1), pkgadd(1M), or any other installation utility depending on your sys- tem), use mmrecov to recover the media database and resource files, and use nsrck to rebuild the on-line indexes for the server and each client. Finally, you will want to recover files which previously mmrecov(1), scanner(1)
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk