0% found this document useful (0 votes)
41 views

Emc Networker and Veritas Netbackup Commands

Uploaded by

Fashion Alpha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Emc Networker and Veritas Netbackup Commands

Uploaded by

Fashion Alpha
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

NetWorker - Command Summary Release 19, Page 1/8

07/01/2022 / cr

The most important NetWorker 19.x Commands

1. General

Function UNIX / Linux Windows


Start the NetWorker daemons
- All sysvinit Systeme net start nsrd
…/init.d/networker start
systemd Systeme
systemctl start networker
- Only the NW client daemon net start nsrexecd
- Then the server daemons net start nsrd
Stop the NetWorker daemons
- Only the Server daemons net stop nsrd
- The client daemon sysvinit Systeme
(ehich will stop all others) …/init.d/networker start
systemd Systeme net stop nsrexecd
systemctl stop networker
- alternatively nsr_shutdown [-a] [-q]

Start the NMC server sysvinit Systeme net start gstd


…/init.d/gst start
systemd Systeme
systemctl start gst
Stop the NMC server sysvinit Systeme
…/init.d/gst stop
systemd Systeme
systemctl stop gst net stop gstd

Login for a (new) session nsrlogin [-s server ] nsrlogin [-s server ]
(default: 8 hrs) [-p password ] [-p password ]
[-d domain] [-d domain ]
-u user -u user

Starting the NetWorker Admin


http://nmc_server :9000 http://nmc_server :9000
GUI (NMC)
Star the NetWorker HTML5
https://nmc_server :9090/nwui https://nmc_server :9090/nwui
GUI (NWUI)
Start the command line
nsradmin [-s server ] nsradmin [-s server ]
admin tool
Start the text-based
nsrwatch [-s server ] nsrwatch [-s server ]
monitoring tool
NetWorker - Command Summary Release 19, Page 2/8

07/01/2022 / cr

2. Backup Client Data


Function UNIX / Linux Windows
Start a client-initiated
backup
- Preview save [-s server ] -n path save [-s server ] -n pfad
- hot' run save [-s server ] path save [-s server ] pfad
- 'hot' run to a specific pool save [-s server ] -b pool save [-s server ] -b pool
path pfad
- 'hot' run with setting specific save [-s server ] save [-s server ]
browse- & retention policies -w "browse_date " -w "browse_date "
-e "retention_date " -e "retention_date "
path pfad
Start a client-initated backup additional option additional option
using client-direct -a DIRECT_ACCESS=Yes -a DIRECT_ACCESS=Yes
Start the backup GUI winworkr [-s server ]
Back up

Start a server-initiated
backup (Policy) nicht vorhanden
- Preview nsrpolicy ? -p "policy " -w "workflow "
[-c "client "]
- 'hot' run nsrpolicy start -p "policy " -w "workflow "
[-c "client "]
- 'hot' restart of a 'group' nsrpolicy restart -p "policy " -w "workflow "
Start a server-initiated
backup (Policy)
- Preview nsrworkflow -p "policy " -w "workflow "
[-c "client "]
-A "'backup' -p"
- 'hot' run nsrworkflow -p "policy " -w "workflow "
[-c "client "]
-A "'backup' -l level "
- Adhoc backup (NW 9.2.1+, nsrworkflow -p "policy " -w "workflow "
overrules scheduled sk ip levels) [-c "client "]
-A "'backup' -l level"
-a
Using the NMC/Admin GUI
- Start a 'Group' Monitoring > Policy > Work flow > Start
- Start an individual client Monitoring > Policy > Work flow > Start Individual Client...
- Restart a 'Group' Monitoring > Policy > Work flow > Restart
NetWorker - Command Summary Release 19, Page 3/8

07/01/2022 / cr

3. Restore Client Data


Function UNIX / Linux Windows
Start the recovery from the
command line
- Interactively recover [-s server ] recover [-s server ]
- a complete save set recover [-s server ] recover [-s server ]
-S ssid [/cloneid ] -S ssid [/cloneid ]
- a certain file of a save set recover [-s server ] recover [-s server ]
-S ssid [/cloneid ] -S ssid [/cloneid ]
-a pfad -a pfad
- directed recovery of files recover [-s server ] recover [-s server ]
-c source_client -c source_client
-R dest_client -R dest_client
-i [yYnNrR] -i [yYnNrR]
- directed recovery of a save set recover [-s server ] recover [-s server ]
-R dest_client -R dest_client
-i [yYnNrR] -i [yYnNrR]
-S ssid -S ssid

Starten the recovery from the


NetWorker User GUI
- individual files winworkr [-s server ]
Recover
- the whole save set winworkr [-s server ]
Operation ‐ Save Set Recover
- directed recovery winworkr [-s server ]
Operation ‐ Directed Recover
Operation ‐ Save Set Recover
Start the Recovery Managers Recover Recover
NetWorker - Command Summary Release 19, Page 4/8

07/01/2022 / cr

4. Job Query & Abortion


Function UNIX / Linux Windows
Query jobs from the jobs db
jobquery jobquery

Query all active jobs


jobkill jobkill
(interactively)
Query a specific active jobs
jobkill -t "job type " jobkill -t "job type "
(interactively)
Known job types:
archive job
bootstrap save job
BMR job
Client push master job
Client push client job
Client push worker job
clone job
generic remote command
index save job
notification job
probe job
recover job
save job
savefs job
savegroup job
snapshot job
synthetic full job
task job
utility job
VSS job
Stop a job jobkill jobkill
Interactively jobid jobid
Directly -j jobid -j jobid
NetWorker - Command Summary Release 19, Page 5/8

07/01/2022 / cr

5. Database Manipulation
Function File-Index Medien-Index
Query the size nsrls nsrls -m
Query the contents nsrinfo mminfo -q "query "
nsrinfo client -r "report "
Most important mminfo reports
- backups within the last 24 hrs mminfo
- … with additional information mminfo -v
- all backups mminfo -a [-v]
- media report mminfo -m [-v]
- bootstrap report mminfo -B [-v]
- total summary mminfo -X [-v]
Check the databases nsrck
nsrck -X
nsrck -L#
Delete file index information
- of a save set nsrmm -dP -S ssid [/cloneid ] nsrmm -d -S ssid [/cloneid ]
- of a media (Volume ID) nsrmm -dP -V volid nsrmm -d -V volid
- of a media (Volume) nsrmm -dP volume nsrmm -d volume
Later change of the browse/ nsrmm -w "browse_date "
retention date of a save set -e "retention_date "
-S ssid
Synchronize a AFTD volume nsrmm -x source_volume
with a AFTD/VTL media dest_volume
nsrmm -x -V source_volid
dest_volume
Clone …
- a single save set nsrclone -S ssid [/cloneid ]
- a media (volume ID) nsrclone -V volid
- a media (volume name) nsrclone -V volume
Stage
- a single save set nsrclone -m -S ssid [/cl.id ]
- a volume nsrclone -m -V volume
Change state of
- a single save set nsrmm -o mode
-S ssid [/cloneid ]
- a media (volume ID) nsrmm -o mode -V volid
- a media (volume) nsrmm -o mode volume
NetWorker - Command Summary Release 19, Page 6/8

07/01/2022 / cr

5. Database Manipulation (continued)


Function File-Index Medien-Index
Add deleted db information of

- a single backup nsrmm -e new_ret_date


(and all clones, if available -S ssid [/cloneid ]
nsrmm -o notrecyclable
-S ssid [/cloneid ]
scanner -i[v][-F] -S ssid scanner -m[v][-F] -S ssid
device device not useful
- a media (volume name) scanner -i[v][-F] device scanner -m[v][-F] device
Verify the last bootstrap on a
scanner -B device
backup media
Verify all bootstraps on a scanner -Bv device
backup media [> file ] [2>&1]
Restore the deleted file index
information to a speific time nsrck -t time client
Restore the last file index
information
- for a single client nsrck -L7 client
- for all clients nsrck -L7
Restore a bootstrap
nsrdr [-N] -[-NF]
(disaster recovery)
NetWorker - Command Summary Release 19, Page 7/8

07/01/2022 / cr

6. Hardware Verification Commands

Function UNIX / Linux Windows


Listi all SCS devices
(OS dependent) cd /usr/sbin
- all ./inquire inquire
- Only tape drives tapes
- Only autochangers ./changers changers
Execute a destructive short test
./tapeexercise [-v] drive tapeexer [-v] drive
for a tape device
Execute a destructive ./tape_perf_test -f drive ./tape_perf_test -f drive
performance test for a tape [-t total_test_size ] [-t total_test_size ]
device [-x max_block_size ] [-x max_block_size ]

7. Jukebox Control Commands

Function File-Index Medien-Index


Inventory a jukebox nsrjb -HE nsrjb -HE
Query the jukebox' database nsrjb -C nsrjb -C
Diesplay the last 100 commands nsrjb -h nsrjb -h
Inventory all media
nsrjb -I nsrjb -I
in all slots
Inventory all media
nsrjb -I -S from#-to# nsrjb -I -S from#-to#
in specifc slots
Laden a media
- using the volume name nsrjb -l volume nsrjb -l volume
- using the slot number nsrjb -l -S # nsrjb -l -S #
- using a specifiv device nsrjb -l -S # -f device nsrjb -l -S # -f device
Label a media
- for a specific pool nsrjb -L -S # -b pool nsrjb -L -S # -b pool
- for a specific pool nsrjb -L -S # -b pool nsrjb -L -S # -b pool
with a specific name volume_name volume_name
Label multiple media
- for a specific pool nsrjb -L -S from#-to# nsrjb -L -S from#-to#
-b pool -b pool
Recyclen
- a single media nsrjb -R -S # nsrjb -R -S #
nsrjb -R volume nsrjb -R volume
- specific slots nsrjb -R -S from#-to# nsrjb -R -S from#-to#
Deposit media from the CAP into nsrjb -d -S from#-to# nsrjb -d -S from#-to#
the jukebox -P from#-to# -P from#-to#
Withdraw media from the jukebox nsrjb -w -S from#-to# nsrjb -w -S from#-to#
into the CAP -P from#-to# -P from#-to#
NetWorker - Command Summary Release 19, Page 8/8

07/01/2022 / cr

8. nsr_render_log Options
Filter Parameter
-A activityID Only messages with this activityID (s)
-B number Only messages starting with this number
-C category Only message of this category (i.e. RAP)
-E end time No messages later than end time
-F device Only messages of this device
-G group Only messages refering to this
group(s)
-H hostname Only messages created by hostname
-J hostname Only messages with reference of hostname
-L locale Translate massages to this locale language
-M messageID Only messages with this messageID
-N lines Output of this number of lines
-O program Only messages with reference of program
-P process id Nur Meldungen mit Bezug zu processID(s)
-R rhostname Reads the *.raw file from another
hostname
-S start time No messages earlier than start time
-T threadID Only messages with this threadID(s)
-Y severity Only messages of at leats this severity

Output Parameter
-a No output of the activityID
-c No output of the category
-d No output of the time
-e No output of the error number
-h No output of the hostname
-l Print a head line
-m No output of the messageID
-o No output of the program name
-p Keine Ausgabe der processID
-r For another hostname (use with option -R)
-t No output of the threadID
-y No output of the severity
-z Disguises important information
(hostnames, user names and IP Adressess)

You might also like