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
nsrarchive
nsrarchive - archive files to long term storage with NetWorkerSYNOPSIS
nsrarchive [ -BinpqvxVy ] [ -b pool ] [ -C clone pool ] [ -f directive filename ] [ -G remove ] [ -N name ] [ -R name ] [ -s server ] [ -T annotation ] [ -o save_operations ] [ -W width ] [ path ... ]
DESCRIPTION
nsrarchive archives files, including directories or entire filesystems, to the NetWorker server (see nsr(1)). The progress of an archive can be monitored using the X Window System based nwadmin(1) program or the curses(3X) based nsrwatch(1) program for other terminal types. Use of nsrarchive is restricted to users on the administrator and archive users lists. If no path arguments are specified, the current directory is archived. nsrarchive archives a directory by archiving all the files and subdi- rectories it contains, but it does not cross mount points or follow symbolic links. The directive files (see nsr(5)) encountered in each directory is read by default, The files contain special instructions directing how par- ticular files are to be archived (that is, compressed, skipped, etc.). These files are named .nsr for UNIX platforms and nsr.dir for Windows platforms. Each file in the subdirectory structures specified by the path argu- ments is encapsulated in a NetWorker archive stream. This stream of data is sent to a receiving process (see nsrd(1)) on the NetWorker server. Entries are added to the media database for the archive save set. The data eventually resides on a long term storage medium (see nsrmmd(1)). Details about handling media are discussed in nsrmm(1) and nsr_device(5). If the grooming option, -G remove, is requested, you can selectively remove files and directories that have been archived. If verification is requested, the files will not be removed if the verification failed. Likewise, the files will not be removed if a requested cloning opera- tion fails. The user is prompted for confirmation before the files and directories are removed unless the -y option is supplied. If the user does not supply a -T option on the command line, the user is prompted to enter an annotation for the archive.
OPTIONS
-b pool Specify a destination pool for the archive save set. If this option is not used, the Indexed Archive pool is used. -B Force archive of all connecting directory information from root ('/') down to the point of invocation. The connecting direc- tory information is always archived even without this option if generated from the inode information, and thus the data is only read once. -f filename The file from which to read default directives (see nsr(5)). A filename of - causes the default directives to be read from standard input. -i Ignore directive files as they are encountered in the subdirec- tory structures being archived. -G remove Groom the files after they have been archived. If cloning or verification is requested, no grooming is performed until those operations have completed successfully. Be aware that the groom option must be entered as -G remove. Entering -G alone will not invoke the groom option. The user is prompted for removal of files and directories unless the -y option is supplied as one of the nsrarchive options. The valid remove responses and their meanings are: n Keep the current file or directory. y Remove the current file or directory. N Keep all remaining files and directories. Y Remove all remaining files and directories. The default response, "n", is displayed within square brackets and can be selected by pressing [Return]. When either Y or N is specified, there will be no furher prompting and each subsequent removal decision is made as if the corresponding lower case letter has been selected. nsrarchive creates a temporary file which contains a list of all files and directories to be removed. The tempo- rary file is placed in /tmp unless the environment vari- able TMPDIR is set. -n No archive. Estimate the amount of data which will be generated by the archive, but do not perform the actual archive. -N name The symbolic name of this archive save set. By default, the first path argument is used as the name. -v Verbose. Cause the nsrarchive program to tell you in great detail what it is doing as it proceeds. -p Exit with status 0. Used by server to determine if client installed properly. -q Quiet. Display only summary information or error mes- -s server Specify which machine to use as the NetWorker server. -T annotation Archive save sets can be annotated with arbitrary text. This option specifies an annotation for the archive save set being generated. -V Verify the archive save set after it completes. -o save_operations Save Operations of the form KEYWORD:TOKEN=STATE. It is used to configure VSS saves on Windows 2003. Examples: "vss:*=off" Turn off VSS. "vss:Microsoft Exchange Writer=off" Disable a writer. "vss:C:=off" Disable VSS for a drive. Please see the Admin Guide for more details. -W width The width used when formatting summary information output. -x Cross mount points. -y Answer yes to any questions.
SEE ALSO
curses(3X), nsr_getdate(3), nsr(5), nsr(1), nsr_service(5), nsr_device(5), nsrmm(1), nsrmmd(1), nsrd(1), nsrwatch(1), nsrretrieve(1), nwadmin(1).
DIAGNOSTICS
Exit Codes 0 Normal exit. Non-zero Abnormal exit.
ADVERTISEMENT
Legato NetWorker 7.xMan(1) output converted with man2html, sed, awk