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
nsrpmig
nsrpmig - premigrate files for long-term storage with NetWorker HSMSYNOPSIS
nsrpmig [ -BEiLnpqvx ] [ -LL ] [ -s server ] [ -N name ] [ -f dirfile ] [ -b pool ] [ -g group ] [ -m masquerade ] [ -W width ] [ -I input file ] path
DESCRIPTION
nsrpmig premigrates files to the NetWorker server. Premigration means making a copy of a file on NetWorker storage in preparation for migra- tion. When a file is later migrated, the on-disk copy of the file is replaced with a reference to the premigrated copy in NetWorker. Currently, only regular files are premigrated. Criteria specified in the NetWorker migration client resource are used to select files for premigration. The progress of a nsrpmig session can be monitored using the X Window System based nwadmin(1) program or the curses(3X) based nsrwatch(1) program for other terminal types. The nsrpmig command will not cross mount points, nor will it follow symbolic links. If the path to be saved is mounted from a network file server, nsrpmig will instruct the user to run the save on the remote machine or use the -L option. The directive files, see nsr(5), encountered in each directory will be read by default. They contain special instructions directing how par- ticular files are to be saved, such as compressed or skipped. These files are named .nsrhsm. Note that the directive files used by Net- Worker for save and recover named .nsr are ignored by nsrpmig. Each file in the subdirectory structures specified by the path argu- ments will be encapsulated in a NetWorker save stream. This stream of data is sent to a receiving process on the NetWorker server. See nsrd(1). The server processes the data, adding entries to the online index for each file in the stream. See nsrindexd(1). The data finally resides on some long term storage media. See nsrmmd(1). Details about handling media are discussed in nsrmm(1) and nsr_device(5).
OPTIONS
-E Estimates the amount of data which will be generated by the save, then perform the actual save. Note that the estimate is generated from the inode information, and thus the data is only actually read once. -i Ignores any .nsrhsm directive files as they are encountered in the subdirectory structures being saved. -L Indicates local. Saves will be performed from the local Net- Worker client, even when files are from a network file server. To recover these files, run recover(1) with the -c client argu- ments, where client is the name of the NetWorker client that did the save. Specifies the tag to precede the summary line with. This option is used by savegrp(1) and savefs(1) to aid in savegrp summary notifications. -n Indicates no save. Estimates the amount of data which will be generated by the save, but does not perform the actual save. -v Indicates verbose. Causes the save program to report its progress. If you specify multiple -v options, then the verbosity level increases. -p Exits with status 0. Is used by server to determine if client installed properly. -q Indicates quiet. Displays only summary information and error messages. -s server Specifies which machine to use as the NetWorker server. -N name Indicates the symbolic name of this save set. By default, the path argument is used as the save set name. -f dirfile Indicates the file from which to read prototype default direc- tives. See nsr(5). A dirfile of - causes the default directives to be read from standard input. -b pool Specifies a particular destination pool for the save. -g group Is used by savegrp(1) and savefs(1) to denote the group of the save. See nsr_client(5) and nsr_group(5). It is also used by the NetWorker server to select the specific media pool. -I input_file In addition to taking the paths to save from the command line, this option reads paths to save from the named file. The paths must be listed one per line. If no paths are specified on the command line, then only those paths specified in the file will be saved. -W width Indicates the width used when formatting summary information output. -x Indicates that if a subdirectory is a mount point, scan it also. This option currently has no effect. -B Forces a save of all connecting directory information from root (/) down to the point of invocation.
DIAGNOSTICS
Exit Codes 0 Normal exit. -1 Abnormal exit.
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk