You are on page 1of 140

[SYMANTEC

CONSULTING

SERVICE

NetBackup

Symantec Greater China

..............................................................................................................7
VERITAS NETBACKUP (NBU) .......................................................................10
1.1
NBU ........................................................................................................ 13
1.2
NBU ........................................................................................................ 15
1.3
.......................................................................................................... 16
1.4
Policy........................................................................................ 24
1.4.1 Policy ....................................................................................... 25
1.4.2 Policy ....................................................................................... 29
1.5
.......................................................................................................... 44
1.5.1 NetBackup ............................................................................... 44
1.5.2 .................................................................................... 46
1.5.3 MultiplexingMPX....................................................................... 47
1.5.4 Multiplexing ..................................................................................... 48
1.5.5 Multiplexing ..................................................................................... 48
1.5.6 ......................................................................... 50
1.5.7 ......................................................................................................... 50
1.5.8 Media Server .......................................................................................... 50
1.5.9 bp.conf Server.......................................................................... 52
1.5.10

bp.conf Client........................................................................ 52
1.5.11 Email ........................................................................................... 53
1.6
NetBackup ..................................................................................................... 54
1.6.1 NetBackup .................................................................................. 54
1.6.2 NetBackup ...................................................................................... 60
1.6.3 bpps NetBackup ................................................ 60
1.6.4 NetBackup ...................................................................................... 60
1.6.5 NetBackup ...................................................................................... 60
1.6.6 Client ................................................................................... 60
1.6.7 ......................................................................................................... 61
1.6.8 DuplicatingVerifying Importing............... 61
1.6.9 Duplicating ....................................................................................... 61
1.6.10

Verifying........................................................................................ 64
Page 3 of 140

1.6.11
1.7
1.7.1
1.7.2
1.7.3
1.7.4
1.8

Importing....................................................................................... 64
Activity Monitor............................................................................ 67
Activity Monitor ................................................................................... 67
Job Monitor............................................................................................. 68
.............................................................................................. 68
.................................................................................................. 68
NetBackup ..................................................................................................... 70

1.9

.............................................................................................................. 76
1.10
device manager........................................................................... 81
1.10.1 ........................................................................................... 82
1.10.2 ........................................................................................... 85
1.10.3 ............................................................................ 87
1.11
.............................................................................................................. 90
1.11.1 ....................................................................................... 90
1.11.2 Volume Pool ....................................................................................... 91
1.11.3

Volume Pool ................................................................................ 91

1.11.4

Scratch Volume Pool .................................................................................. 93

1.11.5

......................................................................................................... 93
1.11.6 Robot Inventory ................................... 93
1.11.7 Robot Inventory ..................................................... 95
1.11.8 ......................................................................................................... 96
1.11.9 Deassign ......................................................................................... 97
1.11.10 ....................................................................................... 98
1.11.11 ................................................................................................ 100
1.11.12 Media ID...................................................................... 100
1.11.13 Media ID...................................................................... 100
1.12

bpadm vmadm............................................................................................. 101

1.12.1

bpadm....................................................................................................... 101

1.12.2

vmadm ...................................................................................................... 101

1.12.3

tpconfig ..................................................................................................... 101

1.13
1.13.1

................................................................................................ 102
NetBackup ......................................................................... 102

Page 4 of 140

1.13.2

1.13.7

............................................................................................ 102
NetBackup ................................... 102
NetBackup ........................................................... 103
tar NetBackup ........................................................ 103
Backup Exec ......................................................................... 104
NetBackup ................................................................................. 115

1.13.8

NetBackup email ............................................................................... 119

1.13.9

DP............................................................................ 122
NetBackup ............................................................................ 123
NetBackup ........................................................................................ 126
........................................................................................................ 132

1.13.3
1.13.4
1.13.5
1.13.6

1.14
1.15
1.16
1.17

................................................................................................ 133
1.18
........................................................................................ 133
: ............................................................................................134
............................................................................................ 134
1.19
1.19.1 ............................................................................................ 134
1.19.2 ......................................................................................... 134
1.19.3 ............................................................................................ 135
1.20
.................................................................................................... 136
1.20.1 ......................................................................................... 136
1.20.2 ............................................................................................ 137
1.20.3 ..................................................................................... 137
1.20.4 .............................................................................. 137
1.21
........................................................................................ 138
1.21.1 ................................................................................................... 138
1.21.2 ............................................................................................ 138

Page 5 of 140

Page 6 of 140

1
2
3
4

Page 7 of 140

Page 8 of 140

Page 9 of 140

VERITAS NETBACKUP (NBU)

NBU VERITAS UNIXMicrosoft


WindowsOS/2 Macintosh , NBU
NBU

NBU BMR

(Backup)/(Restore)/(Archive)
NBU

NBU Server/Client
1 Server
2 Client
Server Client TCP/IP Sockets 1-1 Server Client

Page 10 of 140

NetBackup Master
Server

NetBackup
Media Servers

NetBackup
Clients/
Agents

1-1 NBU Server Client

NBUMaster ServerMedia ServerserverNetBackup

Master Server)Master Server


/Media Server
/

Page 11 of 140

NBU ServerNBU Server

NBU Server

Page 12 of 140

1.1

NBU
1 Policy

NBU

2 Schedule

3 Storage Unit

4mm DLT LTO

Media Manager NBU


/

NBU

NDMPNDMP NDMP

4 Volume

Media Manager

5 Volume Pool

Page 13 of 140

NBU NetBackup

6 Cross Mount Point

UNIX Mount Mount


Mount /
/usr /tmp

7 True Image Recovery

8 Full Backup

9 Differential Incremental Backup

10

Cumulative Incremental Backup

Page 14 of 140

11

NetBackup CatalogNBU

NetBackup Client

12

Retention

NBU
NBU

1.2

NBU
NetBackup

1 /usr/openv/netbackup/bin/jnbSA Java

Page 15 of 140

2 /usr/openv/netbackup/bin/bpadm
/usr/openv/netbackup/bin/vmadm

bpadm

3 CLI

1.3

NetBackup NetBackup

NDMP

1
2
a)
b)

Page 16 of 140

c)

d) NetBackup

a)

VERITAS

ACS - Automated Cartridge System


LMF - Library Management Facility
ODL - Optical Disk Library
TC4 - Tape Carousel 4MM
TC8 - Tape Carousel 8MM
TL4 - Tape Library 4MM
TL8 - Tape Library 8MM
TLD - Tape Library DLT
TLH - Tape Library Half-inch
TLM - Tape Library Multimedia
TS8 - Tape Stacker 8MM
TSD - Tape Stacker DLT
TSH - Tape Stacker Half-inch

b)

Page 17 of 140

c)

d)

Page 18 of 140

1whaleMaster Server

NetBackup Host: whale


Robot Type: TS8 Tape Stacker 8mm
Robot Number: 4
Number of Drivers: 1
Density: 8mm 8mm cartridge

2eel

QSCSI t ape drives


NetBackup Host: eel
Robot Type: None
Robot Number: Not applicable
Number of Drives: 2
Density: qscsi - 1/4 Inch Cartridge

8 mm tape drives in robot 5


NetBackup Host: eel
Robot Type: TL8 - Tape Library 8MM
Robot Number: 5
Number of Drives: 2
Density: 8mm - 8mm cartridge

3shark

8 mm tape drive in robot 1


NetBackup Host: shark
Robot Type: TS8 - Tape Stacker 8MM

Page 19 of 140

Robot Number: 1
Number of Drives: 1
Density: 8mm - 8mm cartridge

8 mm tape drive in robot 2


NetBackup Host: shark
Robot Type: TS8 - Tape Stacker 8MM
Robot Number: 2
Number of Drives: 1
Density: 8mm - 8mm cartridge

Optical disk drives in robot 3


NetBackup Host: shark
Robot Type: ODL - Optical Disk Library
Robot Number: 3
Number of Drives: 2
Density: odiskwo - Optical Disk Write Once

1 jnbSA Storage Units Actions

Page 20 of 140

Page 21 of 140

3On demand only

Policy Schedule Yes


Policy Schedule Nodefault

4Maximum fragment size

NetBackup fragment
Fragment
a) 2GB
b) NetBackup HSM
c)

0 Fragment
Fragment

5Multiplexing

Multiplexing

6 OK

1.

jnbSA Storage Units Actions

Page 22 of 140

2.

disk

3.

Fragment MPX

4.

5.

Maximum concurrent jobs

Page 23 of 140

1.4

Policy

General Attributes

Policy Active
Policy

Policy
Storage Unit Volume Pool

Schedules

Page 24 of 140

Policy Client

File List

Clients

Policy Client

1.4.1

Policy

1 Clients

Client Client

Policy
S1

Clients
mercury (file server)
anita
park

WS1

mars
jupiter (workstations)
neptune

Page 25 of 140

pluto

2 Client

mercury Server
mercury Policy Policy

Policy

Clients

S1

mercury (file server)

S2

anita
park

WS1

mars
jupiter (workstations)
neptune
pluto

3 Storage Unit Volume Pool

Client Storage Unit Volume Pool


Policy
/h002/R&Dexp /h002/desdoc dlt
8mm Policy

Policy

Clients

Files

Desired Storage

S1

mercury

8mm

/usr
/h001
/h002/people

Page 26 of 140

S2

mercury

/h002/R&Dexp

dlt

/h002/desdoc

4 Schedules Clients Files Policy

a)

Client Policy
b)

Schedule
Policy

5Attributes Policy

a) Policy
NetBackup Client

Policy

MS-Windows-NT

when the policy will have only Windows NT clients.

MS-Exchange Server

when the policy will have only NetBackup for

MS-Exchange clients.
MS-SQL-Server

when the policy will have only NetBackup for MS-SQL

Server clients.
NetWare

Use when the policy will have only nontarget NetBackup


Novell NetWare clients (that is, running a Microsoft
Windows interface).

Standard

when the policy will have any combination of the


following:
Windows 98, 95, or 3.11 clients.
Macintosh clients.
NetBackup Novell NetWare clients that have the target
version of NetBackup software.

Page 27 of 140

UNIX clients, except those covered by other special


Policies such as Auspex-FastBackup and Oracle.
DB2

when the policy will have only NetBackup for DB2


clients.

Informix-On-BAR

when the policy will have only NetBackup for Informix

clients.
Oracle

when the policy will have only NetBackup for Oracle


clients.

Sybase

when the policy will have only NetBackup for Sybase


clients.

b) Follow NFS

UNIX Client NFS Mount

c)

Cross Mount Point

UNIX Client

d) Backup Network Drives

NT Client Network Drive

e) Compression

UNIX Client Server

f)

Policy Priority
NetBackup Policy

Page 28 of 140

1.4.2

Policy

jnbSA Actions New Policy

Policy Name Policy


Client Policy Policy Policy

OK Policy

Page 29 of 140

1) Policy

Policy Storage Unit

Storage Unit Policy Storage Unit Schedule


Storage Unit Schedule Policy Storage Unit
Storage Unit Policy

Policy Volume Pool

Page 30 of 140

Volume Pool Policy Volume Pool Schedule


Volume Pool Schedule Policy Volume Pool
Media Manager Storage Unit Storage Unit

Limit Jobs per Policy

Policy Jobs

Server

MPX MPX MPX


Policy

Job Priority

Policy 128

UNIX NT Clients Policy

Active

Policy Active

Backup Network Drives

NT

True Image Restore Information

Page 31 of 140

NetBackup

Follow NFS

NFS

Cross Mount Points

Compression

Encryption

NetBackup Encryption

Allow Multiple Data Streames

Client File List New_Stream


Storage Unit Maximum jobs

2) Clients

Client New Client


Client Client

Page 32 of 140

NetBackup Client
Install Software

Page 33 of 140

Install Client Software Client


UNIX Windows Client

3)

User Backups Archives


File List

Page 34 of 140


a) UNIX
/home/abc/fun[ny]name
/etc/*.conf

b) UNIX
/devices/sbus@1,f8000000/esp@0,800000/sd@2,0:1h

c) Windows Clients

Page 35 of 140

c:\system\log??_97
:\ or *:\ ()

UNIX
/c/
/d/aaa/

d) Windows NT Disk-Image Backup


/\\.\c

e) Windows
NT: %Winnt_install_path%\system32\config
95/98: %windows_install_path%

HKEYs: HKEY_LOCAL_MACHINE

f) Directives
NEW_STREAM Multiple Data Streams
NEW_STREAM
/usr
/lib
NEW_STREAM
/home
/bin
ALL_LOCAL_DRIVES

Allow Multiple Data Streams NEW_STREAM


NetBackup NTUNIX
STREAM

Allow Multiple Data Streams NetBackup


STREAM

Page 36 of 140

Exclude Include Files

Windows Client NetBackup


NetWare target Client target
UNIX Client
/usr/openv/netbackup/exclude_list
core
/home/doe/john
/*/temp
/usr/openv/netbackup/include_list
/home/jdoe/test

4) Schedules

Schedules New Schedules

Page 37 of 140

Schedule Schedule OK

Page 38 of 140

Override Policy Storage Unit

Schedule Policy Storage Unit Yes

Override Policy Volume Pool

Schedule Policy Volume Pool Yes

Type of Backup

Full BackupDifferential-Incremental
BackupCumulative-Incremental BackupUser Backup

User Archive

Retention Period

Page 39 of 140

Frequency

Schedule

Maximum MPX per Drive

MPX

Backup Window

Schedule

Exclude Dates

Page 40 of 140

Calendar

Frequency

Page 41 of 140

Calendar Schedule

Page 42 of 140

Schedule

Schedule

Weekly Full Backup Schedules:


Daily Incremental Backup Schedules:
Type of Backup: Full Backup
Frequency: 1 week
Start Time: 22:00:00
Duration: 8 hours
Days of Week: Saturday

Daily Differential Incremental Backup Schedules


Type of Backup: Differential Incremental Backup
Frequency: 1 day
Start Time: 22:00:00

Page 43 of 140

Duration: 8 hours
Days of Week: Sunday Monday Tuesday Thursday Friday

Daily Cumulative Incremental Backup Schedules


Type of Backup: Cumulative Incremental Backup
Frequency: 1 day
Start Time: 22:00:00
Duration: 8 hours
Days of Week: Wednesday

Sat Sun Mon Tue Wed Thu Fri


F

1.5

1.5.1

NetBackup
netbackup jnbSA NetBackup
Management Host Properties Master Actions
Properties

Page 44 of 140

Administrator e-mail address

NetBackup email

Maximum Jobs per Client

Client

Maximum Backup Copies

Compress Catalog after

NetBackup 0

Wakeup Interval

Scheduler Schedule 1 10

Page 45 of 140

Schedule Backup Attempts

Netbackup
Netbackup

Keep Logs for

NetBackup NetBackup
0 28

Keep Vault Logs for

NetBackup Vault NetBackup


0 30

Enforce Media Mount Timeout after

NetBackup Mount NetBackup


Mount

Interval for Status Reports

NetBackup Report NetBackup


Report

How Long to Keep TIR Information

NetBackup True Image Recovery True Image


Recovery Policy TIR NetBackup

NetBackup

1.5.2

Page 46 of 140

Retention Periods

NetBackup Volume level level

level Volume

1.5.3

MultiplexingMPX

Multiplexing Client Multiplexing

Page 47 of 140

1.5.4

Multiplexing
Multiplexing
Client Client

Multiplexing

1.5.5

Multiplexing
Multiplexing
Storage Unit Storage Unit Maximum Multiplexing per Drive

Storage Unit 1 32
CPU Storage Unit
Storage Unit

Schedule Schedule Multiplexing NetBackup


Storage Unit Schedule Multiplexing 1 32

Schedule Multiplexing Multiplexing Netbackup

NetBackup Schedule

Multiplexing

Page 48 of 140

Schedule A B Policy Schedule A


Jobs from clients A1 and A2 start on drive 1. Schedule A max mpx of 2 is reached for this drive.
Jobs from clients A3 and A4 start on drive 2. Schedule A max MPX of 2 is reached for this drive
Jobs from clients B1, B2, and B3 start on drive 1. Storage unit max MPX is reached for this drive
Job from client B4 starts on drive 2. All jobs are now running for schedule B.
Jobs from clients A1 and A2 finish on drive 1. Jobs for B1, B2, and B3 are still running, however, so
Schedule A max MPX of 2 still prevents client A5 from starting.
Job from clients B1 and B2 finish on drive 1. Only the job for B3 is still running on this drive.
Job from client A5 starts on drive 1. This is the last job for schedule A.

MPX
Maximum Jobs per Policy
Maximum Jobs per Client

Netbackup MPX
Maximum Jobs this Client

bpconfig Client Maximum Jobs


MPX Restore Delay

Page 49 of 140

MPX bp.conf
MPX_RESTORE_DELAY Server

Demultiplexing
Demultiplexing Demultiplexing NetBackup Duplicate

1.5.6

Netbackup

Server
NetBackup ClientClient Server

NetBackup

1.5.7

/usr/openv/netbackup/bp.conf
LIMIT_BANDWIDTH = 111.112.113.1 111.112.113.50 500

IP IP 111.112.113.1
111.112.113.50 500Kbytes/s

1.5.8

Media Server

NetBackup Server Master Server Media Server

Page 50 of 140

Master Server NetBackup (Images, Jobs, Policy, Errors, Config Vault),

(Volume, Global Device) Media Server


Media Server
Device

Media Server
1 Media Storage Unit
2 Storage Unit Policy
3 Master Server /usr/open/netbackup/bin/add_slave_on_clients bp.conf

SERVER=media_name
4 Client bp.conf Media Server
5 bprd bpdbm

Page 51 of 140

1.5.9

bp.conf Server

Server /usr/openv/netbackup/bp.conf Server


Client Server Client
root bp.conf $HOME/bp.conf
ALLOW_MEDIA_OVERWRITE
ALLOW_MULTIPLE_RETENTIONS_PER_MEDIA
CLIENT_READ_TIMEOUT
DISALLOW_CLIENT_RESTORE
DISALLOW_BACKUPS_SPANNING_MEDIA
LIMIT_BANDWIDTH
SERVER

1.5.10 bp.conf Client

/usr/openv/netbackup/bp.conf root
$HOME/bp.conf
BPARCHIVE_POLICY
BPARCHIVE_SCHED
BPBACKUP_POLICY
BPBACKUP_SCHED
BUSY_FILE_ACTION
CLIENT_NAME
DISALLOW_SERVER_FILE_WRITES
INFORMIX_HOME
SYBASE_HOME
LOCKED_FILE_ACTION
SERVER
Page 52 of 140

1.5.11 Email

Email
1)

NetBackup mail

2)

$/HOME/bp.conf USEMAIL

3)

/usr/openv/netbackup/bp.conf USEMAIL user backup

4)

Server scripts mail

Page 53 of 140

1.6

1.6.1

NetBackup
NetBackup
netbackup
jnbSA NetBackup

Page 54 of 140

Configure Catalog Backup ,

Page 55 of 140

Media Server
NetBackup Master Server Media Server

Server Media Server Master bp.conf

Media 1 and Media 2 Areas

NetBackup Volume Pool


NetBackup NetBackup

Page 56 of 140

Schedule

Page 57 of 140

Files

Master Server

/usr/openv/netbackup/db
/usr/openv/volmgr/database
/usr/openv/var

Slave Server
master_name:/usr/openv/netbackup/db
master_name:/usr/openv/volmgr/database
master_name:/usr/openv/var
l

Media Server

Page 58 of 140

Master Server
Media_name:/usr/openv/netbackup/db/media
Media_name:/usr/openv/volmgr/database
Media_name:/usr/openv/var
l

NT Media Server
nt_media_name:c:\veritas\NetBackup\db

nt_media_name:c:\veritas\Volmgr\database
nt_media_name:c:\veritas\netbackup\var

NetBackup

jnbSA NetBackup Management Catalog Actions


NetBackup

Page 59 of 140

1.6.2

NetBackup

1.6.3

bpps NetBackup
/usr/opnev/netbackup/bin/bpps a

1.6.4

NetBackup
/etc/rc2.d/S77netbackup

/usr/openv/netbackup/bin/goodies/netbackup

1.6.5

NetBackup
/etc/rc0.d/K77netbackup

/usr/openv/netbackup/bin/goodies/netbackup stop
/usr/openv/netbackup/bin/goodies/bp.kill_all

1.6.6

Client

Client
1) Client

Master Server
/usr/openv/netbackup/db/altnames/No.Restrictions
2) Client

Master Server
/usr/openv/netbackup/db/altnames/peername
peername Client
3) Client_A Client_B

Master Server

Page 60 of 140

/usr/openv/netbackup/db/altnames/Client_A
Client_A Client

Client_B Client_A

1.6.7

1) Server

Maximum Jobs per Policy


2) Server

Schedule
3) Client

Maximum Jobs per Client Client


4) Client

Multiplexing Maximum Jobs per Client


5) Policy

Maximum Jobs per Policy Policy


6)

Maximum Jobs per Policy Maximum Jobs per Client


7)

Multiplexing Storage Unit

1.6.8

DuplicatingVerifying Importing

1.6.9

Duplicating

Storage Unit

Page 61 of 140

Server

Multiplexing non- Multiplexing

1.6.9.1
1 jnbSA

Page 62 of 140

Copies

Storage Unit, Volume Pool

Storage Unit Volume Pool

Retention

For each image if this copy fails

Preserve Multiplexing

3 OK

Page 63 of 140

1.6.9.2

/usr/openv/netbackup/bin/admincmd/bpduplicate npc pcopy backupid bid

$STATUS

1.6.10 Verifying

NetBackup

1.6.11 Importing

Master Server

1) vmadm jnbSA Media


2) initiate import

Page 64 of 140

3)

Page 65 of 140

4) Import

Page 66 of 140

1.7

Activity Monitor

NetBackup NetBackup

1.7.1

Activity Monitor

Page 67 of 140

1.7.2
1.7.3

Job Monitor

IDServer Client Policy


Schedule
Troubleshooting

NetBackup
1) Queued
2) Active
3) Re-Queued
4) Done

Kill

1.7.4

Page 68 of 140

Actions Monitor
Brief Full

Page 69 of 140

1.8

NetBackup
NetBackup jnbSA NetBackup
Management

NetBackup
1) Status of Backup Report

STATUS
71

CLIENT

POLICY

SCHED

SERVER

bunny lencd4000 myubaks bunny

TIME COMPLETED

03/18/93 09:57:44

(none of the files in the file list exist)


0

bunny lencd4000 myubaks bunny

03/18/93 10:01:21

Page 70 of 140

bunny lencd4000 myubaks bunny

03/18/93 10:05:28

2) Client Backups Report

Managing NetBackup Client: bunny


Backup ID: bunny_0732524230
Policy: real_backups
Client Type: Standard
Sched Label: real_fulls
Schedule Type: Full Backup
Retention Level: two weeks (1)
Backup Time: 03/19/93 00:57:10
Elapsed Time: 001:11:01
Expiration Time: 04/02/93 00:57:10
Compressed: yes

3) Problems Report

Server
TIME

SERVER/CLIENT TEXT

03/19/93 00:58:21 bunny batman client batman aborted


03/19/93 00:58:23 bunny batman backup of client batman exited with
status 49(client did not start)
03/19/93 01:58:15 bunny batman client batman aborted
03/19/93 02:09:11 bunny batman client batman aborted <------- See All Log Entries

4) All Log Entries Report

Server Log
TIME

SERVER/CLIENT TEXT

03/19/93 00:57:10 bunny newt CLIENT newt POLICY real_backups SCHED

Page 71 of 140

real_fulls EXIT STATUS 0 (the requested


operation was successfully completed)
03/19/93 00:57:56 bunny bunny begin writing backup id bunny_0732524230
fragment 1 to media id CC0021 on device 20
03/19/93 02:08:09 bunny bunny successfully wrote backup id bunny_0732524230,
fragment 1, 217104 Kbytes at 157.341 Kbytes/sec

5) Media List Report

NetBackup
server host = bunny
--------------------------------------------------------------------id

rl images allocated

last updated den kbytes restores

vimages expiration last restore <-------STATUS ------->


--------------------------------------------------------------------CC0019 0
8

8* 03/13/93 20:53 03/16/93 20:47 hc8mm 2202992 1


03/23/93 20:47 03/16/93 16:36 FULL

CC0020 0 16 03/16/93 20:47 03/18/93 20:27 hc8mm 909072 0


14 03/25/93 20:27 N/A

restore Kbytes KbytesSTATUS

SUSPENDED:

NetBackup NetBackup
bpmedia unsuspended
/usr/openv/netbackup/bin/admincmd/bpmedia unsuspend m media_id
FROZEN:

NetBackup
NetBackup bp.conf ALLOW_MEDIA_OVERWRITE
bpmedia unfreeze
/usr/openv/netbackup/bin/admincmd/bpmedia unfreeeze m media_id
FULL: ,Netbackup EOMEnd of Media
EXPIRED: bpexpdate

Page 72 of 140

IMPORTED:

6) Media Contents Report

media id = CC0021,allocated 03/17/93 00:40,retention level= 1


File number 1
Backup id = solo_0732350452
Creation date = 03/17/93 00:40
Expiration date = 03/31/93 00:40
Fragment number = 2
Block size (in bytes) = 32768

File number 2
Backup id = newt_0732522488
Creation date = 03/19/93 00:28
Expiration date = 04/02/93 00:28
Fragment number = 1
Block size (in bytes) = 32768

7) Images on Media Report

Backup-ID
Copy Frag KB

Policy
Type

Type RL Files C E T PC Expires


Density FNum Off host DWO MPX Expires MediaID

----------------------------------------------------------------------alto_0732533415
1

80432 RMedia hc8mm

bass_0732528498
1

real_backu FULL 1 10297 y n R 1 03:30 04/02/93


5

0 bunny 20 N

CC0021

real_backu FULL 1 8869 y n R 1 02:08 04/02/93

77248 RMedia hc8mm

0 bunny 20 N

CC0021

Page 73 of 140

8) Media Logs Report

NetBackup
TIME

SERVER/CLIENT TEXT

04/06/93 03:57:10 bunny -

media id CC0021 removed from media manager

database (expired)
04/09/93 05:18:01 hare newt ioctl (MTWEOF) failed on media id CC0017, device
11, I/O error (bptm.c.2378)
04/09/93 05:33:52 hare bobcat cannot write image to media id CC0047, device

9) Media Summary Report

Server
************************************************************
MEDIA SUMMARY FOR SERVER windows ON Tue Jun 13 09:41:38 1995
************************************************************
ACTIVE
16

FULL

11

SUSPENDED FROZEN
0

IMPORTED

Number of NON-ACTIVE media that:


2- are currently EXPIRED
ARCH21 expired 05/09/95 04:01 (FROZEN)
PRO001 expired 05/28/95 19:56 (FROZEN)
1 - will expire within 1 week
TL8025 expires 06/19/95 22:03
Number of ACTIVE media that, as of now:
1 - will expire within 1 week
PRO037 expires 06/19/95 18:08
2 - will expire between 2 and 3 weeks
PRO055 expires 07/04/95 00:35

Page 74 of 140

TL8022 expires 07/04/95 01:26


Summary by retention level of ALL media
Level

# Media

Kilobytes

11963607

19832656

10)

Media Written Report

Media ID
--------

Last Written
--------------

Server
-------

TL8022

06/13/95 01:26

windows

LEN002

06/12/95 23:52

windows

Page 75 of 140

1.9

Client Server Client


Client
Client Client
Server

--- NetBackup

jnbSA /usr/openv/netbackup/bin/jbpSA

Page 76 of 140

NetBackup Server, Source Client Destination Client OK;


2

Page 77 of 140

Page 78 of 140

NetBackup

3 Restore

Page 79 of 140

4 Start Restore

Page 80 of 140

bprestore

1.10

device manager
Storage Unit NetBackup

Configure Storage Devices Wizard

jnbSA Media and Device Management

tpconfig

Page 81 of 140

1.10.1

Actions New Robot

Page 82 of 140

Page 83 of 140

Device Host

Media Server

Robot Type

Storage Unit

Robot Number

, 0

Volume Database host

Media Manager

Page 84 of 140

Robot Control on This Host

Server

Robot control host

Robot Device File

, Select

1.10.2

Actions New Drives

Page 85 of 140

Device Host

Media Server

Drive name

Drive

No Rewind Device

Drive Type

Page 86 of 140

Drive Status

UP DOWNUP
DOWN

Cleaning Frequency In Hours

Media Manager
,NetBackup
Needs Cleaning

Drive is in a robotic library

Robot Drive Information

Robot Type

Robot Drive Number

1.10.3

Page 87 of 140

Example 1: Add Robot Dialog Box Entries


Robot Type TS8 - Tape Stacker 8MM
Robot Number 0
Volume Database Host eel
Robotic Control on this host Yes
Robot Control Host (no entry)
Robotic Device File /dev/sg/c0t4l0

Add Drive Dialog Box Entries (Drive 1)

Drive Type 8mm


Drive Index 1
Drive Name eel_rob0_dr1
No Rewind Device /dev/rmt/5cbn
Drive Status Up
Cleaning Frequency 25
Multihosted Drive (not selected)
Robotic Drive Yes
Change Volume Database Host for ALL Standalone Drives

Page 88 of 140

(no entry)

Standalone Drive Volume Database Host (no entry)


Robot Type TS8
Robot Number 0
Robot Drive Number 1

Add Drive Dialog Box Entries (Drive 2)

Drive Type 8mm


Drive Index 2
Drive Name eel_rob0_dr2
No Rewind Device /dev/rmt/6cbn
Drive Status Up
Cleaning Frequency 25
Multihosted Drive (not selected)
Robotic Drive Yes
Change Volume Database Host for ALL Standalone Drives (no entry)
Standalone Drive Volume Database Host (no entry)
Robot Type TS8
Robot Number 0
Robot Drive Number 2

Page 89 of 140

1.11

Media Manager

1.11.1

Configure Volume Wizard

Media and Device Management Media

vmadd, vmdelete, vmchange

Page 90 of 140

1.11.2

Volume Pool

NetBackup Volume Pool

1.11.3

Volume Pool

Media Management NewVolume Pool

Page 91 of 140

Pool Name

Volume Pool

Host Name

Volume Pool

Description

Volume Pool

Scratch Pool

Volume Pool Scratch Pool

OK Volume Pool
Page 92 of 140

1.11.4

Scratch Volume Pool

Scratch Volume Pool NetBackup

Scratch Volume Pool

1.11.5

NetBackup

1.11.6

Robot Inventory

1
2 Robot Inventory

jnbSA Robot Inventory

Page 93 of 140

Robot Robot Host Update Volume Configuration

Page 94 of 140

1.11.7 Robot Inventory

Robot

1 Robot
2 ActionNew Volumes

Page 95 of 140


ID mount
Actions Yes No OK

1.11.8

Page 96 of 140

1 jnbSA Move

1.11.9 Deassign

Netbackup HSM Media Manager Assign


Assign Volume Pool Deassign

Assign Volume List Time Assigned


Deassign

/usr/openv/netbackup/bin/admincmd/bpexpdate d 0 m media_id

Page 97 of 140

1.11.10

1 jnbSA Change

Page 98 of 140

Max Number of Mounts

Mount

Expiration Date

Description

Pool

Page 99 of 140

Pool

1)
2) OK

1.11.11

1
2 Mount
3
4

1.11.12 Media ID

Media ID Volume Database

1.11.13 Media ID
ID
ID

Mount
/usr/openv/volmgr/bin/vmchange m media_id n number_of_mounts

Page 100 of 140

1.12

bpadm vmadm

1.12.1 bpadm
bpadm NetBackup
l

Storage Unit Policy

Netbackup

Client

bprd

Retention level

NetBackup
bpadm /usr/openv/netbackup/bin/bpadm

1.12.2 vmadm
vmadm
l

Volume Pool

1.12.3 tpconfig
tpconfig
l

Volume Database Host

Page 101 of 140

1.13

1.13.1 NetBackup
1
2 jnbSA Storage Unit
3 jnbSA Robot Drive
4 jnbSA Volume Volume Pool
5 jnbSA Policy
6 jnbSA bp.conf NetBackup

1.13.2

/usr/openv/volmgr/bin/tpclean c drive_index
/usr/openv/volmgr/bin/tpclean m drive_index

Mount

/usr/openv/volmgr/bin/tpclean f drive_index cleaning_frequency

1.13.3 NetBackup
1 Media Database
l

Retention Level Schedule

Volume Pool

FullFrozenImportedSuspended

Page 102 of 140

2 NetBackup Media Database

3 NetBackup Media Database Media


Manager
l
l
l Volume Pool
l

Mount

4 Media Manager Mount Media


Manager NetBackup Media Database Retention Level
5

1.13.4 NetBackup

l NetBackup bprecover
/usr/openv/netbackup/bin/admincmd/bprecover
-r [all | ALL | image_number] -m media_id -d density [-stdout]
[-dhost destination_host] [-v]
/usr/openv/netbackup/bin/admincmd/bprecover
-r [all | ALL | image_number] -dpath disk_device_path [-stdout]
[-dhost destination_host] [-v]

1.13.5 tar NetBackup

Page 103 of 140

NetBackup tar tar


NetBackup GNU tar/usr/openv/netbackup/bin/tar

1 Mount
tpreq m media_id a r d density p poolname f /tmp/tape
2

mt f /tmp/tape rew

mt f /tmp/tape fsf file_#


file_# Images on Media Report

mt f /tmp/tape fsr

/usr/opnev/netbackup/bin/tar tvfb /tmp/tape bloksize64

tpumount /tmp/tape

1.13.6 Backup Exec

Inventory Backup Exec Tape


Right click media and choose Inventory Robot

Page 104 of 140

Choose the appropriate robot, then click Update volume configuration. To empty the media access port,
check Empty media access port prior to update. After that, click start to begin the inventory.

Page 105 of 140

In Result box, you will find Backup Exec tapes.

Scan the media ID of Backup Exec tape


C:\Documents and Settings\kfxt673pa>vmphyinv -rn 0 -rc1 1 -number 1(rn 0 means robot number
0, rc1 means scan starting from slot, number means how many Backup Exec tape you want to scan)
Waiting for mount of media ID A00000 on host cnwxmsfp01
Mounted media ID A00000 on host cnwxmsfp01

Proposed Change(s) to Update the Volume Configuration


=====================================================
Logically change the adamm guid of media A00000 from {00000000-0000-0000-0000-00
0000000000} to {8E9648C4-FBE1-4837-822E-48656E21189A}.
Logically change the volume pool of media A00000 to 6.
Logically change the description of media A00000 from Added by Media Manager to
CNWXMSFP01 Week 4-2.

Page 106 of 140

Logically assign media A00000 to NetBackup.


Logically update NetBackup media database, if required.

Update volume configuration? (y/n) n: y

Changed the GUID of media ID A00000 to {8E9648C4-FBE1-4837-822E-48656E21189A}.


Changed the volume pool of media ID A00000 to BackupExec.
Changed the description of media ID A00000 to CNWXMSFP01 Week 4-2.
Added media ID A00000 to NetBackup media database on host cnwxmsfp01.
Assigned media ID A00000 to NetBackup.

Initiate Import
Click catalog and choose Import action

After inputing Backup Exec Media ID, right click or click Action menu and choose Initiate Import
When Initiate Import process finish, it will list all images information of Backup Exec Tape in Result box.

Page 107 of 140

Import tape
If you want to import a image, just highlight the image and click Import

You can see the importing log in Results page.

Page 108 of 140

In Activity Monitor, you can see the importing job is running.

Page 109 of 140

Restore Backup Exec Tape


To restore Backup Exec Tape, open Backup, archive and restore, select Backup Exec Backup

Page 110 of 140

To specify which source client backup in Backup Exec Tape and which destination client to restore, click
Specify NetBackup Machines and Policy Types in File menu

Page 111 of 140

Choose master server as Server Name

Page 112 of 140

Choose Source Client and Policy Type is MS-Windows-NT

choose Destination client

Page 113 of 140

All Backup Exec backup history will list in the windows.

Page 114 of 140

Select what you want to restore and click start restore marked files

1.13.7 NetBackup

Move Tape Offsite


If you want to move tape from tape library to offsite, just right click the tape that you want to move and
choose Move

Page 115 of 140

Change the destination from Robot to Standalone. If you want the tape to eject via media access port, click
Eject volume from robot via the media access port check box.

After click OK, you can pick the tape from media access port of tape library.

Move Tape Into Library


At first, you should insert tape into media access port or slot of tape library.
Right click media and choose Inventory Robot

Page 116 of 140

Choose the appropriate robot, then click Update volume configuration. To empty the media access port,
check Empty media access port prior to update. After that, click start to begin the inventory.

Page 117 of 140

In the Results box, you will see the tape has been moved to a slot and NetBackup volume configuration has
been updated.

Page 118 of 140

1.13.8 NetBackup email


windows NetBackup email
http://www.interlog.com/~tcharron/blat194.zip
blat.exe d:\veritas\netbackup\bin\
d:\veritas\netbackup\bin\backup_exit_notify.cmd

@REM
@REM $Header: backup_exit_notify.cmd,v 1.6 2000/03/08 17:24:57 pwh Stab $
@REM
@REM bcpyrght
@REM ***************************************************************************
@REM * $VRTScprght: Copyright 1993 - 2000 VERITAS Software Corporation, All Rights Reserved $ *
@REM ***************************************************************************
@REM ecpyrght
@REM
@REM backup_exit_notify.cmd
@REM
@REM This script is called by the NetBackup scheduler, after an individual
@REM client backup has completed (including media closure and image db
@REM validation.
@REM
@REM NOTE: this script will always be run in "background" mode, meaning that
@REM

the NetBackup scheduler will NOT wait for it's completion.

@REM
@REM This script:
@REM receives 5 parameters:
@REM %1 = CLIENT

- the client hostname

@REM %2 = CLASS

- the class label

Page 119 of 140

@REM %3 = SCHEDULE

- the schedule label

@REM %4 = SCHEDULE_TYPE
@REM

- the type of schedule: FULL INCR UBAK


UARC

@REM %5 = STATUS

- the backup status for this job

@REM %6 = STREAM

- the backup stream number for this job

@REM
@REM - Main program -----------------------------------------------------------@REM @REM - This script only runs on NT 4.0 and succeeding versions of NT. You must
@REM - have command extensions enabled. Check the following registry entry:
@REM @REM - HKEY_CURRENT_USER\Software\Microsoft\Command Processor\EnableExtensions
@REM @REM - It should be set to 0x1 or you may have problems running this script.
@REM --------------------------------------------------------------------------@setlocal ENABLEEXTENSIONS
@set LISTPATHS="%~dp0\goodies\listpaths"
@for /F "delims=|" %%p in ('%LISTPATHS% /s NB_MAIL_SCRIPT') do @set NB_MAIL_SCRIPT="%%p"
@set OUTF="%~dp0\BACKUP_EXIT_CALLED"
@REM --------------------------------------------------------------------------@REM - Get date and time.
@REM --------------------------------------------------------------------------@for /F "tokens=1*" %%p in ('date /T') do @set DATE=%%p %%q
@for /F %%p in ('time /T') do @set DATE=%DATE% %%p
@REM --------------------------------------------------------------------------@REM - Check for proper parameter use.
@REM --------------------------------------------------------------------------@if "%6" == "" goto BadParams
@if "%7" == "" goto GoodParams

Page 120 of 140

@:BadParams
@echo %DATE% backup_exit_notify expects 6 parameters: %* >> %OUTF%
@goto EndMain
@:GoodParams
@REM --------------------------------------------------------------------------@REM - You may want to delete the output file elsewhere in order to
@REM - accumulate successful backup information. If so, delete the
@REM - following line or move it to where it will do the most good.
@REM --------------------------------------------------------------------------@if exist %OUTF% del %OUTF%
@REM --------------------------------------------------------------------------@echo %DATE% ----------------------------- >> %OUTF%
@echo %DATE%

CLIENT: %1 >> %OUTF%

@echo %DATE%

CLASS: %2 >> %OUTF%

@echo %DATE%

SCHEDULE: %3 >> %OUTF%

@echo %DATE% SCHEDULE TYPE: %4 >> %OUTF%


@echo %DATE%

STATUS: %5 >> %OUTF%

@echo %DATE%

STREAM: %6 >> %OUTF%

@echo %DATE% ----------------------------- >> %OUTF%


@REM --------------------------------------------------------------------------@REM - might want to mail this info to someone
@REM @REM call %NB_MAIL_SCRIPT% someone_who_cares "NetBackup backup exit" %OUTF%
@REM --------------------------------------------------------------------------@:SendMail
@blat %OUTF% -s %1:%2 - %5 -t <craig.chalmers@veritas.com> -i <NetBackup> -server
<rdgxch03.uk.veritas.com> -q
@:EndMain
@EndLocal

Page 121 of 140

@REM - End of Main Program

blat
%1:%2 - %5 subject
craig.chalmers@veritas.com email
NetBackup
Rdgxch03.uk.veritas.com mail

1.13.9 DP
1. cnwxr04 DP
2. cnwxr01

/usr/sap/DEV/SYS/exe/run/backint /usr/openv/netbackup/bin/backint link


/usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD> DP link,
DP,/usr/sap/DEV/SYS/exe/run/backint ,
/usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD>
mv /usr/sap/DEV/SYS/exe/run/backint /usr/sap/DEV/SYS/exe/run/backint.nbu
mv /usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD> /usr/sap/DEV/SYS/exe/run/backint

NetBackup
mv /usr/sap/DEV/SYS/exe/run/backint /usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD>
ln s /usr/openv/netbackup/bin/backint /usr/sap/DEV/SYS/exe/run/backint

3. cnwxr03

/usr/sap/DEV/SYS/exe/run/backint /usr/openv/netbackup/bin/backint link


/usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD> DP link,
DP,/usr/sap/DEV/SYS/exe/run/backint ,
/usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD>
mv /usr/sap/DEV/SYS/exe/run/backint /usr/sap/DEV/SYS/exe/run/backint.nbu
mv /usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD> /usr/sap/DEV/SYS/exe/run/backint

Page 122 of 140

NetBackup
mv /usr/sap/DEV/SYS/exe/run/backint /usr/sap/DEV/SYS/exe/run/backint.<YYYYMMDD>
ln s /usr/openv/netbackup/bin/backint /usr/sap/DEV/SYS/exe/run/backint

1.14

NetBackup
NetBackup /usr/openv(Unix)

/usr/openv/netbackup/bin
/usr/openv/netbackup/bin/admincmd
/usr/openv/netbackup/bin/goodies
/usr/openv/volmgr/bin
NetBackup c:\program files\veritas\(NT)

Bparchive.exe archive
Bpbackup.exe backup
Bpclntcmd.exe
Bpdbm ctime XXXXXX image
Bpdbm consistency [2] image
Bplist.exe
Bpps.exe netbackup service
Bprestore.exe
Drfile.exe idr
Available_media.cmd
Support.exe netbackup , supporter

Page 123 of 140

Bpclient.exe
Bpcllist allclasses [l|L|U](bppllist.exe) class
Bpconfig.exe U master server global attribute
Bpdbjobs.exe report job
Bperror.exe all U report
Bpexpdate.exe ev MediaID d 0
Bpgetconfig.exe netbackup
Bpimage.exe image
Bpimagelist.exe image media
Bpimmedia.exe media image
Bplabel.exe label
Bpmedia.exe media
Bpmedialist.exe U media
Bpminlicense.exe license key
Bprecover.exe catalog
Robtest.exe
Tpclean.exe
Tpconfig.exe
Tpreq.exe mount
Tpunmount.exe umount
Vmadd.exe
Vmchange.exe
vmchkxxx.exe robot
Vmdareq.exe SSO robot
Vmdelete.exe
Vmoprcmd.exe driver(vmoprcmd.exe Q)
Vmquery.exe b a
Vmupdate.exe volume , robot invertory
bp.kill_all netbackup

Page 124 of 140

gdm_config menu gdm


get_license_key menu license key

-help ,-Q

Page 125 of 140

1.15

NetBackup
1. 96 ,219 , storage unit

, volume pool ,

master server
#available_media

NetBackup pool
4120L1 HCART

TLD

DBBACKUP

4121L1 HCART

TLD

DBBACKUP

4127L1 HCART

TLD

8037600 ACTIVE

4126L1 HCART

TLD

None pool

jfkdb_pool pool

AVAILABLE

volume pool
AVAILABLE
ACTIVE
FULL
DBBACKUP NetBackup catalog(index)
FROZEN/SUSPEND NetBackup

media server

Page 126 of 140

# vmoprcmd -d

PENDING REQUESTS

<NONE>

DRIVE STATUS

Drv Type Control User

Label RecMID ExtMID Ready Wr.Enbl. ReqId

0 hcart

TLD

No

1 hcart

TLD

No

ADDITIONAL DRIVE STATUS

Drv DriveName

Shared

Assigned

0 HPUltrium1-SCSI0

No

1 HPUltrium1-SCSI1

No

Comment

TLD
DOWN-TLD ,NetBackup

#vmoprcmd -up <drive-index> TLD


AVR ,

2.

jnbSA :
Robot Inventory
NetBackup Robot Inventory

Page 127 of 140

Page 128 of 140

Robot Robot Host Perform volume configuration update empty media access port
prior to updateNetBackup mailslot
NetBackup pool pool, change

, volume pool

3.

jnbSA , catalog, Action:Duplicate


Search for images ,Search Now backup id .
search results backup id,, duplicate,
setup duplication variables ,
storage unit jfkdb1-hcart-robot-tld-0,volume pool ,, OK

Page 129 of 140

4.

# tpclean
Drv
***

Type
****

Mount Time Frequency Last Cleaned


********** ********* ****************

hcart*

0.1

N/A

hcart*

0.1

N/A

Comment

*******

# tpclean -help
Usage: tpclean -L |-C drive_name|-M drive_name|-F drive_name clean_frequency

#tpclean C HPUltrium1-SCSI0

#tpclean C HPUltrium1-SCSI1

5. Master server,media server NetBackup

NetBackup
#/usr/openv/netbackup/bin/goodies/netbackup start

NetBackup
#/usr/openv/netbackup/bin/goodies/netbackup stop

NetBackup

6. Master server,media server NetBackup

master server Netbackup

Page 130 of 140

#/usr/openv/netbackup/bin/bpps a
# bpps -a
NB Processes
-----------root 23422

1 0 21:37:36 ?

0:00 /usr/openv/netbackup/bin/bpdbm

root 23388

1 0 21:37:36 ?

0:06 /usr/openv/netbackup/bin/bprd

1 0 21:37:36 ?

0:01 vmd

MM Processes
-----------root 23383

media server NetBackup


# /usr/openv/netbackup/bin/bpps -a
NB Processes
------------

MM Processes
-----------root 1148

1 0 22:39:20 ?

root 7146 7089 0 22:46:35 ?

0:01 vmd
0:00 tldd

root 7186

1 0 22:46:37 ?

0:00 tldcd

root 7089

1 0 22:46:32 ?

0:00 /usr/openv/volmgr/bin/ltid

root 7179 7089 0 22:46:37 ?

0:04 avrd

7. 6
6 oracle oracle

.out

Page 131 of 140

1.16

NetBackup Java NT activity


monitor

PASS
NO

YES

NetBackup

PASS

VERITAS Email

PASS

PASS

Page 132 of 140

1.17

Activity Monitor

1.18

Tel: 010-85181088 , 8008109771

Email:china.support@veritas.com

Page 133 of 140

1.19

1.19.1

VERITAS

1.19.2

100%

UNIXNetWareWindows NT
VMS ERP

Page 134 of 140

24

1.19.3

Page 135 of 140

1.

2.

3.

1.20

/
XXXXXX

1.20.1

1.

2.

3.


1.

2.

Page 136 of 140

3.

1.20.2

1
2
3
4
5

1.20.3

1.20.4
1.
2.
3.
4.
5.

Page 137 of 140

1.21

1.21.1

1.

2.

3.

4.

1.21.2

()

Page 138 of 140

1.

RAID1RAID5

2.

1.

VERITAS Cluster Server

2.

1.

VERITAS Cluster Server

2.

3.

1.

VERITAS Cluster Server

2.

()
1.

1.

Page 139 of 140

2.

VERITAS NetBackup BP Vault IDR BMR

3.

NetBackup BP Vault

4.

Page 140 of 140

You might also like