curso de veritas

430
Veritas Netbackup

Upload: alberto-garcia

Post on 14-May-2015

507 views

Category:

Documents


0 download

TRANSCRIPT

Veritas Netbackup

Veritas NetBackup

José Manuel AntónEnterprise Consulting Services

Arquitectura

NT/95/98 UNIX LINUX

MediaServer

MasterServer

GDMGDM

MasterServer

MasterServer

MediaServer

Arquitectura Multinivel

Netware Macintosh

SolarisMediaServer

HPUXMasterServer

NTMediaServer

4 TB

Instalación

Instalación. UNIX, Windows

RELEASE NOTES. PARCHES !!!LicenciasWindows : Next, next, nextUNIX• Solaris :

/cdrom/ /installpkgadd –d VRTSnetbp

• HP-UX :# nohup pfs_mountd# nohup pfsd &# pfs_mount -o xlat=unix /dev/rdsk/c3t2d0 /cdrom# install

Ejemplo PrácticoInstalación NetBackup en Solaris

Chequeando la instalación

Chequear los procesos de NetBackup• bpps –a (bprd,bpdbm,vmd)

Si no estan corriendo :• /opt/openv/netbackup/bin/initbprd• /usr/openv/volmgr/bin/ltid

Arrancar la consola Java de NBU• opt/openv/netbackup/java/jnbSA

Ficheros de configuración de NBU(txt)• /usr/openv/netbackup/bp.conf• /usr/openv/volmgr/vm.conf

Configuración de Dispositivos de

Almacenamiento

(Sistema Operativo)

Iniciación a SCSI

RAID 5

c0

c1

t0 t1

C = Controladora, instancia en el bus

t = Target id

L = Logical Unit Number

t0 t1

c1

t1t0

.

.

SCSI en SOLARIS

Detección de dispositivos ( Reboot! ):• Configurar Target único en los

dispositivos(switches, dips, panel ) Terminador– Editar st.conf (tapes) sd.conf (discos)– touch /reconfigure; init 6– reboot - - -r

Detección de dispositivos ( No Reboot ):• Target Único. Terminador

– devfsadm -C

SCSI en SOLARIS II

H.D:• /dev/rdsk/c1t1d0• /dev/dsk/c1t1d0

Tapes:• /dev/rmt/0cbn• /dev/rmt/1cbn

SCSI en HP-UX

Detección de dispositivos• # ioscan –fn• # insf -e

Salida para ioscan

Class I H/W Path Driver S/W State H/W Type Description=========================================================ext_bus 7 0/7/0/1 c720 CLAIMED INTERFACE SCSI C896 Fast Wide LVDtarget 12 0/7/0/1.2 tgt CLAIMED DEVICEautoch 14 0/7/0/1.2.0 schgr CLAIMED DEVICE ADIC Scalar 100target 13 0/7/0/1.3 tgt CLAIMED DEVICEautoch 19 0/7/0/1.3.0 schgr CLAIMED DEVICE IBM ULT3583-TLtarget 14 0/7/0/1.4 tgt CLAIMED DEVICEtape 21 0/7/0/1.4.0 atdd CLAIMED DEVICE IBM ULT3580-TD1target 15 0/7/0/1.5 tgt CLAIMED DEVICEtape 19 0/7/0/1.5.0 atdd CLAIMED DEVICE IBM ULT3580-TD1

Special Files creados despues de insf –e/dev/rmt/c7t0d0BESTnb/dev/rmt/c7t1d0BESTnb/dev/rmt/c7t4d0BESTnb/dev/rmt/c7t5d0BESTnb

Configuración de Dispositivos de

Almacenamiento

(NetBackup Solaris)

Instalación del driver sg. SOLARIS

1. Comprobar estado módulo sg2. /usr/sbin/rem_drv sg3. /usr/bin/rm -f /kernel/drv/sg.conf4. cd /usr/openv/volmgr/bin/driver

/usr/openv/volmgr/bin/sg.build all -mt 15 -ml 1Actualiza los ficheros : st.conf, sg.conf, sg.links

5. /usr/openv/volmgr/bin/driver/sg.install

VERIFICANDO LA CONFIGURACION

/usr/openv/volmgr/bin/sgscan all/dev/sg/c0t5l0: Tape (/dev/rmt/0): "HP C1537A"/dev/sg/c0t6l0: Cdrom: "TOSHIBA XM-5401TASUN4XCD"/dev/sg/c1t2l0: Tape (/dev/rmt/7): "EXABYTE EXB-85058HE-0000"/dev/sg/c1t4l0: Tape (/dev/rmt/9): "EXABYTE EXB-8900MH000202"/dev/sg/c1t5l0: Changer: "EXABYTE EXB-210"/dev/sg/c2t2l0: Tape (/dev/rmt/10): "Quantum DLT4000"/dev/sg/c2t5l0: Tape (/dev/rmt/11): "QUANTUM DLT7000"/dev/sg/c3t0l0: Disk (/dev/rdsk/c1t0d0): "FUJITSU M2952ESP SUN2.1G"/dev/sg/c3t3l0: Disk (/dev/rdsk/c1t3d0): "FUJITSU M2952ESP SUN2.1G"/dev/sg/c4t4l0: Tape (/dev/rmt/4): "Quantum DLT4000"/dev/sg/c4t5l0: Tape (/dev/rmt/5): "Quantum DLT4000"/dev/sg/c5t0l0: Disk (/dev/rdsk/c5t0d0): "SONY SMO-F541"

Alta de un Robot en NBU /dev/sg/c0t1d0

DRIVE NUMBER=

/dev/rmt/0cbn

/dev/rmt/1cbn

/dev/rmt/2cbn

/dev/rmt/4cbn

/dev/rmt/3cbn

Métodos de Alta de un Robot en NBU

Método Gráfico: No válido en JUMPERCLI :• # tpconfig

Device Management Configuration Utility– 1) Drive Configuration– 2) Robot Configuration– 3) Volume Database Host Configuration– 4) Print Configuration– 5) Help– 6) Quit– Enter option:

tpconfig. Add Robot

Add Robot • Tipo de Robot :

» 7) TLD - Tape Library DLT» 8) TLH - Tape Library Half-inch» 9) TLM - Tape Library Multimedia» 10) TS8 - Tape Stacker 8MM» 11) TSD - Tape Stacker DLT» 12) TSH - Tape Stacker Half-inch

• Robot Number ?• Is robotic control (SCSI) on this machine? (y/n) y:• Enter SCSI path = • Volume Database Host = Host_name_Master

Reiniciar ltid !!!!!!!• Stopltid• /usr/openv/volmgr/bin/ltid

tpconfig. Add Drive

Add drive• Drive type :

– 1) 1/4" Cartridge (qscsi)– 2) 1/2" Cartridge (hcart) LTO– 3) 1/2" Cartridge 2 (hcart2)– 4) 1/2" Cartridge 3 (hcart3)– 5) 4mm Cartridge (4mm)– 6) 8mm Cartridge (8mm)– 7) 8mm Cartridge 2 (8mm2)– 8) 8mm Cartridge 3 (8mm3)– 9) DLT Cartridge (dlt)

• No rewind path =• Is the drive in a library ?=

– Enter drive number =• This drive is multihosted ? =

Testeando la configuración

¿ Como podemos comprobar que la configuración es correcta ?

Métodos de Testeo de la Configuración

Manual• Abrir el robot introducir cartuchos a mano.

Elegante• Robtest.

– # m s1 d1 ( mover slot 1 al drive 1 )– # mt –f /dev/rmt/0cbn status (Chequea estado de drive)

Ejemplo PrácticoAlta de una librería en NetBackup

Gestión de Media.Media Manager

Conceptos de Media Manager

Volumes : Piezas individuales de mediaVolume Pools : Media usada para un proposito comúnVolume Groups : Media en una localización física Común.

Volumenes

Volumenes son :• Media magnética ( tapes ) ó Discos ópticos• Son gestionados por Media Manager.

Son identificados de forma única mediante• External VSN ( Código de Barras )• Internal VSN ( Label ).Escritura en banda

magnética.

EVSN Codigo de Barras

Volumes Pools

Conjunto de volúmenes, en los que almacenaremos datos con una característica común.• Han de ser creados antes de que podamos

asignarles volumenes.

Volume Pools II

Tape SiloVolume Pool

ORACLE

Desarrollo

NT_2000

NetBackup

UNIX_Servers

Scratch

Volume Pool de SCRATCH

Pool OpcionalCuando un volume pool no tiene volúmenes para escribir datos, un volumen es asignado desde el pool de SCRATCHPara crear un scratch pool:• Editar vm.conf

SCRATCH_POOL = nombre• Reiniciar procesos de Media Manager

Volume Groups

Identifican la localización fisica de un volumen.Son creados para realizar un seguimiento más exhaustivo de donde se encuentra un volumen.

Volume Pools vs. Volume Groups

Robotic Nonrobotic

Volume Group:Monday

Volume Group:Tuesday

Volume Group:Friday

Volume Group:Saturday

Volume Pool:Oracle

Volume Pool:UNIX Servers

Configuración de Media en drives StandAlone

Configuración de media en drives standalone

ORA-001 ORA-002

WIN-001 WIN-001

VP (ORACLE)VP(Windows )

Alta de media en NetBackup

!!!! Media Type Volumen = Media Type Drive !!!

Ejemplo Practico. Alta de media en un drive StandAlone

Configuración de Media en Robots

Agregando media a un Robot

Método Manual :• Igual que en StandAlone más información de

residencia.CAP.

Inventario : • Interrogar a la librería por su contenido.• Solo librerías con lector de código de barras!!!.

Inventario de un Robot con Lector Código de Barras

“Show Contents”“Compare Robot Contents with Volume Configuration”“Preview Volume Configuration Update”“Perform Volume Configuration Update”.• Empty Media Access Port Prior to Update.

Slot 1 ORA-001Slot 2

.

.

. Volume Database

Opciones de Inventario

Reglas de Código de Barras :• De acuerdo al código de barras detectado,

agregar el volumen a un volume pool especifico.

Asignar la media agregada/eliminada del Robot a un Volume group especifico.Asignar un rango especifico de VSN a volumenes agregados.Media de un tipo específico asignar a un volume pool especifico.

Eliminación de volumenes en un drive StandAlone.

No deben de contener backups válidos.• Time Assigned !!!!

Seleccionar volúmenes y eliminar.

Eliminación/expulsión de media en un Robot

Expulsar un volumen : Seleccionar un volumen “eject from robot”Eliminación:• Time Assigned.

El problema del inventario en un robot sin código de barras

NetBackup al preguntar por el contenido de la librería solo detecta la presencia de cartuchos o no, en cada slot.Asigna un rango de EVSN por defecto o previamente configurado y los agrega a su base de datos de volumenes.Cuando escriba en un volumen por primera vez etiquetará (LABEL) dicho volumen de acuerdo al rango previamente asignado.

En NetBackup

LABEL = codigo de Barras

Inventario de un Robot sin Lector de Código de Barras

Slot 1

A0001Slot 2

Slot 3

Slot 4

Ejemplo Práctico.Alta de media en un robot.

STORAGE UNITS

Storage: Dispositivos vs Unidades

Dispositivos de Almacenamiento: • Sitio individual donde escribir backups.

– Tape Drives, discos opticos etc..

Storage Units (STU) : Uno o más dispositivos de almacenamiento sobre un media server, a el cual los backups son enviados.• Pueden incluir varios dispositivos de

almacenamiento.• Han de ser del mismo tipo y densidad.• Los dispositivos estan bajo el control del mismo

robot.

Storage Units II

STU

Drives

NIC

Media Server

Tipos de Storage Units

Tape, optical:• Gestionados por media manager

File System:• Gestionado por NetBackup directamente.

NDMP:• Solo puede ser configurado sobre un host

NDMP.NAS

FAXTRAX ( Desaparece en NBU V.5.x )• Symmetrix !!!!!!!!!!!!!!

Storage UnitsEjemplo

NBUMedia Server

Server 1NBU

Media ServerServer 2

STU 1

STU 2

4mm StackerSTU 3

Silo con Drives DLT

8mm DrivesSTU 4

Creación de un STU

Creando un STU: On Demand vs Any Available

On DemandOnly

Any AvailableAny Available

Multiplexación

Multiplexación II

Ventajas:• Maximizar el rendimiento del drive.Wear & Tear!• Reducir la ventana de Backup.• Procesamiento simultaneo de más clientes.

Desventajas:• En la restauración es necesario de-multiplexar.• Aumento de tiempo en la restauración.

Ejemplo Práctico: Creación de un STORAGE UNIT

Políticas de Backup

Políticas. Definición

Una política es una petición de backup de un conjunto de clientes con un “File List”común.Una política determina :• Qué ?• Quién ?• Cómo ?• Donde ?• Cuándo ?

Elementos de un Política

Clientes• UNIX, NT, Macintosh, NetWare, etc

File List• Ficheros, directorios, file systems, etc….

Atributos• Cross mount points, compression, multiplexing, etc.

Schedules• Cuando iniciar el backup, nivel de retención, etc…

Clientes

Conjunto de máquinas de las que realizaremos el backup.• Misma plataforma ( UNIX, NT )

Es necesaria la instalación de un agente.• Instalación de binarios en el cliente y confguración básica• UNIX :

– Posibilidad de instalación remota desde el Master ( GUI, CLI ). Es necesaria relación de confianza.

• Windows :– Instalación local

Se requiere que la resolución de nombres entre el master/medias y el cliente este correctamente configurada. MANDATORY !!!!

Comunicación Básica.Master/ Media cliente

Master/media

nbu_master192.168.0.3

host_1192.168.0.2

DNS Server

Clientesoy 192.168.0.3 quiero hacerte backup

Quien es host_1 ?

192.168.0.2

bp.confSERVER = nbu_masterCLIENT_NAME=host_1

Quien es 192.168.0.3 ?

nbu_master

Policy Cliente:host_1

192.168.0.1

Como testear la comunicación entre master/media y clientes

/usr/openv/netbackup/bin/bpclntcmd• bpclntcmd: -sv• bpclntcmd: -pn• bpclntcmd: -self• bpclntcmd: -hn <hostname>• bpclntcmd: -server <NBU master>• bpclntcmd: -ip <ipaddress>• bpclntcmd: -gethostname• bpclntcmd: -is_local_host <hostname>

File List. Construcción

Es sensible a MAY/Min• C:\—Back up de todo el contenido de la unidad C• C:\users\net1\—Back up del directorio users\net1

en unidad C• C:\special\list.txt—Backup del fichero list.txt

en el directorio C:\special• C:\Users\*.doc—Back up all files ending with the doc

file extension in directory C:\Users• C:\system\log??_97—Back up ficheros con nombres

como log01_97, log02_97, etc.• :\ or *:\—Back up de todas las unidades locales excepto

unidades removibles (por ejemplo, floppy drives and CD-ROM drives)

• \\.\D:—Back up de una imágen de disco de la unidad D (raw)

File List (NT) II

Backup del Registro:• C:\winnt\system32\config—Back up del

directorio conteniendo el registro de NT• HKEY_LOCAL_MACHINE:\—Back up de la clave

HKEY para la máquina local. No recomendablepara Disaster Recovery

• System_State:\ -- Backup de todos loscomponentes activos de Windows 2000:

* Active Directory * COM + Classes* Cluster Database* Registro* Boot files * SYSVOL

ATRIBUTOS.NT

ATRIBUTOS.UNIX

ALLOW MULTIPLE DATA STREAMS

Se segmenta el backup en múltiples streams por clienteVentajas• Reducción del tiempo de backup• Checkpoint !

Deventajas• Un mal uso puede redundar en una aumento del

tiempo de backup • Podemos reventar un cliente!!!

Ejemplo Práctico.Creación de una Política Básica

Programación de BackupsSCHEDULES

SCHEDULES

Proveen una definición de la frecuencia y tipo Tipo:• Periodo:

Definido por “Ventana de Backup” y frecuencia del backup.

• Tipo– Scheduled—Full or Incremental– User-defined— A petición de usuario

Schedule Interface

Ventana de Backup

Ventanadurante la cual los

backup hande comenzar

client1

client2

client3

client4

client5Este backup

no comenzará

Tipos de Backup

Full : Backup de todos los ficherosIncremental(Diferencial-Acumulativo) : Backup de todos los ficheros modificados desde el último backupDiferencial(incremental-Acumulativo) : Backup de todos los ficheros modificados desde el último FULL backup.

Media Multiplexing

Def: Numero de Streams generados por el schedule que se enviarán simultaneamente a un único drive.

STUMedia Mux = 2

Schedule

C:\E:\F:\

Max concurrent drives=2

Multiplexing per drive =3

Politica

Periodo de Retención

El periodo de retención define el intervalo de tiempo que se mantienen las imágenes en la base de datos de NetBackup ( Catálogo ).”Durante cuanto tiempo queremos preservar los datos de nuestro backup”

MasterCliente

Imágenes dbMedia Server

Meta-Datosc:\datos\f1.txtc:\datos\f2.txt

Datos(formato tar)

Meta-Datosc:\datos\f1.txtc:\datos\f2.txt

Periodo de Retención II

Los periodos de retención son definidos como índices en los que cada índice corresponde a un periodo de tiempo.NetBackup tiene definidos 10 periodos de retención, pudiendose definir hasta un total de 24 periodos diferentes• Nivel 1 ----- Retención de 15 días• Nivel 2 ----- Retención de 1 mes

Gestión de Imagenes vs Periodo de Retención

Images db

Media dbImage | Tape VSN

class_0929823745_FULL DLT001class_0932185691_FULL DLT001

class_0933152890_FULL DLT002 ...

File/Path | Ret. Date | Image

/usr/dbn/c.txt Dec. 12, 2000 class_0929823745_FULL/usr/dbn/d.txt Dec. 12, 2000 class_0929823745_FULL/usr/dbn/myfile Dec. 12, 2000 class_0929823745_FULL

/usr/dbn/c.txt Dec. 15, 2000 class_0932185691_FULL/usr/dbn/d.txt Dec. 15, 2000 class_0932185691_FULL/usr/dbn/myfile Dec. 15, 2000 class_0932185691_FULL

Media Noche, December 13, 2000:

00:00:00 December 16, 2000:

Periodo de Retención vs

Uso de MediaMaster

Cliente

Media Server

Meta-Datos

Datos(formato tar)

Meta-Datos

Images db

media db

JuevesLunes

im-1Time Assigned

Estrategias de Backup

“Tiempo de Protección vs Consumo de Volumenes”

“Tamaño de la Librería. Número de Slots”

“Requerimientos de tiempo en la restauración”

Lunes Martes Miercoles Jueves Viernes Lunes . . .

FULLFULL

Iniciando BackupsMonitor De Actividades

Inicio Manual de BackupsBackup/Archivo desde el cliente

Ejecución Manual de SchedulesPermitir a los usuarios realizarse sus copias de seguridad.• Tipo de backup

– User Backup– User Archive

Activity Monitor

Operaciones desde el Monitor de Actividades

Visualizar estado de “jobs”• Volumen de datos copiado• Velocidad de transferencia.• Tiempo transcurrido• Gestión de jobs ( relanzar,suspender etc…)

Visualizar estado procesos de NetBackup• Start/Stop/restart procesos

Ejemplo Práctico. Políticas Optimizadas

Restauración de Datos

El Proceso de Restauración

Procedimiento de Restauración:• Browsear ficheros y directorios desde el cliente

de NBU.• Seleccionar ficheros para restaurar• Restaurar Ficheros.

– En localización original– En otra localización– Sólo si no existe( fechas etc… )

Restauración desde Múltiples Imágenes

FULL + incremental + …• Elegir la lista de imágenes

– full + inc + inc +….• Restaurar

Proceso sin intervención del usuario siempre y cuando …

El Proceso de Restauración

Peticiones de restauración deberían venir de:• Clientes• Administrador ( Desde el Master )

Un cliente sólo puede restaurar datos de si mismo.• Un Cliente NO puede browsear imágenes de otro

cliente. ( Configurable! )

Gestión de la Seguridad en la Restauración.

Como permitir a un cliente restaurar datos de otro cliente• opt/openv/netbackup/db/altnames/CL_NAME

– CL_NAME: Fichero con la lista de clientes que pueden restaurar datos de la máquina CL_NAME. (ACL)

– Si el fichero esta vacio, cualquier cliente puede restaurar datos de CL_NAME.

• opt/openv/netbackup/db/altnames/No.Restrictions

Es posible especificar permisos para:• Browsear imágenes• Restauración de imágenes.

– bpclient, GUI.

GUI Permisos de Restauración

Ejemplo Práctico.Restauración de Datos

Bases de Datos en NetBackupCATALOGO

Bases de Datos en NetBackup (UNIX)

Master Server Databases:• /opt/openv/netbackup/db• /opt/openv/volmgr/database

Media Server Databases:• /opt/openv/netbackup/db/media• /opt/openv/volmgr/database

Contenido. NetBackup Databases

Imágenes (NetBackup):• Localizadas en el Master Server• Almacena información de todos los ficheros respaldados

Media (NetBackup):• Localizadas en cada Media Server• Almacena información sobre media usada en cada Media

Server

Volúmenes (Media Manager):• Solo en Master Server (recomendado)• Almacena información de todos los volúmenes presentes

en el dominio de almacenamientoDispositivos (Media Manager)• En cada Media Server• Información de dispositivos presentes en el Media Server.

Global de Dispositivos (Media Manager)• En Master Server• Información de todos los dispositivos de todos los medias.

Esquema Relacional entre lasBases de Datos de NBU

Volume ID Robot SlotA00001 0 23A00014 1 25

Image name volume id9050… A000019110… A00014

File date time image media server/joe 12-1-00 0914 9050… slave1/jane 12-3-00 1703 9110… slave1

Images

Media

Volume

MasterServer

MediaServer

MasterServer

CATALOGO

….WHERENetBackup

Live´s !!!

BACKUP DEL CATALOGO

Las restauraciones dependen de que el catálogo este intacto.Es necesario programar backups periódicos del catálogoSólo podemos respaldar el catálogo cuando no hay trabajos activosEl backup del catálogo no puede estar distribuido en dos volúmenes.Cuando el backup del catálogo esta activo todos los demás trabajos se encolan.

Backup Catalog. GUI

Volúmenes donde realizaremos el backup• Recomendado dos volumenes.

Programación del backup• Automático:

– Después de cada schedule realizado con éxito– Después de cada backup con éxito.

• Manual :– A petición. ( cron, at …)

Ruta donde se encuentren los catálogos de todo el dominio de almacenamiento.

Restauración del Catálogo

bprecover• Restaura las bases de datos de NBU

– bprecover –l Lista imágenes– bprecover –r recupera imágenes

Recuperación del Catálogo (UNIX)

Referencias

Arquitect NetWork. • van.veritas.com

VERITAS Support• support.veritas.com• +34 91 700 55 80 Consultoría• +34 91 406 90 27 Incidencias

MUCHAS GRACIAS

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Course Introduction

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-2

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-3

NetBackup Course Objectives

After completing this course, you will be able to:Architect a NetBackup solution.Install NetBackup.Configure NetBackup.Manage NetBackup and Media Manager using the appropriate interfaces.Provide NetBackup server protection and recovery.Monitor NetBackup activities.

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-4

VERITAS Solutions

Application Solutions• Database Editions• ServPoint NAS• ServPoint SAN

SAN Management• SANPoint Control• SANPoint Foundation

Suite HA

Backup• NetBackup• Backup Exec• Storage Migrator

File & Volume ManagementFoundation Suite

ClusteringVERITAS Cluster Server

VERITAS is the #1 worldwide provider of core storage management technology.

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-5

Components of NetBackup

NetBackup:• Manages backup schedules• Responds to requests• Writes data• Restores data• Tracks data locations

Media Manager:• Manages robotic devices• Manages drives• Manages media• Provides maintenance management• Interfaces with additional VERITAS products,

such as Storage Migrator.

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-6

Scalable Architecture

Benefit: Four-tier architecture—combined with sophisticated media management and high performance—can address the requirements of the largest data center installations.

Windows UNIX LINUX

MediaServer

MasterServer

MediaServer

GDM - MonitorGDM - Monitor

MasterServer

MasterServer

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-7

NetBackup Management Domains

Domain with one Master/Media Server

Windows UNIX NetWare

MasterServer

Tape Device

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-8

NetBackup Management Domains

Domain with a Master Server and a Media Server

Windows UNIX NetWare

MediaServer

MasterServer

Tape Device

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-9

NetBackup Management Domain

Example: Domain with Multiple Media ServersSAN

NetWare Macintosh

UNIXMedia Server

WindowsMaster Server

NetWare Media Server

1 TB

RoboticTape

Device

UNIX

4 TBNAS

4 TB

Network 1

Network 2

RoboticTape

Device

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-10

Standards-Based Application

NetBackup configuration settings are in the registry.Media Manager configuration file is an ASCII file.Communication for backups, archives, and restores is provided through TCP/IP sockets.NetBackup runs as a standard Microsoft Windows application with services.Backup files (images) are GNUtar formatted.

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-11

NetBackup Programs and Services

MasterServer

bprd

Client

bpcd

bpbkar(32)

(bp)inetdbpbrm

bpcd

bptm

MediaServer

MediaCatalog

Filesbpjobd

bpsched (bp)inetdbpdbm

Metadata

Metadata

nbwin.exejbpSA

bpbpbackup

xbp

Metadata

NetBackupManagement

Interfacenbconsole.exe

CLASSCONFIGIMAGEERROR

------------------

CATALOGS

JOBS

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-12

Media Manager Services

DeviceCatalog

Master Server

VolumeCatalogVolume

Pools

Media Servers

Handle to Tape Drivepassed to NetBackup

vmd ltid

avrdtxxcd

vmd

txxd

Device MonitorInterface

Media andDevice Management

Interface

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-13

NetBackup Administration Console

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-14

What Is New in NetBackup?

Explorer-style NetBackup Administration console: Access the interfaces through a consolidated application.Calendar-based scheduling: Designate your run days as specific calendar days, based on the day of the week, and exclude specific days.Prioritized storage units: Configure a policy or schedule to usea group of storage units that can participate in one or more groups and be prioritized within the group. NetBackup Vault (Inline tape copy or ITC): Write multiple copiesof a backup or a duplication at once and set different retentionlevels for each copy (up to 25).Global Data Manager (monitoring dashboard): Monitor the job and drive activity of large numbers of servers across multiple storage domains. Backup Exec tape reader: Read Backup Exec tapes (MTF format) from NetBackupNetBackup DataStore: Enables VERITAS products to save data through the DataStore API to a NetBackup image.

© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617 I-15

NetBackup 4.5 Windows Enhancements

Microsoft Windows XP and Windows.Net SupportIDR Support for CD-ROM on Windows 2000No Server License Key Required for Windows Admin GUIWindows Logo Certification

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 1Installing NetBackup

1-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

1-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Verify the prerequisites for NetBackup installation.Identify NetBackup catalogs, including assessing the size of the images catalog.Administer license keys.Perform an installation.Modify configuration parameters.Install NetBackup clients.Upgrade NetBackup.Install and deinstall patches.Troubleshoot installation problems.

1-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installation Prerequisites

NetBackup software and documentationSupported server hardware and softwareSufficient memory and disk spaceCorrectly installed storage devices and driversWorking network and name servicesLicense keysAdministrator privileged access

1-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Catalogs

Catalogs are internal databases that contain configuration and backup information.

Volume

Error

Jobs

Class

Config

Image

Master ServerMaster ServerCatalogsCatalogs

Device

Media

Media ServerMedia ServerCatalogsCatalogs

The image catalog is the largest catalog. Calculate the amount of space needed for this catalog as part of the installation process.

= NetBackup

= Media Manager

ClientClientClients contain no catalogs.

1-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Server Installation Sizing

Frequency Retention No. Files Total FilesDaily 30 days 100,000 3,000,000Weekly 2 weeks 600,000 1,200,000Monthly 12 months 3,200,000 38,400,000Quarterly 7 years 6,400,000 179,200,000

221,800,000150 150 bytes/entry31 GB1 Logs (GB)

32 Total (GB)

Master Server Image Catalog (ASCII Format)

Note: Binary format reduces catalog sizeby approximately 66%

1-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Licensing

License keys were introduced with version 3.4.You are required to enter a license at installation time.Separate licenses enable options and agents.• Most licenses are entered on the master server.• Drive licenses for SSO are entered on the media

server.

You are required to enter a key for the evaluation period.Use the License Key utility in GUI (under the Help menu) to administer NetBackup licenses.

1-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

License Key and Server Type

1-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Managing License KeysAfter Installation

1-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installing NetBackup

Ensure that all NetBackup servers are at the same release level.Install the software in the following order:• Master server• Media servers, if any• NetBackup Remote Administration Console• NetBackup clients• Any NetBackup add-on products (such as

NetBackup for Oracle)Installation procedure:• Log on to master server as Administrator.• Insert CD-ROM into drive.• Select NetBackup Installation and follow

prompts.

1-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Windows Splash Screen

1-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installation Splash Screen

1-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Administration Console

1-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring NetBackup

Local Configuration FilesNetBackup uses the Windows registry for its parameters.

HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config

Media Manager uses an ASCII file for its parameters.

install_path\Volmgr\vm.conf

1-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring NetBackup for Windows

NetBackup Configuration: Global Attributes

1-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installing Clients

Microsoft Windows ClientsInstalled locally or remotely from CD-ROM

UNIX Clients• Installed in /usr/openv• Installed locally from CD-ROM• Installed remotely from UNIX NetBackup server

Other Clients• Include NetWare, Macintosh, OS/2, and LINUX• Installed locally from CD-ROM• Refer to NetBackup Installation Guide

1-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Upgrading NetBackup

You must be running NetBackup 3.4, or 3.4.1 to upgrade to NetBackup 4.5.Back up NetBackup catalogs, custom scripts, and any *.conf file before upgrading.

Upgrade in the following order:1. Master server2. Media servers3. NetBackup Remote Administration Console,

if any4. NetBackup clients5. Any NetBackup Add-on products (such as

NetBackup for Oracle)

1-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Upgrading NetBackup

1-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Upgrading NetBackup

1-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Upgrading NetBackup

1-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installing Patches

After installing NetBackup, it is important to install any necessary patches as recommended on the VERITAS Support Web site.

NetBackup patches, or NB patches, arepatches for the NetBackup server software andclient software.

Review the readme file before installing.Drive mapping patches contain updated drivemappings for robotic drive mappings used byMedia Manager.The patch naming scheme is broken down asfollows:

NB_34_1_3.win95_246538.exe

Type of patch Version Platform Patch ID

1-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Uninstalling Patches

The patch uninstaller is a new feature of NetBackup 4.5:

On UNIX systems, only the last installed patch of a certain product/subproduct may be uninstalled.

Uninstall patches in reverse-sequential order.

On Microsoft Windows systems, only the last installed patch can be uninstalled.This feature should not be used to uninstall any patches previous to the NetBackup 4.5 release.Refer to the README file supplied with each patch for specific instructions.

1-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common Installation IssuesNetwork/communication issues: • Ping by name between master server, media

servers, and all clients.• Start or communicate with NetBackup services.• Ensure ports/service entries on each media

server and client match entries on master server.

Host communications setupMisspelled or incorrect host names

NetBackup requires reverse name lookup.

Incomplete or incorrect device installationor configuration

1-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Verify the prerequisites for NetBackup installation.Identify NetBackup catalogs, including assessing the size of the images catalog.Administer license keys.Perform an installation.Modify configuration parameters.Install NetBackup clients.Upgrade NetBackup.Install and deinstall patches.Troubleshoot installation problems.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 2Configuring Storage Devices

2-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

2-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to: Describe the Media Manager architecture, services, and network structure.Describe the device catalog configuration and contents.Identify the prerequisites of configuring devices.Configure tape libraries and tape drives. Describe the Shared Storage Option and configure shared drives.Test robots by using robotic test tools with NetBackup.Perform hardware-based, frequency, and manual drive cleaning.Troubleshoot common device configuration issues.

2-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Manager: Architecture

Robot Maintenance

RoboticPeripheral

Storage Migrator Users

MediaManager

Media Manager Interfaces

NetBackup

Devices

DeviceCatalogDeviceCatalog

MediaManagement

Master ServerMedia Server

Device Management

RobotControl

Drive 1

Drive 2

Volume CatalogVolume Catalog

Device Management

2-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Manager Run-Time Structure

DeviceCatalog

Master Server

VolumeCatalogVolume

Pools

Media Servers

Handle to Tape Drivepassed to NetBackup

vmd ltid

avrdtxxcd

txxd

Device MonitorInterface

Media andDevice Management

Interface

vmd

2-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Manager: Network Structure

NetBackupClient

TCP/IP Based Network

Drive 3

Drive 2

Drive 1

8mm Library

Drive 1

Drive 2

DLT Library

Media Server 1

vmd

Device Catalog

ltidtldd

tldcd

Media Server 2

vmd

Master &Media Server 3

vmd Volume Catalog

Device Catalog

Device Catalog

avrd

ltidtl8d

avrd

ltidtl8d

avrdtl8cd

2-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Device Catalog

Two-part catalog:• ltidevs—Tape and optical devices• robotic_def—Robotic devices

One device catalog per media server, which contains:• Device type• Operating system access information• Hardware status

ltid starts vmd and reads the catalog upon startup to determine the devices it controls.• If devices have been configured, then avrd and the

appropriate device controllers are started.• If no devices have been configured, ltid shuts

down without starting avrd or the device controllers.The catalog is empty upon installation.

To configure the first device using the Media andDevice Management interface, vmd must be running.

2-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Devices

PrerequisitesHardware devices must be attached to the server that acts as the device host.Appropriate drivers must be installed.Use operating system utilities (such as Device Manager) to verify that devices are accessible.

2-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Windows Device Manager

2-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Device Configuration Interface

Three choices:• Media and Device Management interface • tpconfig• Configure Storage Devices Wizard

This lesson focuses on the Media and Device Management interface.

2-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Devices—Using the Configure Storage Devices Wizard

2-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Devices—Without Using the Configure Storage Devices Wizard

2-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adding Robots

2-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Controlling ltid

2-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adding Drives

2-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Shared (Multihosted) Drives

Drive sharing (also known as multihosting) isa feature of the Shared Storage Option (SSO).

SSO is a separately priced option.

SSO supports dynamic allocation and deallocation of drives across multiple NetBackup media servers.Shared Storage Option Resiliency is a new feature of NetBackup 4.5.• SSO Resiliency isolates media server drive

issues, preventing multiple failures.• SSO Resiliency dynamically remaps tape

drives upon the start of the devicemanagement service.

2-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Robots—Shared Drive

2-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Shared Drive: Step 1

2-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configure Shared Drive: Step 2

2-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configure Shared Drive: Step 3

2-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configure Shared Drive: Step 4

2-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configure Shared Drive: Step 5

2-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configure Shared Drive: Step 6

2-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuration Analyzer

2-25© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Finished Configuration Example

2-26© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Robotic Test Tools

Test a robot without NetBackup.Move media within the robot fornon-NetBackup functions.Front-end application is robtest, which is located at install_path\Volmgr\bin\robtest.exe• This application invokes the device-specific test

tool (such as tl8test and tldtest).• The robot must be configured in order to use the

robtest menu interface.• A device-specific test tool can be invoked if the

robot is not configured.robtest is especially useful for validating drive mappings within a robot.

2-27© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

robtest Interface

2-28© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Using Robotic Test Tools

2-29© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Cleaning Drives

Using a Cleaning TapeIt is recommended that you specify the number of cleanings that remain for each cleaning tape. It is important to clean your tape drives, but be careful not to underclean or overclean.There are different drive cleaning methods that you can use:• Hardware-based cleaning based on drive alerts• Frequency cleaning configured within the

NetBackup software• Manual drive cleaning

2-30© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Hardware-Based Cleaning

The robot must support hardware-based cleaning.The TapeAlert feature of NetBackup allows reactive cleaning for most drive types.The tape drive sends a notification to the robot that it requires cleaning.After backup tape is unmounted, NetBackup mounts the cleaning tape and cleans the drive.Hardware-based cleaning is the supported cleaning method in a SAN environment.

2-31© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Frequency-Based Cleaning

Use the tpclean command to specify the number of hours a drive is used between drive cleanings (cleaning frequency).

Refer to the recommended frequency from the drive manufacturer.

Media Manager updates the mount time for the drive each time a tape is unmounted.A cleaning tape is configured in the robot; cleaning occurs when the accumulated mount time exceeds the time that you specified for cleaning frequency.Frequency-based cleaning is not supported for shared drives.

2-32© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Manual Drive Cleaning

Use tpclean to manually clean the drive and reset the accumulated mount time to zero after cleaning the drive.You can manually clean a drive regardless of the cleaning frequency and accumulated mount time.Clean stand-alone and robotic drives if a cleaning tape of the correct media type and volume pool has been configured.

2-33© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common device configuration issues:Devices not recognized by operating systemIncorrect device definitionServices or processes not running“Downed” drives:• Hardware problems• Bad media• Misconfigured robotic drive

2-34© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to: Describe the Media Manager architecture, services, and network structure.Describe the device catalog configuration and contents.Identify the prerequisites of configuring devices.Configure tape libraries and tape drives. Describe the Shared Storage Option and configure shared drives.Test robots by using robotic test tools with NetBackup.Perform hardware-based, frequency, and manual drive cleaning.Troubleshoot common device configuration issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 3Configuring Media

3-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

3-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe Media Manager architecture and processes.Identify the contents of the volume catalog.Configure media.Configure robotic media by using robot inventory.Manage media by using the Media and Device Management interface.Troubleshoot common media issues.

3-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Manager Architecture

Robot Maintenance

RoboticPeripheral

StorageApplications Users

MediaManager

Media Manager Interfaces

NetBackup

Devices

DeviceCatalogDeviceCatalog

MediaManagement

Master ServerMedia Server

Device Management

RobotControl

Drive 1

Drive 2

VolumeCatalogVolumeCatalog

Media Management

3-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Catalog

The volume catalog is one of the internal catalogs where Media Manager stores information about:

Volumes: Individual pieces of mediaVolume pools: Media used for a commonpurposeScratch volume pool: A volume pool that enables Media Manager to logically move tapesinto volume pools that do not have mediaavailable to useVolume groups: A group used by theadministrator and Media Manager for trackingthe physical location of volumes

3-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volumes

Volumes are media (tapes or optical disks) that have been assigned a media ID.Volumes are owned and managed by Media Manager until they are assigned.Each volume has a unique volume serial number (also called a media ID):• External volume serial number (EVSN)• Recorded volume serial number (RVSN)

Media ID is limited to six characters.Use the Robot Inventory Media ID Generation rule to specify which six characters to use for the Media ID.

3-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Pools

Volume pools identify a logical set of volumes. Volume pools can be used to reserve media for specific NetBackup jobs.A volume pool must exist before volumes may be assigned to it.The following volume pools are automatically created:• NetBackup: For backups of NetBackup catalogs• None: For jobs other than NetBackup• DataStore: Reserved for use by VERITAS or its

partners who provide agents that integrate with NetBackup.

3-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Pools Example

Tape SiloVolume Pool Name

Oracle

Development

Scratch

Windows_Servers

NetBackup

UNIX_Servers

None

3-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Scratch Volume Pools

A scratch volume pool is an optional pool.A volume is moved by Media Manager fromthe scratch volume pool to another poolthat does not have a volume available.A volume moved from the scratch volume pool becomes a member of the new pool.Select the scratch pool check box in the“Add a New Volume Pool” dialog to createa scratch volume pool.

3-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adding the SCRATCH Volume Pool

3-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Groups

Volume Groups:Identify where the tape is locatedAre created as a tape is moved into a groupManage groups of tapes for administrative purposesInclude two types of groups:• Robotic• Nonrobotic (standalone)

A common volume group is offsite.

3-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Media

Adding Volume PoolsAdding volumes for:• Robotic devices

– With barcode readers– Without barcode readers

• Stand-alone devices

Adding volumes using:• Volume Configuration Update• Manual Update

3-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Media Using the Configure Volumes Wizard

3-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring Media Without Using the Configure Volumes Wizard

3-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adding Volume Pools

3-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Using Robot Inventory toConfigure Robotic Media

1. Show contents.2. Compare contents with the volume

configuration:• Define update options• Set up barcode rules (for robotic device

with barcode reader).

3. Perform volume configuration update.

3-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Inventory Robot

3-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring a Volumefor Robotic Devices

Step 1: Show Contents

3-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring a Volumefor Robotic Devices

Step 2: Compare Contents with Volume Configuration

3-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring a Volumefor Robotic Devices

Step 2 (cont.): Define Update Options

3-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring a Volumefor Robotic Devices

Step 2 (cont.): Set Up Barcode Rules

3-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring a Volumefor Robotic Devices

Step 3: Perform Volume Configuration Update

3-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adding Volumes

3-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

When to Use a Move Operation

The administrator wants to change the physical location of a volume or a series of volumes.

For example, the administrator needs to eject a tape into the media access port of the robot.

The administrator wants to create a new volume group.A barcode is lost or unreadable.

3-25© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Managing Media

3-26© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Entries for Moving Volumes

3-27© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing Volume Attributes

3-28© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Delete Operations

The administrator can delete any volume that has not been assigned.

The administrator cannot delete any volume that has been assigned.

NetBackup assigns volumes that contain active images on them.

3-29© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Allow Media Overwrite

3-30© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common media issues:Unreadable barcode labelsMisdefined media typesStatus 96—Unable to allocate new media• Three reasons for this error:

– No usable tape– No tape in specified volume pool– Bad media

• Check Media Logs report to determine reasons for the error

3-31© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe Media Manager architecture and processes.Identify the contents of the volume catalog.Configure media.Configure robotic media by using Robot Inventory.Manage media by using the Media and Device Management interface.Troubleshoot common media issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 4Managing Storage Units

4-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

4-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe storage units.Create and maintain disk (file system) and Media Manager storage units.Break up a single image into multiple fragments by using fragmentation.Describe the concept of multiplexing.Create and maintain storage unit groups.Troubleshoot common storage unit issues.

4-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Storage Units

A storage unit is a group of one or more storage devices of a specific type and density that attach to a media server.Four types of storage units:• Media Manager: Robotic or stand-alone that is

under Media Manager control• Disk: A directory on a disk that stores the

backup or archive data• NDMP (Network Data Management Protocol):

Drives controlled by Media Manager but that attach to NDMP hosts and require that you have the NetBackup for NDMP option installed

• Fastrax: Controlled by Media Manager but attach to Fastrax hosts and require that you have theNetBackup for EMC Fastrax option installed

4-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

What Is the Difference?

A Storage Device is an individual place to write backups:• Tape drives• Optical disk drives• Magnetic disk with file system

A Storage Unit (STU) is one or more storage deviceson one media server to which backups are sent:• Includes one or more storage devices• Same type and density devices (robotic or

stand-alone)• Controlled by the same robot

A Storage Unit Group is a group used to identify storage units as a group• Available for various types of storage units• Determine the priority of storage units

4-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

On Demand Only vs. Any Available

On DemandOnly

Disk

Any Available

4-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Storage Units Layout

NBUMedia Server

Server 1NBU

Media ServerServer 2

STU 1(LTO)

STU 2(DLT)

AIT LibrarySTU 3

8mm DrivesSTU 4

Silo with DLT and LTO Drives

Layout Example

4-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Storage Unit Group Layout Example

STU-A STU-B STU-C STU-DGroup 1

Group 2Priority for Group 1:1) STU-A2) STU-B

Priority for Group 2: 1) STU-B 3) STU-C2) STU-A 4) STU-D

Master ServerHost 1

Robot 0Drive 1

Drive 2

Media ServerHost A(UNIX)

Robot 1Drive 1

Drive 2

Media ServerHost B(UNIX)

Robot 2Drive 1

Drive 2

Media ServerHost C

(Windows)

Robot 3Drive 1

Drive 2

Media ServerHost D

(Windows)

4-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating Storage Units Using the Configure Storage Devices Wizard

4-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating Storage Units Without Using the Configure Storage Devices Wizard

4-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Defining Storage Unit Properties: Media Manager

4-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Defining Storage Unit Properties: Media Manager (cont.)

4-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Defining Storage Unit Properties: Disk

4-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing or Deleting Storage Units

4-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Fragmentation

Fragment Size = 0 results in a single TAR image

F:\home\smithF:\home\murphyF:\home\brownF:\home\jonesF:\home\johnson

4-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Fragmentation

2 GB fragment of an image

Tape Mark

Tape Mark

Tape Mark

Tape Mark

Breaks the TAR image into fragments

2 GB fragment of an image

2 GB fragment of an image

2 GB fragment of an image

2 GB fragment of an image

4-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Writing Backups—Multiplexing

Multiplexing is generally used to reduce the amount of time required to complete backups.

Disk

Disk

Disk

Client A

Media Server RemovableMedia

Tape contains media header, backup headers, and multiplexed (interleaved)

images from each client

Client B

Client C

MH BH BH BH

4-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating a New Storage Unit Group

4-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Storage Unit Group Dialog

4-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common storage unit issues:Status code 219

Storage unit not available– Storage unit does not exist– Storage unit and robot numbers do not match– Media server offline or not communicating– Disk storage units full– All drives in storage unit in DOWN state

Status code 213Storage unit not available– Storage unit is on-demand only– Check the Maximum Concurrent Drive attribute

4-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe storage units.Create and maintain disk (file system) and media manager storage units.Break up a single image into multiple fragments by using fragmentation.Describe the concept of multiplexing.Create and maintain storage unit groups.Troubleshoot common storage unit issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 5Creating Backup Policies:

Attributes, Clients, and Files

5-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

5-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe backup policies.Create backup policies.Modify policy attributes.Change file settings for a policy.Change client settings for a policy.Troubleshoot common backup policy issues.

5-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Policies

A policy is a template for the backup of a single client or a group of clients with common attributes and a common file list.Parts of a Policy Definition:• Attributes• Client list • File list• Schedules

Policies determine:• What – Backup files and data sets• Who – Backup clients• How – Backup behavior• Where – Backup storage location• When – Backup time and type

5-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating Policies—Using the Create a Backup Policy Wizard

5-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating Policies—Without Using the Create a Backup Policy Wizard

5-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Viewing and ChangingPolicy Details

Select any of the listed policies to display

details of the policyin the right pane.

Double-click any of these items to access the

Change Policy dialogs

5-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing Policy Attributes

5-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Backup Network Drives

NetBackupClient

C:\ H:\ F:\Data F:\Data

5-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Cross Mount Points/Locally Attached Drives

NetBackupClient

C:\ D:\ E:\

5-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

True Image Restore

Backups Restores

Sun Full

Mon Incr

Tues Incr No TIR TIR

Original 100 -- -- 100 100

New -- 20 60 80 80

Deleted -- 50 20 -- -70

180 110

5-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

True Image Restore:Move Detection

TIR without Move Detection• Modification time (mtime) is used to determine

which files to back up. • Moved or renamed files or directories whose

mtime has not been changed are not backed up in an incremental backup.

TIR with Move DetectionPathname and inode of files as well as modification time are used to determine which files to back up.

5-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Multiple Data Streams

Segments back up in multiple streams from a single client.This feature can provide various benefits depending on overall configuration, such as:• Independent data streams

If one data stream fails, the other data streams are not affected.

• Increased backup speedA reduction in backup speed is also possible, if not applied properly.

5-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Licensed Agents

• NetBackup Encryption

• NetBackup Off Host Data Mover

• NetBackup NDMP• NetBackup SNMP

Database Agents• Microsoft Exchange

Server• DB2• Lotus Notes• Oracle

• NetBackup Core Frozen Image

• NetBackup Extended Frozen Image

• NetBackup Vault• Shared Storage Option

• Microsoft SQLServer

• SAP R/3• Sybase

Microsoft Windows Options

5-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing File Settings for a Policy

5-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

File List Rules: Windows Clients

Windows file path convention examples:C:\Back up all contents of drive C (including the registry).F:\users\special\Back up the directory users\special on drive F.F:\users\special\list.txtBack up the file list.txt in the directory \users\special on drive F.F:\users\special\*.docBack up all files with the .doc extension in the directory users\special on drive F.:\ or *:\Back up all local drives except local drives holding removable media and network drives .

5-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

File List Rules for UNIX Clients

Dependent upon client platform“/” with “Cross Mount Points” selected backs up all local file systemsFile list rules:• Enter one pathname per line. NetBackup supports a

maximum path length of 1023 characters on UNIX clients.• Start all pathnames with a slash (/).• You can use the following meta or wildcard characters in

policy file lists: *, ?, and [ ].• The following are sample UNIX file specifications that use

this capability:– /logs/daily_log[1234567]

Back up daily_log1, daily_log2, daily_log3…under the /logs directory.

– /etc/*.confBack up any file that ends with .conf in the /etcdirectory.

– /summary/week?.sumBack up week1.sum, week2.sum, week3.sum…in the /summary directory.

5-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

File List Directives

Directive used without Multiple Data StreamsALL_LOCAL_DRIVES

Backs up entire client in a single stream

Directives used with Multiple Data Streams• Auto-Discover Streaming Mode

ALL_LOCAL_DRIVES

One stream per file system (UNIX) or partition (Microsoft Windows)

• Administrator-Defined Streaming Mode– NEW_STREAM

Separate stream at each point where the NEW_STREAMdirective occurs

– Wildcard ExpansionOne stream per wildcard expansion

5-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Exclude/Include Lists

Exclude List• Pattern of files to skip during automatic backups• Client properties—>Exclude tab

(Windows clients)• /usr/openv/netbackup/exclude_list

(UNIX clients)• Can specify the policy or schedule

Include List• Pattern of files to include that have been excluded

with an exclude list• Client properties —> Include tab

(Windows clients)• /usr/openv/netbackup/include_list

(UNIX clients)• Can specify the policy or schedule

5-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating Exclude/Include Lists

5-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing Client Settingsfor a Policy

5-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installing NetBackup Softwareto Clients

5-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installing NetBackup Client Software

5-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common Backup Policy IssuesIncorrect policy type Incorrect client definitionClient software not installedClient connection/accessStatus code 71

None of the files in the file list exist.

5-25© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe backup policies.Create backup policies.Modify policy attributes.Change file settings for a policy.Change client settings for a policy.Troubleshoot common backup policy issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 6Creating Backup Policies: Schedules

6-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

6-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Set schedule details for a policy.Establish a frequency-based schedule.Establish a calendar-based schedule.Describe backup duration.Specify retention periods for backup images.Troubleshoot common scheduling issues.

6-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedules

Schedules provide the definition of type and timing of backup jobs:

Backup types• Automatic:

– Full– Cumulative incremental– Differential incremental

• Client Requested (Run at user request):– User backup– User archive

Schedule method• Frequency-based• Calendar-based

Backup windowDefined by start time and duration

6-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Types of Backups

Full

Cumulative Incremental

Differential Incremental

6-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating a New Schedule

6-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Attributes Tab

6-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Start Window Tab

6-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Exclude Dates Tab

6-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Attributes Tab (Calendar Schedule)

6-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Start Window Tab (Calendar Schedule)

6-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Exclude Dates Tab (Calendar Schedule)

6-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Calendar Schedule

6-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Schedule Dialog – Recurring Days (Last Day of the Month)

6-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Backup Duration

6-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Impact of Backup Durationon Schedule

Window during whichbackups may

start

Client 1

Client 2

Client 3

Client 4

Client 5This job does not

run.

6-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Retention Periods

Retention periods define image lifetime:• Metadata stored in Images Catalog• Image entries deleted at retention end

Twenty-five periods (0—>24):• Used as indices• Corresponding times set

6-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specifying Retention Periods

6-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Retention Period Properties

6-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Image Aging and Retention Periods

Media catalogImage | Tape VSN

policy_0929823745_FULL DLT001policy_0932185691_FULL DLT001

policy_0933152890_FULL DLT002 ...

Images catalogFile/Path | Ret. Date | Image

D:\data Dec. 12, 2000 policy_0929823745_FULLD:\data\file1 Dec. 12, 2000 policy_0929823745_FULLD:\data\file2 Dec. 12, 2000 policy_0929823745_FULL

D:\data Dec. 15, 2000 policy_0932185691_FULLD:\data\file1 Dec. 15, 2000 policy_0932185691_FULLD:\data\file2 Dec. 15, 2000 policy_0932185691_FULL

Just After Midnight, December 12, 2000:

Just After Midnight, December 15, 2000:

6-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common backup policy schedule issues:Misdefined scheduleMost common status codes:• Status code 196

The client backup was not attempted because backup window closed.

• Status code 198No active policies contain schedules of the requested type for this client.

6-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Set schedule details for a policy.Establish a frequency-based schedule.Establish a calendar-based schedule.Describe backup duration.Specify retention periods for backup images.Troubleshoot common scheduling issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 7Monitoring NetBackup Activity

7-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

7-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to: Describe the NetBackup bpsched process.

Monitor NetBackup activity using the Activity Monitor.Access NetBackup reports.Enable NetBackup and Media Manager logging.

7-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

The bpsched Process

1. Every wakeup interval bprd starts a bpsched process:bpsched process scans the NetBackup policy configuration looking for work to do.

2. For each policy, bpsched checks for a schedule with an open backup window.

3. For each client:a. Calendar-based backups are queued automatically.b. For frequency-based backups, the period since the

last appropriate backup is compared with the schedule frequency. If the period is greater than the frequency, a backup job is queued.

4. If the job fails, retry the job as set in the Host Properties (Global Attributes) of the master server.

If the job still fails, it is reported as a failure.

7-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Global NetBackup Attributes

7-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Performing AutomaticScheduled Backups

In processing a policy with a schedule and an open window, a job is created for each client in the policy client list for which a backup is due to be performed.• If multiple data streams are enabled for the

policy, then NetBackup creates multiple jobs for a single client.

• Create a separate job for each data stream defined by the policy file list.

Clients are processed in the order in which they are displayed in the policy client list.

7-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Performing Manual Backups

As the NetBackup administrator, you have the capability of initiating a manual backup.

Manual backups are sometimes called immediate backups.

The following are common reasons for running manual backups: Exception conditions; you want to:• Test a configuration.• Make up for a missed or failed backup.• Preserve an old configuration prior to

upgrading.

7-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Initiating a Manual Backup

7-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Activity Monitor Interface

The NetBackup Activity Monitor lets you:Monitor the progress of backups, archives, restores, duplicates, vaults, imports, and catalog backups.Monitor, stop, and start NetBackup andMedia Manager daemons and processes.Cancel uncompleted jobs.Save and print job information.Troubleshoot failed jobs.Monitor the status of drives.Change the operating mode of drives.

7-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Activity Monitor – Jobs List

7-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Adjusting Column Layout Settings

7-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Set Column Layout

7-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Accessing Job Details

7-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Job Details: Job Overview Tab

7-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Job Details: Detailed Status Tab

7-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Canceling Jobsin the Activity Monitor

7-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Starting and Stopping Services

7-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Viewing Processes

7-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Monitoring Devices

7-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing the Operating Modeof a Drive

7-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Accessing Reports

7-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Status of Backups Report

7-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Client Backups Report

7-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Problems Report

7-25© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

All Log Entries Report

7-26© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Lists Report

7-27© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Contents Report

7-28© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Images on Media Report

7-29© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Logs Report

7-30© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Summary Report

7-31© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Written Report

7-32© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Creating NetBackup andMedia Manager Logs

Logging is enabled by creating subdirectories in the following two directories on the appropriate NetBackup server:• NetBackup logs

install_path\NetBackup\logs• Media Manager logs

install_path\Volmgr\debug

For constant running processes:• Create the directory.• Stop and restart NetBackup to begin logging.

For nonconstant running processes:• Create the directory.• Processes will begin logging upon activation.

7-33© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Master Server Properties: Logging

7-34© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to: Describe the NetBackup bpsched process.

Monitor NetBackup activity using the Activity Monitor.Access NetBackup reports.Enable NetBackup and Media Manager logging.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 8User-Directed Backups and Archives

8-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

8-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Identify the types of user-based operations available to clients.Describe the user interfaces available for user-directed operations.Outline file permissions and scheduling requirements for user-directed backups.Use the Backup, Archive, and Restore interface to perform backups and monitor progress.Troubleshoot common user-operations issues.

8-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

User-Directed Operations

End users can (if enabled) perform user-directed backups or archives:• There must be a user backup schedule in the

policy which defines the window during which a user can initiate a user backup.

• The client must be on the client list in the policy.• Users select files and directories to back up.• NetBackup ignores the file list in the policy.

An archive operation deletes the files on the client following a successful backup of those files.End users can obtain status information using progress logs and e-mail notifications.

8-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Interfaces to PerformUser-Directed Operations

Windows Interface (nbwin.exe)Windows client

Command Line Interface• Windows client• UNIX clientJava Interface (jbpSA)

UNIX clientX-Windows Interface (xbp)

UNIX clientMenu Interface (bpadm)

UNIX client

8-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

File Permissions Requiredby NetBackup

Back up a file/directory:Read permission

Archive a file/directory:• Read permission• Write permission

List/restore a file/directory:• Read permission to the file/directory• Write permission to the file and directory above

8-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

User Backup Schedule

8-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

User Backup Interface

8-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specify Backup Options Dialog

8-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Monitoring Backup Task Progress

8-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting

Common user-directed backup and archive issues:Scheduling interpretationAccess privileges:• User-backup tool• Files being backed up

No policy and schedule found that permits requested operation

8-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Identify the types of user-based operations available to clients.Describe the user interfaces available for user-directed operations.Outline file permissions and scheduling requirements for user-directed backups.Use the Backup, Archive, and Restore interface to perform backups and monitor progress.Troubleshoot common user-operations issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 9Restoring Data

9-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

9-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe the restore process.Restore from multiple images.Use the NetBackup Backup, Archive, and Restore interface to restore data.Restore to an alternative client.Troubleshoot common restore issues.

9-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Restore Operations

Restores are not scheduled.File transfers occur in the background.The administrator can restore data from any client in the NetBackup domain to any other client in the NetBackup domain (“push”).

This is known as a server-directed restore.Restores can be performed on the client side (“pull”), by client request.• If a client performs a user-directed backup,

the client has, by default, the ability to initiatea restore.

• This is known as a user-directed restore.True-image restores recreate contents of a directory to what it was at the time of any scheduled full through incremental series of backups.

9-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Restoring from Multiple Images

Restores from full and incremental backups:• The default search range is the most recent

backups since the last full backup.• Specify a search range to restore an older

version of a folder or file.

Restore from a backup series:• Cumulative incremental backups require a full

backup and the last cumulative in the series.• Differential incremental backups require a full

backup and all differentials in the series.

Restore a specific version of a file or directory: • Specify the desired date range for the search.• Select only backups that include the version of

the directory or file you want to restore.

9-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Invoking the Backup, Archive,and Restore Interface

To launch the Backup, Archive, and Restore interface (the NetBackup Client application):• Press CTRL+B.• Select the Backup, Archive, and Restore button in the

toolbar.

9-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

The Restore Interface

9-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing the Default Viewof Backup History As a Timeline

9-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup History

9-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specify NetBackup Machines

9-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specify NetBackup Machines: Servers

9-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specify NetBackup Machines: Source Client

9-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Specify NetBackup Machines: Destination Client

9-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Select Restore Type

9-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Select Files for Restore

9-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Start Restore of Marked Files

9-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Select Destination Choicesand Restore Options

9-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

View Status of Restore

9-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Defining Client Attributes

9-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Enabling Alternate-Client Restores

All clients are allowed to perform alternate-client restores:

install_path\NetBackup\db\altnames\No.Restrictions

A single client is allowed to restore backups belonging to specific other clients:

install_path\NetBackup\db\altnames\clientname

9-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

TroubleshootingCommon Restore Issues

Incorrect restore criteria:• Date range• Type of restore• File search criteria

Interpretation of restore directivesInsufficient disk space for restoreImproper file permissionsAccess control lists

9-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe the restore process.Restore from multiple images.Use the NetBackup Backup, Archive, and Restore interface to restore data.Restore to an alternative client.Troubleshoot common restore issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 10Managing Media and Images

10-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

10-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe the contents of the NetBackup media catalog.Expire backup images.Import backup images.Duplicate backup images.Describe NetBackup Vault.Verify backup images.Troubleshoot common media management issues.

10-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Media Catalog

One media catalog per media serverTracks assigned volumes• Volumes are assigned and added to the media

catalog when NetBackup mounts a tape and attempts to write an image to that tape.

• Volumes are deassigned and deleted from the media catalog when all images on the volume expire.

• Look for entry in the Time Assigned field.• The media catalog also tracks media states

(FROZEN, AVAILABLE…)

10-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media States Set by NetBackup

Media State Reason Method to Change

FULL Capacity GUI or bpexpdate

SUSPENDED Errors bpmedia

FROZEN Format bpmedia/bplabelALLOW_MEDIA_OVERWRITE

IMPORTED From another cluster/refresh

ACTIVE Current images GUI or bpexpdate

AVAILABLE Tape is currently unassigned

MPX Tape contains multiplexed backups

DBBACKUP Tape contains NetBackup catalog backup

10-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Allow Media Overwrite

10-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Building a List of Backup Imagesto Expire

10-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Expiring Backup Images

10-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Selection Flow

NetBackup searches the media catalog for a volume that:• Is located in the specified storage unit within a

storage unit group (if applicable)• Matches the requested volume pool • Matches retention level of the schedule• Is not FULL, FROZEN, IMPORTED, SUSPENDED,

or DBBACKUP• Is not currently in use

A mounted volume that meets these requirements is preferred.An unmounted volume will be selected if a mounted volume is unavailable.

Volume with the least number of mounts is picked if more than one is available.

10-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Expirationvs. Image Expiration

Volume expiration• Media Manager function• Relates to “freshness” of a volume• Not set by default

Image expiration• NetBackup function• Relates to need for the data on the volume• Set in the schedule within a backup policy

Image retention periods in general are less than volume expiration (except for an infinite retention period), and therefore a volume is automatically recycled many times during its lifetime.

10-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Volume Expiration Date

10-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Importing Backup Images

Importing images restores image entries by reading backup headers from tape:• Reinstate expired images.• Import images from another NetBackup domain.

Media IDs are added to the volume catalog(Media Manager catalog) on the master server.Media IDs are added to the NetBackup media catalog on the media server and images are added to the NetBackup image catalog.NetBackup Administration interface Images menu or command line.Two part process:• Part one—Initiating the import• Part two—Importing the image

10-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Initiating the Import

10-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

View Results of Initiate Import

10-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Importing the Images

10-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Image Import Results

10-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Duplicating Images

Duplicates selected images or entire tapeSpecify search criteria to select images:• Media ID• Media Host• Path Name• Date/Time Range• Copies• Policy Name• Client• Type of Backup

Up to ten copies are supported: a primary and up to nine duplicates.

Limited by master server’s Global Attribute Maximum backup copies (Default = 2)

Duplicate can be demultiplexed if desired.

10-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Maximum Backup Copies

10-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Duplicating the Image

10-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Duplication Variables

10-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

View the Results of the Import

10-22© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Promoting a Copyto a Primary Copy

10-23© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Vault

Enables you to schedule vault jobs using the standard NetBackup scheduling interface.Key features include:• Inline Tape Copy

Greatly expands NetBackup Vault flexibility• Ability to monitor, cancel, and restart vault jobs

in the activity monitor• Support for automatic email notification upon

Vault completion• Ability to generate catalog backup to send

offsite

10-24© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Vault

With the NetBackup Vault Inline Tape Copyfunction, you can:

Reduce overall backup and duplication time by making copies at the time of the backup.Create simultaneous copies with different retention periods for expiration of onsite and offsite copies.Configure fault resiliency.Create up to four simultaneous backups, up to ten copies total.Direct copies to different storage units or storage unit groups attached to the same media server.

10-25© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Verifying Backup Images

Compares actual media contents with metadata recorded in the images catalogReads each block in the media image (verifies volume is readable)Can specify search criteria to choose images to verify:• Date Range• Policy Name• Client• Type of Backup• Copies

Does not access files on client

10-26© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Verifying Images

10-27© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Verify Results

10-28© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting CommonMedia Management Issues

Frozen or suspended mediaNo available media

10-29© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe the contents of the NetBackup media catalog.Expire backup images.Import backup images.Duplicate backup images.Describe NetBackup Vault.Verify backup images.Troubleshoot common media management issues.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Lesson 11Managing NetBackup Catalogs

11-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Course Overview

Configuring Media

IntroductionInstalling NetBackup

Configuring Storage Devices

Managing Storage Units

Creating Backup Policies: Attributes, Clients, and Files

Monitoring NetBackup Activity

Managing NetBackup CatalogsNetBackupNetBackup

Media ManagerMedia Manager

Managing Media and Images

User-Directed Backups and Archives

Restoring Data

Creating Backup Policies: Schedules

11-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Describe the NetBackup catalogs.Outline considerations to be made for the backup of the NetBackup catalogs.Back up the NetBackup catalogs.Restore the NetBackup catalogs.Control the size of the NetBackup catalogs.Troubleshoot common issues with the NetBackup catalogs.

11-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NetBackup Catalogs

Catalogs are internal databases containing information about the NetBackup configuration and any backups that have been performed.

Master Server Catalogs:• NetBackup Catalogs

– Images – Jobs– Class – Error– Config – Vault

• Media Manager Catalogs– Volume – Global Device

Media Server Catalogs:• NetBackup Catalogs

Media• Media Manager Catalogs

Device

11-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Where Are the Catalog Files?

Master Server Catalogs• install_path\NetBackup\db

• install_path\Volmgr\database

• install_path\NetBackup\var

Media Server Catalogs• install_path\NetBackup\db

• install_path\Volmgr\database

• install_path\NetBackup\var

11-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Important Points to Remember

NetBackup catalog considerations:• Maintain a hard copy of the media IDs and their

physical location.• A current copy of the NetBackup catalog backup

tape must accompany tapes moving offsite.• There is an alternative backup method to secure

very large catalogs.Refer to the NetBackup System Administrator’s Guide.

NetBackup catalog backups:• Should be backed up regularly• Should be run only when there is no other activity• Take precedence over all other backups, if automatic• Should not be manually compressed• Should include media servers• Overwrite existing data when written to tape• Can be monitored in the Activity Monitor

11-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Catalog Relationships

Image ID Volume ID…9050… A00001…9110… A00014

File date time image media serverC:\data1 12-1-00 0914 …9050… media1C:\data2 12-3-00 1703 …9110… media1

Images Catalog

Media Catalog

Volume Catalog

MasterServer

MasterServer

MediaServer

Volume ID Robot SlotA00001 0 23A00014 1 25

11-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring NetBackup Catalog Backups for Automatic Backup

Using the Catalog Backup Wizard

11-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Configuring NetBackup Catalog Backups for Automatic Backup

Without using the Catalog Backup Wizard

11-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Catalog Backup Attributes

11-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Catalog Backup Schedule

11-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Catalog Backup Files

11-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Backing UpNetBackup Catalogs Manually

11-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Restoring NetBackup Catalogs

install_path\NetBackup\bin\admincmd\bprecover.exe

Listing images:• If device catalog is intact:

bprecover –l –m mediaID -d density• If device catalog is gone or corrupted:

bprecover –l –tpath tape_path• For disk backups:

bprecover –l –dpath disk_path

Recovering images:• If device catalog is intact:

bprecover –r –m mediaID -d density• If device catalog is gone or corrupted:

bprecover –r -tpath tape_path• For disk backups:

bprecover -r -dpath disk_path

11-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Using bprecover to List Images

Run bprecover from the NetBackup server.Example: List images

11-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Using bprecover to Recover Images

Run bprecover from the NetBackup server.Example: Recover images

11-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Recovery Methods

Master Server

Media Server Client

Reload Minimal OS. √ √ √

Reinstall NetBackup software. √ √ √

bprecover NBU catalogs. √ √

Restart NBU/MM processes. √ √

Restore other data. √ √ √

Refer to the VERITAS NetBackup Troubleshooting Guide for more information about restoring NetBackup catalogs.

11-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Controlling Image Catalog Size Using Compression

11-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

File System Considerations

It is strongly recommended that you install NetBackup on a partition that can be dynamically enlarged using a product such as VERITAS Volume Manager.If NetBackup is installed on a static partition, the images catalog might outgrow your partition.

You can move the images catalog to another file system as follows:1. Check that no backups are occurring.2. Terminate the NetBackup services.3. Create the images directory in the new partition.4. Move the client images to the new location.5. Create an ALTPATH from

install_path\NetBackup\db\images\client_name to the new location.

6. Add the alternative location to the NetBackup catalog backup configuration.

11-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Troubleshooting Common NetBackup Catalog Issues

Misconfigured:• Media• File list• Frequency

Media unavailable:• Not mounted in nonrobotic device• Not in robotic device

Catalog sizing:• Disk space• Media

Window available for catalog backups

11-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Describe the NetBackup catalogs.Outline considerations to be made for the backup of the NetBackup catalogs.Back up the NetBackup catalogs.Restore the NetBackup catalogs.Control the size of the NetBackup catalogs.Troubleshoot common issues with the NetBackup catalogs.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Self Study: NetBackup Advanced Reporter

12-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Introduction

NetBackup Advanced Reporter (NBAR)Delivers graphical reports on NetBackup Activity that help simplify the tasks of:• Monitoring• Verifying• Troubleshooting

Provides information in the form of:• Charts• Graphs• Reports

12-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Objectives

After completing this lesson, you will be able to:Identify NetBackup Advanced Reporter components.Install NetBackup Advanced Reporter.Administer NetBackup Advanced Reporter functions using the Java interface.Generate NBAR reports.Describe the various NBAR reports.

12-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NBAR Components

NBAR consists of the following components:A client delivery system that distributes the Java applet GUI to individual browsersThe Java applet GUI that is started from a browserA database server for the NBAR database

Default TCP port is 3306.An httpd server (UNIX only)

Default TCP port is 8885.

A data collection serviceA configuration utility

12-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Key Features

High-level summaries• Drill down on trouble spots• Quick status assessment

Detailed operational views• 24-hour site summary• Consolidated error log

Historical analysisEvent/time correlation

Performance indicatorsBackup throughput, window utilization

TroubleshootingOnline troubleshooting guide

12-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NBAR Architecture

NBU Master Server User-Interface

Client Delivery

(http)

Web Browser

Report Data(MySQL DB)

Data Loader (Perl)

NBU Utilities

JDBC

Java Applet byte codes

12-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

NBAR Installation Requirements

Server platformNetBackup 4.5 DataCenter operating on:• Solaris 2.6, 2.7, or 8• HP-UX 11.00 or 11i• Microsoft Windows NT 4.0, Service Pack 6 or greater• Microsoft Windows 2000, Service Pack 2 or greater

Client (Browser):• Netscape Communicator 4.7x or greater (UNIX

and Windows)• Microsoft Internet Explorer 5.5 or greater (Windows

only)Calculating disk space requirements:• Estimate 700 bytes per client per day• Total = #clients * days of historical data * 700 bytes +

(100 MB for Windows or 60 MB for UNIX)

12-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installation Procedure: UNIX

1. Log on to the master server as root.

2. Ensure a valid license key for NBAR has been registered:

install_path/netbackup/bin/admincmd/get_license_key

3. Insert the CD-ROM into the CD-ROM drive.4. Change your working directory to the CD-ROM

directory:cd cd_rom_directory

5. Execute the install script:./install

6. Follow the prompts.

12-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Installation Procedure:Microsoft Windows

1. Log on the master server with administrative rights.

2. Insert the CD-ROM into the CD-ROM drive.3. Select Additional Products—>Additional

Products Installations—>Advanced Reporter.

4. Click Next and follow the prompts to complete installation.

12-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Starting NBAR for the First Time

Installs as an extension to your browserRuns as a Java plug-in Displays message to install a plug-in onto your workstation’s browserExplorer: NBAR starts automaticallyNavigator: Restart browser before using NBARAutomatically updates when new version of plug-in is detected

12-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Generating NBAR Reports

NBAR can generate over 40 different reports.Reports are categorized as follows:• Management Reports• Administrative Reports• Media Reports• Performance Reports• End User Reports• GDM Summary Reports (GDM only)

12-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Using the NBAR Interface

Java GUI is composed of two panes:• Report Browser (left pane)• Report Display (right pane)

GUI features:• Toolbar• Menu Bar• Tool Tips• Report History• Status

12-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Generating Reports

Reports Menu• Access any and all of the reports that can be

accessed from the report browser.• Select Reports and choose the report you want.

Report Browser• Access reports on the left pane of the NBAR GUI.• Hide to provide a larger Report Display area

Some reports are available only throughreport links.

12-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Changing Report Settings

Change the Report’s Reference DateSelect Edit—>Reference Date to specify a new date as the last day of the time frame for any report generated.NBAR starts with the reference date andgoes back the default number of daysin the report’s time frame properties.Changing the Report’s Time FrameClick the Change Report’s Time Frame button:• Select a new time frame to be used to run

any of the reports.• Be careful when selecting long date ranges.

The more dates you select, the longer it takesto access and load the data for the report.

12-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Printing and Exporting Reports

Printing Reports• Click the Print the Report button on the Toolbar. • Select File—>Print.

Exporting Reports• From a command line, type nbardbex• Required parameters are -S, and either -s and -e,

or –hoursago) – -S Name of the master server on which

the NBAR database resides– -s The date and time you want to start

collecting records– -e The date and time you want to finish

collecting records– -hoursago Number of elapsed hours counting

backward from the current time from which to collect records

• Example:nbardbex -S servername -s 01/01/2000-e 01/02/2000

12-16© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Management Reports

Full Backups and Incremental Backups Reports• Job Summary• Data Volumes• File Volumes• Job Durations

Restore Jobs Reports• Job Summary• Data Volumes

Catalog Usage Reports• Disk Space• Number of Catalog Files

Error Logs Reports• Error Log Summary• Error Log Summary by Client

12-17© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Administrative Reports

Site Summary ReportSite Details Job ListBackup Details by Policy ReportConsolidated Error Log ReportMedia Errors ReportRestore Details by Client ReportHosts under NetBackup Management ReportClients at Risk Report

12-18© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Media Reports

Available Media ListAssigned Media ListExpired Media ListOffsite Vaulting ListFull Tapes Utilization ReportCurrent Vaulting Status Report

12-19© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Performance Reports

Active Policy Definitions ReportBackup Job Schedule Forecast ReportWindow Utilization ReportWindow Usage by Backup Policy ReportMaster Server System Performance ReportDrive Statistics Report

12-20© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

End User and Miscellaneous Reports

End User• Client Job History Report

Miscellaneous• Summary of Status Code number Report• Summary of Status Codes for client Report• Summary of Status Code number for client

Report• Job Details for NetBackup Policy policy name

Report

12-21© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Summary

You should now be able to:Identify NetBackup Advanced Reporter components.Install NetBackup Advanced Reporter.Administer NetBackup Advanced Reporter functions using the Java interface.Generate NBAR reports.Describe the various NBAR reports.

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Appendix CConverting Backup Exec Catalogs

C-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Converting Backup Exec Catalogs

Steps for using NetBackup to restore files backed up by Backup Exec:1. Install NetBackup with the Backup Exec Tape Reader

option.2. Configure devices and volumes in NetBackup.3. Convert Backup Exec catalogs.4. Browse for a Backup Exec file to restore.5. Restore files backed up by Backup Exec.

Methods for converting Backup Exec Catalogs using beconv:• Convert all Backup Exec media.• Convert Backup Exec media in a specific robot.• Convert Backup Exec media by slot on a robot without bar

code support.• Convert a single piece or a group of Backup Exec media.• Check database consistency for duplicate media IDs or

globally unique identifiers (GUIDs).

C-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Conversion Utility (beconv)

Conversion utility Descriptionbeconv -all Convert all the media present on the

Backup Exec server or the Backup Exec configuration has only stand-alone drives.

beconv –rn Convert media that belongs exclusively to a particular robot.

beconv –tbs Convert media by slot on a robot without bar code support.

beconv –m Convert a single piece of media or a group of media belonging to the same family to NetBackup media.

beconv –check_consistency

Check the consistency of the volume databases with respect to media records having duplicated media IDs or GUIDs.

C-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

After the Backup Exec Catalogsare Converted

Once the Backup Exec catalogs have been converted:

Backup Exec file list requests can be generated.Backup Exec restore requests can be generated.Backup Exec images can be imported by using NetBackup (if the Backup Exec Tape Reader option was installed).

Copyright © 2001 VERITAS Software Corporation. All Rights Reserved. VERITAS, VERITAS SOFTWARE, the VERITAS logo and VERITAS The Intelligent Storage Software Company are trademarks or registered trademarks of VERITAS Software Corporation in the USA and/or other countries. Other product names mentioned herein may be trademarks or registered trademarks of their respective companies. Printed in USA. 2001.

NetBackup 4.5 for Microsoft Windows

Appendix DBackup Concepts

D-2© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Selecting a Media Rotation Method

Media rotation is part of the backup strategy to:• Minimize tape wear• Maximize copies of data

Three Examples of Media Rotation Methods • Son: Easiest to manage • Father/Son: Mixture of full and partial backups• Grandfather: Most common strategy

D-3© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Son Media Rotation Method

D-4© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Father/Son Media Rotation Method

D-5© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Grandfather Media Rotation Method

D-6© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Determining Backup Horizons

The backup horizon: • Determined by how long data needs to be kept• Varies depending on company, department, and

government requirements

Different types of data have different horizons:• No horizon• Hours• Days • Weeks• Months• Years• Forever

D-7© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Types of Backups

Full

Cumulative

Differential

D-8© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Determining Backup Methods

Full: All data on a volume.Differential: All selected files since the last full backupIncremental: Files that have changed since the last full or incremental backupDaily: Files that were changed or created todayCopy: All selected data, does not affect any media rotation schemeWorking set: Data that has been created and modified since the last full or incremental backup all files accessed within the last x days can be includedArchive: Files deleted from the volume after being successfully backed up

D-9© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Job Types and Backup Methods

DataSet

File System Interaction

IncrementalDifferentialDelta

FullCopyFull

InteractiveObservational

D-10© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

How Do Backup Methods Work?

A B C DFiles

Mon

Tues

Wed

Thur

File has changed

File has not changed

KEY

D-11© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Incremental Backup

MON

TUES

WED

THUR

FRI

A B C D

BACKUP

D(Mon)B(Mon)

C(Tues)

A B C D

D(Tues)

D(Wed)

A(Fri) B(Mon) C(Thur) D(Thu)

RESTORE

A(Fri) B(Fri) C(Fri) D(Fri)

D(Thur)C(Thur)

Resulting versions when restore is complete

(5 sets restored)

Full backup tape:

Mon incremental tape:

Tues incremental tape:

Wed incremental tape:

Thurs incremental tape:

D-12© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Differential Backup

MON

TUES

WED

THUR

FRI

A B C D

BACKUP

D(Mon)B(Mon)

C(Tues)

A B C D

B(Mon) D(Tues)

B(Mon) C(Tues) D(Wed)

A(Fri) B(Mon) C(Thur) D(Thu)

RESTORE

A(Fri) B(Fri) C(Fri) D(Fri)

D(Thur)C(Thur)B(Mon)

Resulting versions when restore is complete

(2 sets restored)

Full backup tape:

Mon differential tape:

Tues differential tape:

Wed differential tape:

Thurs differential tape:

D-13© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Another Look at a Backup Method

MON TUESChange

WEDChange

THUChange

FRIChange

Time

Restore Order

Full Backup Differential Differential Differential Differential

Full Backup Incremental Incremental Incremental Incremental

Restore Order

D-14© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Incremental Versus Differential

Incremental backups take less time and fewer tapes than differential backups.File versioning is somewhat easier with incremental backups.Differential backups allow for faster full-system recovery.Incremental and differential backup types should not be run on the same files. Select one method or the other.

D-15© Copyright 2002 VERITAS NBU_4.5_NT_R1.0_20020617

Defining Backup Windows

The backup window answers the question: • When is data available for backup?• Can occur at various times • Can be various lengths

The length of a backup window depends on: • Applications• Business function• Data availability • Tape drive availability

Considerations for defining the backup window: • Running backups degrades system

performance.• Some services may need to be shutdown.