00.01 eBook NBU 8.2 Admin Lessons
00.01 eBook NBU 8.2 Admin Lessons
2:
Administration
(Lessons)
THIS PUBLICATION IS PROVIDED “AS IS” AND ALL EXPRESS OR IMPLIED CONDITIONS,
REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE
EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID. VERITAS TECHNOLOGIES LLC
SHALL NOT BE LIABLE FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES IN CONNECTION WITH THE
FURNISHING, PERFORMANCE, OR USE OF THIS PUBLICATION. THE INFORMATION CONTAINED HEREIN
IS SUBJECT TO CHANGE WITHOUT NOTICE.
No part of the contents of this book may be reproduced or transmitted in any form or by any means
without the written permission of the publisher.
For specific country offices Veritas World Headquarters © 2019 Veritas Technologies LLC. All
rights reserved. Veritas and the Veritas
and contact numbers, please 500 East Middlefield Road
Logo are trademarks or registered
visit our website at Mountain View, CA 94043 USA
trademarks of Veritas Technologies LLC
www.veritas.com. +1 (650) 933 1000 or its affiliates in the U.S. and other
www.veritas.com countries. Other names may be
trademarks of their respective owners.
Table of Contents v
© 2019 Veritas Technologies LLC. All Rights Reserved Not for Distribution.
Veritas NetBackup 8.2: Administration
Course Introduction
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies
LLC or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Course Introduction in the Veritas NetBackup 8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
This course is designed to help technical professionals responsible for the design,
configuration, operation, monitoring, or support of Veritas NetBackup 8.2.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this course, you will be able to perform the tasks listed on this slide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The lessons covered in the NetBackup 8.2 Administration course are displayed on the
slide. The course is structured by going through a number of general steps:
• Lessons 1-5 set the framework for understanding NetBackup, covering basic concepts
such as storage units, backup policies, and how to perform backups and restores of
file systems.
• Lessons 6-8 show how to configure and manage various storage types, including
AdvancedDisk, NetBackup deduplication, and tape libraries.
• Lessons 9-11 cover the protection and recovery of virtual machines, highlighting
VMware and Hyper-V backup and recovery in detail.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Lesson 12 covers duplicating backups and storage lifecycle policies (SLP) specifically.
• Lesson 13 discusses the management of backup images and protection of the
NetBackup catalog.
• Lesson 14 covers many features to optimize backups to file systems through change
tracking, and other NetBackup features.
• Lesson 15 shows how to collect logs and other diagnostic information, setting the
ground work for troubleshooting, and contacting Veritas Support.
This topic describes Veritas Education offerings and other Veritas resources
available to help you design, configure, operate, monitor, or support Veritas
NetBackup 8.2.
This topic describes Veritas Education offerings and other Veritas resources available to
help you design, configure, operate, monitor, or support Veritas NetBackup 8.2.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Veritas Open eXchange allows customers and users of Veritas products to network
get help and learn more about industry-leading solutions. Veritas Open eXchange is a
customer-focused resource, intended to help you design and implement a utility
computing strategy to provide availability, performance, and automation for your
storage, servers, and applications. Veritas Open eXchange provides the following
resources:
• Technical documents, such as articles, white papers, and product specs.
• Interactive services, such as the discussion forum, where members can discuss
current topics, share tips and tricks, and help one another troubleshoot problems.
Best of all, it is free. Sign up to become a member at https://vox.veritas.com/.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Veritas Services and Operations Readiness Tools (SORT) is a set of Web-based tools that
optimizes the end to end experience for Veritas products, such as Storage Foundation
and NetBackup. SORT for NetBackup provides information on whether your
environment is compatible with a NetBackup installation or upgrade, and gives you links
to the latest documentation and software. SORT for NetBackup is available at:
http://sort.veritas.com/netbackup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
MyVeritas is your single destination that allows you to access all of your Veritas
enterprise services and information. Visit https://www.veritas.com/support/en_US.html
to view this page.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Visit the Veritas Education Services page to learn more about Veritas product training
and certification at: https://www.veritas.com/services/education-services.html. This
slide displays links related to curriculum paths, Veritas certification, and other training
related information.
• Curriculum Paths: Backup & Recovery, Information Governance, Storage &
Availability.
• Get Certified in NetBackup and other Veritas products.
• View FAQs about Education Services.
• Manage your training transcript and print certificates of completion by signing in to
the Veritas Learning Portal.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
0-11
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2018 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Introducing NetBackup lesson in the Veritas NetBackup 8.2: Administration
course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to discuss considerations for
data protection, and identify the components of a NetBackup environment
and their functions.
Accidental deletion General Data Rollback recovery, Hardware or system Data loss caused by
of files and emails Protection Corruption, Cloning malfunctions. malware, ransomware
or corrupt files. Regulation (GDPR) (QA/Dev), Testing, attack, employee
compliance. Malicious code, etc. sabotage, etc.
Data loss can occur at any time and for all kinds of reasons. This might include crashes,
malware, physical damage or failure, theft, or basic user error. The fact is that data loss
can be a disaster for a business - or even an individual. This slides lists the top five
reasons why you should, indeed, keep regular backups.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Simple Recovery
Minimize Downtime
Cost Reduction
The purpose of the backup is to create a copy of data that can be recovered in the event
of a primary data failure. Primary data failures can be the result of hardware or software
failure, data corruption, or a human-caused event, such as a malicious attack (virus or
malware), or accidental deletion of data. Backup copies allow data to be restored from
an earlier point in time to help the business recover from an unplanned event.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
TM
Veritas NetBackup
has been the
trusted leader in data
protection for decades.
NETBACKUP PLATFORM
Veritas NetBackup enables 360 Data Management and lets customers build on their
existing investment in NetBackup, providing not only scalable protection for hybrid
environments, but also solving challenges around copy data sprawl, information insight,
and availability of business data. Veritas NetBackup also lets you:
• Back up VMs an average of 45% faster
• Recover concurrent VMs in up to 47% less time
• Simplify and shorten protection windows for application VMs
Customers have choices. In a world full of point solutions and fragmented product sets
from large hardware vendors, Veritas NetBackup protects all data, no matter where it
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
10
The systems that have data to be backed up are called clients. Veritas NetBackup Client
software must be installed on each client. Veritas NetBackup server software that
controls the environment and accesses backup storage devices comes in a few different
flavors. A single host can provide more than one of these server roles.
• The master server controls the backup and recovery activities for the clients
assigned to it. Master servers track what files are backed up to which backup media.
Additionally, the master server centralizes services that manage and allocate the
resources required for all NetBackup operations. This includes the NetBackup
database (sometimes abbreviated as NBDB), which centralizes information about
the backup environment. The NBDB is shown on the slide as a dual-colored cylinder,
next to the master server.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Media
Clients servers
NetBackup domain
Clients
Client data
Backup data
Resource Management NetBackup domain
11
The NetBackup server software supports two hierarchies, determined by your need, but
differentiated by the license purchased.
• NetBackup Server is a specific product licensed for smaller environments, where a
single computer plays the role of both the master server and media server.
OpsCenter may also be installed on this system as well.
• NetBackup Enterprise Server serves the needs of larger enterprises, because it
enables you to spread the load among multiple media servers controlled by a
separate master server. A NetBackup Enterprise Server license is required for each of
these server hosts. Note that unless the environment is very small, Veritas
recommends that the master server role should not be mixed with other roles, such
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
as a media server, OpsCenter server, or run CPU intense applications, on the same
server. If it is performing some minimal media server tasks, definitely avoid CPU
intense activities such as hosting a Media Server Deduplication Pool (MSDP).
In either case, everything under the control of an individual master server, including the
media servers or storage hardware, is considered part of a single NetBackup domain.
Master
servers
Clients
12
The collection of clients and media servers managed by a single master is called a
NetBackup domain. NetBackup domains can be segregated based on geographic,
organizational, performance, or administrative reasons. Sometimes you want to
segregate clients into distinct collections for administrative or performance reasons.
• With NetBackup, you can put each of these separate client groups in its own
NetBackup domain. Each domain has its own master and collection of media
servers.
• A single OpsCenter server can communicate with every master server and so help
you coordinate all of your NetBackup domains.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to define common terms used
in the NetBackup product, and describe how NetBackup backs up and
restores data.
13
Schedules When do backups occur? Include all data or only changes? How long is backup data retained?
Backup
Which data is backed up?
Selections
Application-
How are database backups handled? How are virtual machine backups handled?
specific tabs
14
Backup policies provide the instructions that NetBackup follows to back up clients. A
backup policy can apply to one or more clients. The best approach is to group the clients
according to the backup requirements, and creating a policy for each group. In a policy,
you define attributes, schedules, a client list, and a backup selections list.
• Attributes answer questions, such as: What type of client to back up? Where to
store the backup? How should the files be backed up? Are there any special backup
behaviors?
• Schedules answer questions, such as: What is the backup type? When and how
frequently to perform the backup? How long is the backup data retained?
• The Clients list identifies which clients to back up.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The Backup Selections list identifies which files and directories to back up.
More recent versions of NetBackup have introduced new policy tabs to assist with
application-specific backup settings. In NetBackup 8.1.2 and later, these includes the
following:
• Oracle policies includes the Oracle and Instances and Databases tab, and removes
the Clients tab.
• MS-SQL policies includes the Microsoft SQL Server and Instances and Databases
tabs, and removes the Clients tab.
• VMware policies includes the VMware and Exclude Disks tab.
• Hyper-V policies includes the Hyper-V tab.
Tapes
Disk
Client’s
backup data
(in an image)
Local SAN NetBackup appliance
disk storage or OST-based storage
Cloud
15
The backup data from a client is stored as a backup image, and must be saved
somewhere. Removable media, such as tape, is very cost effective. Robotic libraries
automate operation, and can be shared to provide redundancy and efficient allocation
of resources. Although disk is becoming more popular, removable media still serves a
valuable purpose, such as for long term or off-site storage. Additionally, many modern
tape libraries and removable media devices have competitive performance with disk.
Images can be stored on local or networked disks for rapid access, but increasingly
complex permanent storage solutions are built around disk – such as deduplication –
which can be used alone, or in combination with removable media. You can configure
NetBackup to implement and maintain these optimized solutions. If you have an
account with a supported cloud storage service, NetBackup can store your images there
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup Master
server
NetBackup
catalog
16
NetBackup catalogs are information stores that contain information about the
NetBackup configuration and backups, including records of the files that have been
backed up and the media on which the files are stored. The NetBackup catalogs reside
on the NetBackup master server and consist of the following components:
• The NetBackup database (NBDB) is a relational database that uses SAP SQL
Anywhere. The NBDB stores data for several NetBackup services, including media
and device data, backup image headers, authentication and authorization. Bare
Metal Restore (BMR) data is also stored in a Sybase database if the BMR option is
used. Because the first service to use the relational database was the Enterprise
Media Manager in earlier releases of NetBackup, the database is sometimes
referred to as the EMM database.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The NetBackup configuration files include policies, schedules, and other files used by
NetBackup. These are sometimes referred to as flat files because they are not stored
in a relational database, and are stored in simple files on the file system of the
NetBackup master server.
A critical NetBackup component is the image database, which stores backup image
metadata. This metadata is stored in two locations: the image header data is stored in
the relational database (NBDB), and the image file list is still stored as flat files in the
NetBackup configuration files. Because the image file lists contain the path to every file
backed up, this is usually the largest component of the NetBackup catalogs.
NetBackup
logs and NetBackup
reports 4
master
1 server and
catalog
NetBackup
3
media
server
2
NetBackup Storage
Client Backup
client destination
data image
17
Using NetBackup, you create policies and schedules for backing up data periodically
(such as every hour or every day). The policy and schedule information is maintained in
the NetBackup database. The policy identifies how the backups occur, where the
backups occur, when the backups occur, which clients are backed up, and which files
and directories are backed up from those clients. The following flow is described on this
diagram:
1. When a policy is run, the master server interprets the policy, allocates resources,
and connects to the requested media server.
2. The media server prepares the allocated storage resources and then passes on the
requirements of the backup to the client. The client processes the files to be backed
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
up and transfers them in the form of a tar backup image over the network to the
media server. The media server writes the file image to the allocated storage.
3. The media server also passes information about the backup to the master server
which then stores the information into the backup catalog.
4. During the backup status information is sent to the NetBackup master server, and
NetBackup keeps status information in various log files, enabling you to monitor or
report on the backup. Information is also pulled from the master server by the
OpsCenter server on a periodic basis, based on the OpsCenter configuration.
NetBackup Storage
Client Backup
client destination
data image
18
No backup is worth anything unless the data it contains is available to be restored when
needed. Restores can be performed from the master server by an administrator to
restore the data to the destination client machine. Restores can also be performed at
the request of a user. The restore flow is described in this diagram.
1. To restore data, use OpsCenter or the NetBackup Backup, Archive and Restore
interface. The NetBackup master server catalog contains information about what
files and folders have been backed up, and provides the information that the
administrator will then use to select which data to restore.
2. The NetBackup master server uses the information in the NetBackup database to
identify where the backup images are stored, and uses information supplied by the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
19
One of the hallmarks of enterprise IT is its heterogeneity. The wide variety of platforms,
applications, and infrastructure often grows with the size of the enterprise. NetBackup
supports a vast array of environments and integrates with every layer of the
infrastructure stack to unify your entire data protection strategy.
• Operating systems - NetBackup integrates with dozens of server operating system
(OS) versions, including Microsoft Windows, Linux, and UNIX files.
• Virtual systems - NetBackup integrates with leading hypervisors including VMware
vSphere and Microsoft Hyper-V.
• Databases and applications - NetBackup integrates with leading relational databases
and application platforms, including IBM DB2, Microsoft Exchange Server, Microsoft
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe the NetBackup
appliance offerings.
20
Optimized Hardware
Redundant Storage
21
Up to
1-250TB Up to 1374 TB*
1PB
Up to 1920 TB*
Up to 294TB
Media Server Cloud Catalyst
14TB-27TB 240TB
229TB
0.5-16TB
Media Server
4TB
Master/Media Media Server
Server Enterprise Appliance with storage Enterprise Appliance with storage
Master Server with storage
data protection in data centers. Either type of virtual appliance can replicate data to
other sites for disaster recovery.
• NetBackup 5240: A scalable integrated backup appliance that can function as either a
master or a media server and can scale from 4 TB to 294 TB of storage.
• Software and appliance functionality is normally equivalent, but may not be identical
Compatibility • Refer to http://netbackup.com/compatibility, in the NetBackup Appliances section.
24
Licenses are perpetual and transferable. Which means, you don’t pay the cost of the
deduplication engine again every time you refresh hardware. It also means that existing
DPOO licenses for disk pools can be used if you migrate from legacy servers to
appliances. Licenses are based on the amount of data you protect, not the capacity of
the appliance. Which means you can buy an appliance with extra storage capacity with
an eye towards future growth without paying for storage you are not using. 5230
Appliances can also be licensed as traditional Master or Media servers if, for example,
you will not be using the appliance to deduplicate any data.
After completing this topic, you will be able to navigate the NetBackup
Administration Console.
26
Details pane
Object tree
27
28
The Jobs tab in the Activity Monitor displays information about NetBackup queued,
active, waiting, suspended, incomplete and completed jobs. Functions you can perform
on jobs include canceling, suspending, resuming, or restarting a job. The following tabs
are visible in the details pane of the Activity Monitor:
• The Jobs tab: If you double-click a job listed under the Jobs tab, you obtain valuable
job detail information, including policy, file list, status, kilobytes written, number of
files written, percent complete, and start, elapsed, and end times, which are used to
derive kilobytes per seconds statistics.
• The Daemons tab: Provides status and control for those programs that typically start
whenever the system reboots.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpconfig
29
This graphic shows the master server host attributes that can be configured on the
Global Attributes dialog box. The Global Attributes properties apply to the currently
selected master server. The Global Attributes properties affect all operations for all
policies and clients. The default values are adequate for most installations but can be
changed. Changes to Global Attributes properties cascade across all component
systems in the backup environment.
Note: See the Veritas NetBackup Administrator’s Guide for additional master server
properties.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
30
simplify command execution, append the paths shown on the slide to your PATH
environment variable.
Command Help is available as follows:
• UNIX: Use the online man pages and ensure that the MANPATH includes
/usr/openv/man or use the Veritas NetBackup Commands Reference Guide.
• Windows: Use the Veritas NetBackup Commands Reference Guide.
After completing this topic, you will be able to use the NetBackup web user
interface, discuss Role-Based Access Control (RBAC), and navigate the
Veritas Smart Meter portal.
31
32
Certificates
Displays information about the host ID-based security
certificates in your environment.
Tokens
Displays the information about the authorization
tokens in your environment.
33
The NetBackup dashboard provides a quick view of the details that are related to your
role in your organization.
Dashboard widget and description:
• Jobs: Lists job information, including the number of active and queued jobs, and the
status of attempted and completed jobs.
• Security events: The Access history view includes a record of login events. The Audit
events view includes events that are related to tokens, certificates, and the
certificate revocation list (CRL).
• Certificates: Displays information about the host ID-based security certificates in your
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
environment.
• Tokens: Displays the information about the authorization tokens in your
environment.
• Veritas Smart Meter: This widget includes a link to the Veritas Smart Meter.
Access rules associate a user or a user group with a role and an object group.
Object groups define the assets and the NetBackup objects a user can access.
RBAC is only available for the web UI and the APIs. Other access control methods for NetBackup are not supported for the web UI and APIs, with the
exception of Enhanced Auditing (EA). Users that are configured with EA have full permissions for the web UI and APIs. You cannot use the web UI if you
have NetBackup Access Control (NBAC) enabled.
34
The NetBackup web user interface (web UI) provides the ability to apply role-based
access control to grant access to the web UI. This access control includes the tasks a
user can perform and the assets the user can view and manage. Access control is
accomplished through access rules.
• Access rules associate a user or a user group with a role and an object group.
Multiple access rules can be created for a single user or group, allowing for full and
flexible customization of user access.
• Roles define the permissions a user has.
• Object groups define the assets and NetBackup objects a user can access. You can
use object groups to define groups of assets or application servers or to indicate the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
protection plans that users can view or manage. For example, you can grant access
for VMware administrators by creating an object group with specific VMware
application servers. Also add to the object group the specific protection plans that
the VMware administrator can choose to protect VMware assets.
Note: RBAC is only available for the web UI and the APIs. Other access control methods
for NetBackup are not supported for the web UI and APIs, with the exception of
Enhanced Auditing (EA). Users that are configured with EA have full permissions for the
web UI and APIs. You cannot use the web UI if you have NetBackup Access Control
(NBAC) enabled.
USER
AUDIT
RBAC users can perform common tasks for their business role, but are restricted
from accessing other NetBackup areas and features.
PASSWORD
SECURITY
PYSICAL
SYSTEM RBAC is available in the NetBackup web user interface and NetBackup APIs.
CONTROL
LOGIN
MANDATORY
ACCESS
IDENTIFICATION
AUTHORIZATION
ROLE-BASED
CREDENTIALS
KEYS
35
The following are the important features of Role Based Access Control (RBAC):
• Predefined roles in RBAC allow users to perform common tasks for a system
administrator, backup administrator, or workload administrator. Or, create custom
roles to fit the role of your users. Root users and administrators still have full
permissions in all NetBackup interfaces and in the APIs.
• RBAC users can perform common tasks for their business role, but are restricted from
accessing other NetBackup areas and features. RBAC controls the assets that users
can view or have access to. For example, a backup administrator can only manage
backup images and jobs for the assets for which they have been given access.
• RBAC is available in the NetBackup web user interface and NetBackup APIs, which are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Backup Administrator
• Manage all jobs activity.
• Configure NetBackup to send email notifications to the ticketing system when
certain job failures occur.
• Configure protection plans for the workload administrator.
• View the usage reporting details on backup data size for NetBackup master
servers.
Workload Administrator
• Manage the jobs that they initiate.
• Manage the assets they are granted access to.
• Monitor protection status and subscribes assets to protection plans.
• Perform the recovery for assets they manage.
If the default NetBackup roles for RBAC do not meet your needs, you can configure a role with custom role permissions. Note, however, that customer
roles do have certain limitations.
36
With the NetBackup RBAC default roles you can delegate for tasks like NetBackup
security management, protection plan configuration and job management, and
protection and recovery of assets. Role permissions only determine what kinds of
actions a user can perform. A user’s access rules also determine the assets, application
servers, or protection plans (defined in an object group) that a user can view or manage.
For example, if a user has recovery permissions, that user can only recover assets for
which they are granted access.
NetBackup security administrator: The NetBackup security administrator performs the
following tasks in the NetBackup environment:
• Manages role-based access control. This user can delegate access to NetBackup. This
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
task includes managing the users that can access NetBackup, the role or permissions
that users have, and the NetBackup assets that users can access.
• Oversees the security management. This task includes managing NetBackup hosts
and certificates, managing global security settings, and viewing security events.
Backup administrator: The backup administrator performs the following tasks in the
NetBackup environment:
• Manages all jobs activity. Monitors all job operations. Able to cancel, suspend,
resume, restart, and delete jobs.
• The backup administrator can also configure NetBackup to send email notifications to
their ticketing system when certain job failures occur.
• Configures protection plans for the workload administrator.
While creating custom roles, enable minimal number of permissions that allow a user to sign in and use the Web UI
37
object group. If you want a user with a custom role to create access rules, be sure
to select the appropriate view permissions for the custom role.
• Some individual permissions do not have a direct correlation with a screen in the
web UI. Users that attempt to sign in but only have a permission of this kind receive
an “Unauthorized” message. When you create custom roles, be sure to enable the
minimal number of permissions so the user can sign in to and use the web UI.
38
The web UI also allows security administrators to view currently active sessions,
terminate a single or all active sessions, unlock and NetBackup user, and so on.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Usage reporting application lists the size of the backup data for the NetBackup master servers in your organization.
This reporting is useful for planning when you use capacity licensing. NetBackup gathers and reports usage and trend
information on a weekly basis.
Usage reporting does not apply to the traditional licensing method and for manually generated capacity license reports.
39
The Usage reporting application lists the size of the backup data for the NetBackup
master servers in your organization. This reporting is useful for planning when you use
capacity licensing. NetBackup gathers and reports usage and trend information on a
weekly basis. This application also includes a link to the Veritas Smart Meter. This portal
allows NetBackup customers to proactively manage their license use through real-time
visibility of consumption patterns. Usage reporting does not apply to the traditional
licensing method also If you manually generate capacity license reports, the data does
not display in the usage report in the NetBackup web UI. Only automatic, scheduled
reports display in the web UI. Policy types supported for usage reporting are: BigData,
Informix, Oracle, VMware, MS-Exchange-Server, MS-SQL-Server, Standard, Hyper-V,
NDMP, and Sybase.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Accurate, near real-time reporting Usage trends that are shown in a Consumption assessments to alert
of terabytes protected graphical display before licensed capacity is
exceeded
40
Veritas Smart Meter helps you manage your NetBackup deployment more efficiently,
spot trends, and plan for the future. With accurate, near real-time reporting, it reveals
the total amount of data that is backed up. Smart Meter alerts you if you are close to
exceeding your licensed capacity limits. Smart Meter requires Veritas NetBackup 8.1.2
or later. Smart Meter provides:
• Accurate, near real-time reporting of terabytes protected.
• Usage trends that are shown in a graphical display.
• Consumption assessments to alert before licensed capacity is exceeded.
• Easy capacity planning and budgeting.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
There are multiple ways to access the Veritas Smart Meter portal:
1. Open a web browser, enter the portal address https://taas.veritas.com and then
press Enter. The Veritas Account Login screen is displayed. Note that you must have
a Veritas Account Manager ID that is linked to your Veritas Entitlement Management
System to access and use Veritas Smart Meter.
2. Login to the Veritas NetBackup administration console, click the master server entry
located at the top of the object pane and then click Introducing Veritas Smart
Meter in the details pane. The Veritas Smart Meter window will be displayed. Click
the link located below Launch Veritas Smart Meter to launch the Veritas Smart
Meter portal.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
3. Login to the Veritas NetBackup web user interface, click the Launch Veritas Smart
Meter link included in the Veritas Smart Meter widget to launch the Veritas Smart
Meter portal. Alternatively, you can also click the Launch Veritas Smart Meter link
on the Usage and reporting page.
Smart Meter Portal
• The Dashboard page displays the Capacity consumption, Capacity consumption
growth, Alerts, Accounts, and Growth breakdown widgets.
• The Accounts page displays the Accounts with highest utilization, Consumption
breakdown, growth breakdown, and lists all accounts that are linked to the Veritas
Account Manager ID.
• The License utilization files page displays a list of all the capacity utilization files. An
After completing this topic, you will be able to navigate the OpsCenter
console.
42
43
OpsCenter software from running on a NetBackup master server. Although not strictly
required by NetBackup, some advanced features are only accessible through OpsCenter.
When run using the optionally licensed OpsCenter Analytics option, OpsCenter has
additional reporting functionality, which is discussed later in this lesson.
44
To access the OpsCenter console, start a web browser on a system that has network
connectivity to the OpsCenter server. Type the following URL:
https://opscenterhost/opscenter where opscenterhost is the fully qualified domain
name of the OpsCenter server or the IP address of the OpsCenter server.
Note: If there is a conflict due to an already existing Web server (for example, IIS on
Windows), OpsCenter may have chosen a different port number to avoid conflict. The
default OpsCenter web address may use this non-default port number; for example:
https://opscenterhost:port/opscenter. For more information, see the NetBackup
OpsCenter Administrator’s Guide.
To log on to the OpsCenter Console, provide the necessary logon credentials as follows:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1. Enter a user name and password, and select a domain from the Domain drop-down
list. For the initial login by an administrator, use the following values:
• User Name: admin
• Password: password
• Domain: OpsCenterUsers(vx)
2. Click Log On.
3. After the initial log on, change the user name and password. To change existing
passwords, navigate to Settings > User Preferences > MyProfile in OpsCenter.
45
Before you can use OpsCenter to monitor and manage your NetBackup environment,
you must configure data collection for NetBackup. To configure data collection for
NetBackup:
1. Add a master server to the OpsCenter console:
a. In the OpsCenter console, select Settings > Configurations > NetBackup.
b. Click Add, and fill in the fields. Optionally click the Test Connection button to
ensure the data is correct.
2. Enable data collection for a master server:
a. Use the check box to select one or more master servers from the Master Server
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Name column.
b. Click Enable Data Collection.
46
Analytics, see the Veritas OpsCenter Administrator’s Guide and Veritas Education’s
OpsCenter training. Note: In prior releases of OpsCenter, the Java View Builder was only
available with OpsCenter Analytics. In OpsCenter 7.5 and later, the Java View Builder is
included with the base product.
After completing this topic, you will be able to Identify the available
NetBackup installation methods, List the recommended SORT procedures
for new installations, create a user account for the NetBackup Web server,
and perform NetBackup installation.
47
Interactive UNIX and Linux Yes (Master and Media Server) Yes
Silent Windows Yes (Master and Media Server) Yes (see note)
Note: Silent installations of NetBackup clients are not supported if you want to run the NetBackup services as a user instead of a local administrator.
48
The table on this details the various ways you can install NetBackup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Create a Create
Create
Veritas system-
generic
Account on specific
installation
the SORT installation
reports
webpage reports
49
Veritas recommends new NetBackup users perform the below three procedures that are
listed for an initial introduction to SORT.
1. Create a Veritas Account on the SORT webpage.
2. Create generic installation reports.
3. Create system-specific installation reports.
The tool has many other features and functions, but these serve as a good introduction
to SORT. In addition, the procedures provide a helpful base of knowledge for other SORT
functionality.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1 1
2
3
2
4
Note: The home directory path, user name, and
group names are not hard-coded, and can be
changed. The default local user name is nbwebsvc,
and the default local group name is nbwebgrp.
50
Beginning with NetBackup 8.0, the NetBackup master server includes a configured web
server to support critical backup operations. This web server operates under user
account elements with limited privileges. These user account elements must be
available on each master server (or each node of a clustered master server).
To create the user account and the user group on UNIX or Linux:
1. Create a local group
2. Create a local user account and add it to the group created in step 1.
For security purposes, it is recommended not to create the web server users or groups
with administrator or root privileges but should have sufficient permissions to run
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
daemons.
Note: The home directory path, user name, and group names are not hard-coded, and
can be changed. The default local user name is nbwebsvc, and the default local group
name is nbwebgrp.
Note: For UNIX and Linux platforms, the UID must be the same for each local account in
a clustered environment. Be sure that the local accounts are defined consistently on all
cluster nodes.
52
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
53
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
54
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
55
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
The correct answer is A. NetBackup commands can be used in UNIX shell or Windows batch scripts to perform reusable
custom operations.
56
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
57
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
The correct answer is B. Access rules associate a user or a user group with a role and an object group.
58
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. BigData
B. SAP
C. NDMP
D. All of the above
59
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. BigData
B. SAP
C. NDMP
D. All of the above
The correct answer is A and C. Policy types supported for usage reporting are: BigData, Informix, Oracle, VMware, MS-
Exchange-Server, MS-SQL-Server, Standard, Hyper-V, NDMP, and Sybase.
60
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
61
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Basic OpsCenter functionality is included with NetBackup, and additional functionality can be
added by purchasing the OpsCenter Analytics option.
62
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
1-63
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Configuring NetBackup Storage lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to define the terms storage
device, storage unit, and storage unit group.
Storage device
• Physical tape and disk devices to which data is written to and restored from
Storage unit
It is important that you know the differences between storage devices, storage units,
storage unit groups, and storage lifecycle policies, so that you can plan and configure
NetBackup to operate most effectively.
• Storage devices are tapes and disk devices to which data can be written and stored.
When discussing storage devices, we are normally referring to the physical devices
as seen by the server.
• Storage units are logical entities that refer to a storage device of a specific type.
Properties of a storage unit define how data is written to media. Additionally,
storage units are a way of defining both the media servers and storage destination
for a backup. Note that a storage unit can be tape drives, a path to a disk volume, or
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
a disk pool (which can be deduplicated disk or cloud storage). Storage units are used
as a backup destination, a location where a backup policy sends a backup.
• Storage unit groups and Storage lifecycle policies (SLPs) are two additional storage
destinations that will be described. Storage unit groups are discussed elsewhere in
this lesson, and SLPs are discussed in the Duplicating Backups lesson.
Within a backup policy, you define a storage destination, which is where NetBackup will
send the backup data. This can be a storage unit, a storage unit group, or a storage
lifecycle policy, depending on your needs. You cannot send a backup directly to a
storage device that is not configured as a storage unit.
The slide lists disk storage types in NetBackup (listed by the corresponding disk type
identification categories used in NetBackup). Disk storage types include:
• BasicDisk consists of a directory or folder in a file system that is locally- or network-
attached to the media server. This disk type does not require any additional licenses.
• AdvancedDisk consists of a disk pool, which is a collection of disk volumes, that is
managed by a NetBackup media server or NetBackup appliance. AdvancedDisk has
better management capabilities than BasicDisk.
• OpenStorage uses the Veritas OpenStorage API to control functions and integrate
backup functionality for intelligent third-party disk appliances that support this API.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• PureDisk consists of a specialized disk pool and services that perform deduplication
of backup storage, and reside on a NetBackup media server or NetBackup appliance.
BasicDisk is included with NetBackup and does not require additional licensing. The
other disk types require the NetBackup Data Protection Optimization Option. This
lesson only covers the configuration of BasicDisk. For other disk types, refer to the
appropriate lessons in this course or the appropriate NetBackup documentation, as
listed on the slide.
After completing this topic, you will be able to configure and manage a
basic disk storage unit.
This is the Configuring and managing a basic disk storage unit topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpstuadd -label
To configure storage units, or to copy an existing storage unit configuration and use it as
a template for a new storage unit, perform the following steps:
1. In the object tree pane of the NetBackup Administration Console, expand
NetBackup Management > Storage. The Storage unit information is displayed in the
details pane.
2. Add the storage unit using one of the following methods:
• Select Actions > New > New Storage Unit.
• Right-click Storage Units and select New Storage Unit.
• Copy and then modify the properties of an existing storage unit: Right-click a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpstuadd -label
10
When creating a Disk storage unit type, you must supply the following properties:
• Storage unit name: A unique name that is used in backup policies and schedules.
• Storage unit type: The type of storage that this storage unit uses, for example, Disk.
• On demand only: Specifies whether the storage unit is only available when a policy
attribute or policy schedule is explicitly configured to use this storage unit. The
storage unit will not be used when the Any Available storage destination is selected.
• Disk type: Specifies the type of disk storage unit to be created. By default: BasicDisk.
• Media server: Specifies the name of the controlling media server.
•
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Absolute pathname to directory: Specifies the absolute path to the file system.
• View Properties button: Displays information about capacity and remaining space.
• This directory can exist on the root file system or system disk: Allows the directory
to exist on the root file system (UNIX) or system disk (Windows).
• Maximum concurrent jobs: The maximum number of backups that NetBackup can
concurrently send to this disk.
• Reduce fragment size to: Specifies (in MB) the largest fragments (underlying file
sizes) created when storing backups.
• High water mark: The threshold that signals that the disk should be considered full.
• Low water mark and Enable Temporary Staging Area: Used for disk staging storage
units. Refer to the NetBackup Administrator’s Guide.
bpstulist
11
After initially configuring a basic disk storage unit, you can subsequently open the basic
disk storage unit to change existing parameters (such as the maximum concurrent jobs,
or water marks). You will notice that certain parameters cannot be modified, such as the
storage unit name, storage unit type, or disk type. Clicking the View Properties button
shows details for the file system on which the basic disk folder resides, such as capacity
and available space.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
12
selecting a Disk Type of BasicDisk, you can view only the information for basic disk
storage units.
After completing this topic, you will be able to configure storage unit
groups.
13
Storage device
• Physical tape and disk devices to which data is written to and restored from
Storage unit
14
It is important that you know the differences between storage devices, storage units,
storage unit groups, and storage lifecycle policies, so that you can plan and configure
NetBackup to operate most effectively.
• Storage devices are tapes and disk devices to which data can be written to, stored,
and restored from. When discussing storage devices, we are normally referring to
the physical devices as seen by the server.
• Storage units are logical entities that refer to a storage device of a specific type.
Properties of a storage unit define how data is written to media.
• Storage unit groups are two or more storage units that have been grouped together.
This enables you to address multiple storage units as a single entity when creating a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
policy. You may set the priority of the storage units within the group, and the type of
load balancing and failover behavior desired.
• Storage lifecycle policies (SLP) are additional backup destinations with
comprehensive storage plans that include supporting multiple destinations,
including snapshots, duplications, and replications. SLPs are discussed in the
Duplicating Backups lesson.
Within a backup policy, you define a storage destination, which is where NetBackup will
send the backup data. This can be a storage unit, a storage unit group, or a storage
lifecycle policy, depending on your needs . You cannot send a backup directly to a
storage device that is not configured as a storage unit.
✓ ✓ ✓ ✓ ✓
15
Prior to the concept of storage unit groups, NetBackup used functions known as On
demand only and Any available to be able to send backups to different storage units,
based on availability. When configuring a backup policy, if you select Any_available as
the storage destination for your backup, backup data is directed to an available storage
unit designated as Any available. These are all storage units that are not marked as On
demand only. NetBackup tries locally attached storage units first, and if none are found,
the storage units are tried in alphabetical order. NetBackup uses the first storage unit
that meets the following requirements:
• The storage unit must not be designated as on demand only.
• The storage unit must have available drives.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The storage unit must have available storage (tape or disk resources) resources.
When you configure a storage unit as On demand only, the storage unit is only used if it
is specified directly within the backup policy, or backup policy schedule. Since the
introduction of storage unit groups in NetBackup, it is no longer recommended to use
Any available as the means of sending backups to different storage units.
bpstuadd -group
16
A storage unit group allows you to configure multiple storage units which act as a single
destination for backup jobs. To create a new storage unit group, navigate to NetBackup
Management > Storage > Storage Unit Group, and select Action > New Storage Unit
Group. Similarly, you can right-click in the console and select New Storage Unit Group
or click on the new storage unit group button.
The bpstuadd command can be used to create storage unit groups. See the NetBackup
Commands guide for syntax and details.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
17
To configure a storage unit group, provide a unique storage unit group name, and select
which storage units to add to that group. The order in which storage units are used
within a group depends on the storage unit selection option. In the Storage unit
selection area, you choose how storage units are selected within the group as follows:
• Prioritized: Choose the first storage unit in the list that is not busy, down, or out of
media.
• Failover: Choose the first storage unit in the list that is not down or out of media.
• Round Robin: Choose the least recently selected storage unit in the list.
• Media Server Load Balancing: Choose the best available media server based on a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
ranking system.
Note that the Media Server Load Balancing selection does not support basic disk
storage, and is discussed in more detail in the Configuring Disk Pools lesson.
Group priority:
1. ms1_tape_STU
2. ms2_tape_STU
3. ms3_tape_STU
ms1_tape_STU ms2_tape_STU ms3_tape_STU
Job 1 Job 3 Job 5
Job 2 Job 4 Job 6
Job 7
Job 8
18
The total number of concurrent jobs that can go to a specific storage unit will depend on
the storage unit’s configuration, specifically the maximum concurrent jobs that is
configured. The slide shows tape-based storage units (a library with two tape drives)
connected to each media server, however they could just as easily be disk-based storage
that accept two concurrent backups.
Prioritized storage unit groups choose the first storage unit in the list that is not busy
with other jobs, down (physically unavailable), or out of tape media (in the case of tape
libraries). It then fills that storage unit with active jobs, and then moves on to the next
available storage unit in the list. If all storage units are busy, any subsequent jobs will
queue, and wait for the next available storage unit in the group.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
In the example on the slide, media server ms1 is shown with more memory and system
resources than media server ms2, which additionally has more resources than media
server ms3. Using a prioritized storage unit group means that ms1_tape_STU will always
be used first, until it is busy. Storage unit ms2_tape_STU will fill with jobs next, and
finally ms3_tape_STU.
Group priority:
1. ms1_tape_STU
2. ms2_tape_STU
3. ms3_tape_STU
ms1_tape_STU ms2_tape_STU ms3_tape_STU
Job 1 Job 2 Job 3
Job 4 Job 5 Job 6
Job 7
Job 8
19
Round robin storage unit groups choose the least recently used storage unit in the list
that is available. In the example on the slide, all three media servers are shown with
identical memory and system resources, and using a round robin storage unit group
means that initially the jobs will be distributed evenly amongst the storage units. Once
all storage units are in use, additional jobs will queue and wait for any available storage
unit in the group.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Group priority:
1. ms1_bdisk_STU
2. ms2_tape_STU
Only used if primary
ms1_bdisk_STU* ms2_tape_STU storage unit is down or
Job 1 out of media
Job 2
Job 3
Job 4
A failover storage unit group chooses the first storage unit in the list that is not down or
out of media. All other jobs will queue waiting for this storage unit, even if it is busy. If
the storage unit ever goes down (or runs out of media), then the jobs will fail over to
the next available storage unit in the group.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Spanning STU-C
not
supported
STU-D
STU group 2
21
A backup may span storage units if a disk full condition is detected. Backups can span
from one BasicDisk storage unit to another BasicDisk storage unit if the storage units are
in the same storage unit group. The storage units must also share the same media
server. The following destinations support disk spanning:
• A BasicDisk storage unit spanning to a BasicDisk storage unit. These storage units
must be within a storage unit group.
• An OpenStorage or AdvancedDisk volume spanning to another volume in the disk
pool. These storage units innately support backup images spanning to multiple
volumes, since they use disk pools. This is discussed in further detail in the
Configuring Disk Pools lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
Basic disk spanning is enabled in the media server’s Host Properties under Media, using
the Allow backups to span disk property. By default, this property is enabled. The Allow
backups to span disk property does not apply to AdvancedDisk or OpenStorage storage
units, since backups span disk volumes within disk pools automatically. These storage
units are discussed in more detail in the Configuring Disk Pools lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Storage unit groups Storage > Storage Unit bpstulist –go –U Manage > Storage >
Groups Storage Unit Group
23
The table on this slide summarizes the storage unit reporting tools using the NetBackup
Administration Console, NetBackup commands, and OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– In this lesson, you learned about disk-based storage and how it is used.
– You also learned how to configure basic disk storage units, monitor the status of, and view reports
for, basic disk storage.
– Finally, you learned how to configure storage unit groups.
• Reference materials
– Veritas NetBackup™ Administrator's Guide, Volume I
https://www.veritas.com/content/support/en_US/doc/18716246-136359033-0/index
– Veritas NetBackup™ Commands Reference Guide
https://www.veritas.com/content/support/en_US/doc/15263389-133604923-0/index
– Veritas Support
https://www.veritas.com/support/en_US.html
24
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
25
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Catalog
B. Policy
C. Storage unit
D. Selection list
27
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Catalog
B. Policy
C. Storage unit
D. Selection list
The correct answer is C. The logical destinations for a NetBackup client’s data include storage units, storage unit groups,
and storage lifecycle policies.
28
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Failover
B. Prioritize
C. First-in First-out
D. Round Robin
29
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Failover
B. Prioritize
C. First-in First-out
D. Round Robin
The correct answer is C. The four storage unit group selections include Failover, Prioritize, Round Robin, and Media
Server Load Balancing.
30
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
31
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Configure Allow backups to span disks in the media server host properties. Ensure that all the
basic disk storage units is configured on the same media server.
32
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
2-33
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Configuring Policies lesson in the Veritas NetBackup 8.2: Administration
course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Define which client files and directories to backup up, and create
Creating backup selections
exclude and include lists.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to explain how data protection
relates to a policy.
Policy configuration is flexible enough to meet the various needs of all the clients in a
NetBackup environment. To take advantage of this flexibility, take time to plan before
starting to configure the policies within NetBackup. Include the following tasks in your
planning and preparation:
• Gather client information.
• Group the clients based on backup requirements.
• Consider the storage requirements.
• Consider the backup schedule.
• Group clients by common attributes.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Schedules When do backups occur? Include all data or only changes? How long is backup data retained?
Backup
Which data is backed up?
Selections
Application-
How are database backups handled? How are virtual machine backups handled?
specific tabs
Backup policies provide the instructions that NetBackup follows to back up clients. A
backup policy can apply to one or more clients. The best approach is to group the clients
according to the backup requirements, and creating a policy for each group. In a policy
you define attributes, schedules, a client list, and a backup selections list.
• Attributes answer questions, such as: What type of client to back up? Where to
store the backup? How should the files be backed up? Are there any special backup
behaviors?
• Schedules answer questions, such as: What is the backup type? When and how
frequently to perform the backup? How long is the backup data retained?
• The Clients list identifies which clients to back up.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The Backup Selections list identifies which files and directories to back up.
More recent versions of NetBackup have introduced new policy tabs to assist with
application-specific backup settings. In NetBackup 8.2, these includes the following:
• Oracle policies includes the Oracle and Instances and Databases tab, and removes
the Clients tab.
• MS-SQL policies includes the Microsoft SQL Server and Instances and Databases
tabs, and removes the Clients tab.
• VMware policies includes the VMware and Exclude Disks tab.
• Hyper-V policies includes the Hyper-V tab.
After completing this topic, you will be able to identify basic policy types,
and configure policy attributes.
Command Line
• Provided with bppolicynew command.
• Can be used in script-based policy setup.
The bppolicynew command creates an empty policy, which contains the default
settings for attributes, but no schedules, clients or backup selection lists. It is often
used in scripts to create multiple backup policies. bppolicynew can also be used
to copy an existing policy, similar to the Administration Console’s Copy to New
function. The bppolicynew command is unique in that it also allows you to
rename a backup policy, a feature that is not available in the Administration
Console.
bppolicynew
Backup Policy wizard by marking the Use Backup Policy Configuration Wizard check
box.
Your new policy is added with default settings.
You can copy an existing policy by selecting a policy from the list, right-clicking it, and
then selecting Copy To New. This is useful when you must establish multiple policies
that have similar properties. Refer to the NetBackup Administrator’s Guide for more
information about adding policies.
10
Attributes determine the basic characteristics of all the backups that NetBackup
performs for the policy. You can view and configure a policy’s attributes using the
NetBackup Administration Console.
• The Attributes tab answers the questions “How is the policy going to perform the
backup?” and “Where are the storage units and volume pools to which the backup
data is to be sent?”
• The Policy type determines the type of clients that can be part of the policy and, in
some cases, the types of backups that can be performed on the clients. Select the
Policy type from the drop-down menu.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
11
NetBackup installs all the options but the policy types available vary depending on the
licenses purchased. Each policy type offers a unique combination of attributes. The two
policy types shown on this slide are basic NetBackup policy types. Each of these policy
types is distinguished by the types of clients that can be part of the policy, and what is
backed up when a backup job is run.
• Standard policy type: Used for clients and file systems that are UNIX-based, this
includes UNIX, Linux, and Mac OS X 10.8, 10.9 and 10.10 clients.
• MS-Windows policy type: Used for clients and file systems that are Windows-based,
supported Windows operating system levels.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
12
The Policy storage drop-down menu specifies the default storage unit or storage unit
group for backups of this policy. This is the storage unit that is used by default by all
schedules in this policy. However, schedules may be configured to override the policy
storage destination.
The Policy volume pool drop-down menu specifies the volume pool for backups of this
policy. Select the desired volume pool name from the drop-down list. The list displays all
previously configured volume pools. Whenever a new volume is required for either a
robotic or stand-alone drive, it is allocated to NetBackup from the requested volume
pool. Policy storage and volume pools are covered in more detail in a later lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe backup schedules
types, and create and configure both frequency-based and calendar-based
schedules.
13
14
The Schedule tab answers, among other things, the question “When is this policy to be
run?” Use the following procedures to create a new schedule using the Administration
Console:
1. In the left pane of the NetBackup Administration Console, select Master Server >
NetBackup Management > Policies.
2. Double-click a policy.
3. Click the Schedule tab.
4. Click the New button to access the dialog box that you use to build your schedule.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
15
and weeks, NetBackup 8.0 introduced the ability to set frequency in minutes and
seconds.
• Destination pane:
• Multiple copies: Used to create inline copies. This is discussed in the Duplicating
Backups lesson.
• Override policy storage selection and Override policy volume pool: Override
the storage unit or volume pool for this schedule, so that it differs from the one
specified in the policy’s Attribute tab.
• Retention: The time that the image is to be held in the images catalog. By
default, NetBackup does not mix retention levels on a single volume.
For more information about other options on the Schedule dialog box - Attributes tab,
see the NetBackup Administrator’s Guide.
Full
16
incremental and all of the differential incremental backups since the last cumulative
incremental.
• Cumulative incremental backup: Cumulative incremental backups back up all files
specified in the backup selections list for a policy that have changed since the last
successful full backup. All files are backed up if no prior backup has been performed.
A complete restore requires the last full backup and the last cumulative incremental.
Cumulative incremental backups generate more files per backup, but complete
restoration is quicker.
17
The Start Window tab provides controls for setting time windows during
which NetBackup can start automatic backups jobs, and users can initiate manual
backups or archives when using this schedule. Configure the start windows so that they
satisfy the requirements necessary to start a task or job. If the start windows closes
before the backup has started it does not run. Once a backup has started, it runs to
completion even if the start window closes. The start window is not used for manual
backups. For example, for backups, you can create a different window that opens each
day for a specific amount of time, or you can keep the window open all week.
For more information about the options on the Schedule dialog box - Start Window tab,
see the NetBackup Administrator’s Guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Client 1 21:01
Start Window: when
backups may start
21:00 - 01:00 Client 2 22:39
Client 3 23:40
Client 4 00:52
18
The example on this slide demonstrates the effect of start window duration on a backup
schedule. In the example, backups for Client 1 through Client 4 are started within the
backup start window. Client 4 does not finish before the window closes, but because it
starts within the window, the backup is completed. Client 5 did not start within the
window, so its backup does not run. Client 5 is automatically the first client backup that
is attempted in the next run of this schedule.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
19
You can exclude specific dates, such as January 1, from your backup schedule. Under the
Exclude Dates tab, define the dates you want to exclude from the schedule. Dates can
be excluded by using Recurring Week Days, Recurring Days of the Month or Specific
Dates. Exclude dates applies to both frequency-based and calendar-based schedules.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
number or select a value from the drop-down menu. Select a frequency of hours, days,
or weeks.
Schedule type: Calendar
Calendar-based scheduling provides you with greater flexibility in scheduling backup
jobs. You can run a backup job any day of the month. If a backup job generated by a
calendar-based schedule fails, the Retries allowed after runday attribute determines if
the retry is allowed to occur after the scheduled calendar day. Even when Retries
allowed after runday is enabled, the backup window must be open to enable the retry
to be attempted.
The Include Dates tab is displayed when Calendar is selected as the Schedule type,
under the Attributes tab, of the Change Schedule dialog box.
21
Calendar-based scheduling provides several run day options for use in scheduling when
a task runs. A backup can run on Specific Dates rather than follow a recurring schedule,
and specific dates can be added to a recurring schedule. You can schedule specific dates
in any month of any year up to and including December 31, 2037. Define specific
calendar days as run days by clicking in the date on the calendar. This specification
causes the backup to run on the specified day during the valid window that is defined
for that day.
The Recurring Week Days option provides a matrix that enables you to schedule a task
for certain days of each week, weeks of each month, or days on particular weeks of the
month. For example, use this option to schedule a task on the first and third Thursday of
every month. Or, schedule a task that runs the last week in every month. The week day
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
matrix is not a calendar; it is simply a matrix used to select days and weeks in a month.
A check mark entered for a day indicates that the task is scheduled to run on that day of
its respective week. By default, no days are selected. For example, to define specific run
days based on recurring days of the week, such as every Friday, click Fri on the matrix,
and every Friday is automatically selected.
The Recurring Days of the Month option provides a matrix that you can use to schedule
a task for certain days of the month. You can also schedule a task to occur on the last
day of the month, regardless of the actual date.
bpretlevel
22
The retention period in a policy’s schedule determines how long NetBackup retains the
backups images created by that schedule. NetBackup 8.0 and later supports 100
separately defined retention levels. The Retention Periods properties, found in the
master server host properties, define the length of time associated with each level. All
of these retention levels are configurable, with the exception of level 9 and level 25,
which have fixed retention period values. Veritas recommends leaving retention levels
0-8 at the default values. Change higher levels which are currently set to infinite, if you
want to customize. The following list describes the Retention Periods properties.
• The Value specifies the retention level setting.
• The Units property specifies the units of time for the retention period. The list also
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to specify which clients are to
be used in a policy.
23
24
The Clients tab contains the list of clients that are backed up or affected by this policy.
This answers the question, “Which system is to be backed up?” To add clients to a policy
using the NetBackup Administration Console, click the Clients tab and click New. You
are prompted to provide the name of the client, as well as the hardware and operating
system type. You can either select the Detect client operating system check box or
select the appropriate hardware and operating system for the client in the drop-down
menu.
Note: To be able to use the auto-detect feature, the NetBackup client software must
already be installed on the client, and the master server needs to be allowed to connect
to the client by having an appropriate SERVER entry in the client’s server list. This is
accomplished when you enter the master server name during the installation of the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
client software on the host. For detailed instructions on adding a client to a policy, see
the NetBackup Administrator’s Guide.
After completing this topic, you will be able to define which client files and
directories to backup up, and create exclude and include lists.
25
• All clients in the policy, but all files do not have to exist for every client
26
Under the Backup Selections tab, you name the files and directories that NetBackup
includes in automatic scheduled backups for clients in this policy. The backup selections
list does not apply to user backups or archives because in those instances the user
selects the files. NetBackup uses the same backup selections list for all clients in the
policy, but it is not required that all files exist on all clients. NetBackup backs up the files
that it finds. However, each client must have at least one of the files in the backup
selections list, or the client backup fails with a status code 71. Backup selections are
processed serially for each client. It is possible, however, to back up more than one
client (or policy) in parallel.
Related items are listed on the exclude and include lists. You can create an exclude list
on a client to specify files that you do not want to include in automatic and manual
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backups of that client. You can also create an include list for a client to back up a file or
directory that would otherwise be excluded by an exclude list. Many administrators
have a standard exclude list that is copied to all clients, and then use include lists to
customize clients that have exceptions to the standard exclude list.
Windows UNIX
Creating a backup
Administration Console or bpplinclude
selections list
• Use one path per line
Entries • Maximum path length of 1,023 characters
• All paths must be absolute
Path restrictions Start all paths with a drive letter Start all paths with a slash (/)
Wildcards supported *, ? *, ?, { }, [ ]
27
When defining files for your policy, the backup selection list can be set using either the
NetBackup Administration Console or the bpplinclude command. It is important
that you follow the conventions and rules used to specify backup selection lists:
• Enter one path per line, with a maximum path length of 1,023 characters.
• All paths must be absolute. Local paths on Windows must start with the drive letter
followed by a colon and a backslash (:\). The drive letter can be either upper- or
lower-case . Network paths can be in UNC format, starting with
\\server\share\. Paths on UNIX must start with a slash (/), and are case
sensitive. Note: \\.\D: is valid for a raw partition backup on Windows.
• Best practice: If the last component in the path is a directory, also follow it with a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backslash on Windows (\) or slash on UNIX (/). The trailing slash is not required but
serves as a reminder that the file path is a directory instead of a file (for example:
F:\workfiles\).
• Use wildcards to select files of a specific type or files with common naming
elements. For example:
• K:\tests\*.exe
• K:\tests\test*.txt
• C:\windows\system\log??_02
bpplinclude
28
The backup selections list under the Backup Selections tab names the files, directories,
directives, scripts, and templates that NetBackup includes in automatic backups of
clients covered by the policy. NetBackup uses the same backup selections list for all
clients backed up according to the policy. This answers the question “What is to be
backed up?”
To build a backup selections list when creating a policy using the NetBackup
Administration Console, click the Backup Selections tab and click New. You are then
prompted to provide a new path or directive. For example, you can use C:\ or /home
for a path and ALL_LOCAL_DRIVES for a directive. For detailed information on adding an
entry to the Backup Selections list, see the NetBackup Administrator’s Guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
29
versions which do not support Shadow Copy Components, such as Windows XP.
The NEW_STREAM directive is available when the Allow multiple data streams
attribute is enabled for the policy. This directive is discussed in greater detail in the
Optimizing File System Backups lesson. Refer to that lesson for further details.
Some directives apply only to specific policy types and appear only in backup selections
lists for those policies. NetBackup passes these directives to the clients along with the
backup selections list, which then perform appropriate action according to the directive.
The UNSET and UNSET_ALL directives interrupt the streaming of policy-specific
directives so that it is not passed with any additional streams.
Public network
NetBackup NetBackup
media server UNIX client
NFS
mount
/ /usr /nfs_home /home
30
The next few slides show further settings that can be configured to control backup
selections. These settings can be found under the Policy Attributes tab.
• The Follow NFS attribute applies only to UNIX clients in certain policy types, and
NetBackup enables you to select it in only those instances.
• The Follow NFS attribute specifies that you want NetBackup to back up or archive
any NFS mounted files that are named in the backup selection list, or by the user in
the case of a user backup or archive. Clear the check box to prevent the backup or
archive of NFS mounted files.
This attribute forces the client to back up NFS-mounted drives within the path.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Public network
NetBackup NetBackup
media server Windows client
CIFS
share
C:\ D:\ E:\ F:\
31
The Backup Network Drives attribute applies only to certain policy types. The Backup
Network Drives attribute was intended to be used on single-user systems—Win95,
Win98, and ME. These operating systems are not supported with this version of
NetBackup. For a computer that is not a NetBackup client, the preferred method for
backing up data is to use UNC paths. UNC paths are more precise and indicate exactly
what should be backed up. For detailed information on using UNC paths in the Backup
Selections list, see the NetBackup Administrator’s Guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup NetBackup
UNIX client Windows client
/ C:\ D:\
/home C:\data
32
Another policy attribute is Cross mount points. When enabled, this attribute forces the
client to back up locally mounted drives within the path. The Cross mount points check
box controls whether NetBackup crosses file system boundaries during a backup or
archive on UNIX clients or whether NetBackup enters volume mount points during a
backup or archive on Windows clients. It is recommended not to select the Cross mount
points attribute for policies where you use the ALL_LOCAL_DRIVES directive.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Include list
33
On UNIX NetBackup clients, you can exclude specific files from automatic backups by
specifying them in an exclude list on the client. You can also create an include list to add
certain files to the backup. An include list is useful, for example, if you want to exclude
an entire directory except for one file. It is recommended that policy names do not
include a “.” (period) character, because of the exclude and include list file naming
structure.
Note: You can create policy- and schedule-specific lists. NetBackup ignores the general
list if a specific list is present.
For detailed instructions on creating an include or exclude list, see the NetBackup
Administrator’s Guide. For detailed instructions on how to remotely manage include and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
exclude lists for UNIX clients, refer to the NetBackup Commands Reference guide, and
Article 100019744: A method for centrally managing exclude and include list for UNIX
and Linux clients at: http://www.veritas.com/docs/100019744.
Exclude list
Include list
34
Exclude lists for NetBackup clients can be used to prevent files that are found within the
backup selection from being backed up. The Exclude Lists properties apply to currently
selected clients running NetBackup.
Note: You can create policy- and schedule-specific lists. NetBackup ignores the general
list if a specific list is present.
The properties in the Exclude Lists pane include:
• Use case sensitive exclude list: Indicates that the files and directories listed for
exclusion or exception are case-sensitive.
• Exclude list: Displays files and directories to exclude from backups. By default there
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
35
In the Backup, Archive, and Restore interface, which is found on every NetBackup client,
select File > NetBackup Client Properties from the menu bar. Click on the Exclusions tab
to modify files to exclude from backup, and click on the Inclusions tab for files to
include within the excluded files. Note that modifying the exclude and include lists in
the Backup, Archive, and Restore interface modifies the exact same lists as those in the
client host properties, shown on the previous slide. On Windows, these settings are
stored in the Windows registry. For detailed instructions on creating an include or
exclude list, see the NetBackup Administrator’s Guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to view, edit, and copy existing
policies.
36
37
The easiest way to view and edit policies is by using the Policies utility in the NetBackup
Administration console. To run the Policy utility:
1. In the NetBackup Administration Console, in the object tree pane, expand
NetBackup Management > Policies.
2. Within the Policy utility, you can perform the following tasks:
• To see a hierarchical view of the policies, select Policies in the object tree pane.
• To display the details of a single policy, select the policy name in the All Policies
pane. The policy details display in the far right pane.
• To open or change a policy, in the All Policies pane, double-click the policy
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bppolicynew
38
You can copy an entire policy from an existing policy to a new one. Use the Copy
to New option to save time creating policies. This option is especially useful for the
policies that contain many of the same policy attributes, schedules, clients, or backup
selections. To copy a policy to create a new one:
1. In the NetBackup Administration Console, in the left pane, expand NetBackup
Management > Policies.
2. In the middle pane, select the policy to copy.
3. Right click and select Copy to New.
4. In the Copy a Policy dialog box, enter the name of the policy that you want to copy.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
You can indicate a policy other than the one that is selected, or leave the original
named policy.
5. Enter the name for the new policy, then click OK. The only difference between the
new policy and the copied policy is the name.
Note that using the policy copy operation can be used for copying policies of the same
policy type, but should be customized after the copy operation to prevent having
policies that perform the same operations. Additionally, the policy copy operation
should probably be avoided when copying a policy to a new policy type. It is more
appropriate to simply create a new policy for the new policy type backup.
39
You can also use the Copy to New option to save time creating schedules. Use this
option to copy a schedule into the same policy or different policy. To copy a schedule to
create a new one:
1. In the NetBackup Administration Console, in the left pane, expand NetBackup
Management > Policies.
2. In the middle pane, expand a policy and select the Schedules node that contains the
schedule that you want to copy.
3. In the right pane, select the schedule that you want to copy.
4. Right click and select Copy to New.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
5. In the Copy Schedule dialog box, enter the name of the new schedule.
6. Use the menu to select the name of the policy to which you want to paste the
schedule. You can paste the schedule into the same policy or a different policy.
7. Click OK. The Change Schedule dialog box opens for the new schedule.
40
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. 1,000
B. 500
C. Unlimited
D. None of the above
43
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. 1,000
B. 500
C. Unlimited
D. None of the above
The correct answer is C. NetBackup does not limit the number of policies that you can configure. However, the best
approach to setting up policies is to divide clients into groups according to their backup and archiving requirements, and
then create policies that are appropriate for each group.
44
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Differential incremental
B. Cumulative incremental
C. Accumulation incremental
D. Differences incremental
45
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Differential incremental
B. Cumulative incremental
C. Accumulation incremental
D. Differences incremental
46
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
47
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
48
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
3-49
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Performing File System Backups lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to use and customize the
Activity Monitor, and suspend, resume, restart, and prioritize jobs.
This is the Using and customizing the NetBackup Activity Monitor topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Jobs tab within the Activity Monitor provides a listing of jobs that are queued, are
currently running, have completed successfully (status code 0), have completed partially
successfully (status code 1), or have failed. The Activity Monitor periodically deletes
completed jobs that are more than three days old (specifically any completed jobs older
than 78 hours). To keep jobs in the Activity Monitor longer than the default value, for
example by changing the timeframe from 78 hours to 192 hours, use one of the
following methods:
• On a Windows or UNIX master server, run the command:
echo KEEP_JOBS_HOURS = 192 | nbsetconfig
• On a UNIX master server, add the entry “KEEP_JOBS_HOURS = 192” to the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
/usr/openv/netbackup/bp.conf file.
Alternatively, note that you can view older jobs in the NetBackup report found under
NetBackup Management > Reports > Status of Backups. The Status of Backups report
does not show job details, and only specific types of jobs, such as backup jobs. For
additional settings and details, refer to the NetBackup Administrator’s Guide.
You can use the Activity Monitor in the NetBackup Administration Console to monitor
and control NetBackup jobs. To display job information, in the NetBackup
Administration Console, click Activity Monitor. Summary information about all jobs is
displayed under the Jobs tab in the details pane. By default, not all columns are
displayed. The following procedure describes how to show or hide columns:
1. In the Activity Monitor, select View > Column > Layout. The Column Layout dialog
box is displayed.
2. Select the column to display or hide by selecting its heading from the list.
• Click Show to display the column.
• Click Hide if you do not want to see the column heading.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
3. To change the order in which the columns appear, select the column heading. Then,
click the Move Up or Move Down button to reorder the columns. Columns can also
be reordered from within the NetBackup Administration console by simply using
drag and drop.
4. Click OK to apply the changes.
Show / hide
custom filters
Filtering jobs in the Activity Monitor simplifies troubleshooting and reporting. For
example, you can filter for jobs that were started before a specific date, queued jobs, or
jobs with status completion codes within a specified range. The Filter dialog box can be
viewed in by accessing the View > Filter menu option, or by clicking on the Show or
Hide Custom Filter button in the top-right corner of the Activity Monitor. Clicking on the
View All button clears currently applied filters and displays all original rows again. To
create a filter:
1. In the Activity Monitor, show the custom filter pane, as shown on the slide.
2. Click Create, and in the Create Filter dialog box provide a name for the filter.
3. Under the Advanced tab, select the Field, Comparison, and Value desired.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A NetBackup administrator can cancel a job at any time from both the Activity Monitor
and from the command line. A NetBackup administrator can suspend a job that has
checkpoint restart enabled. In the example on the slide, Suspend Job is greyed out, this
means the job cannot be suspended as there are no checkpoints enabled in the policy
or if enabled a checkpoint hasn't been reached. Jobs cancelled “cleanly” as described
here, exit with NetBackup status code 150 (termination requested by administrator). If
you cancel a scheduled backup job, but the number of retries is not yet exceeded and
the backup window is still open, the backup is reattempted. Also, note that after you
cancel a backup job, the cancellation process can take several minutes. For example, if
the backup is being written to tape, the tape must be rewound and unmounted before
the cancellation process is fully completed.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Job priorities provide a method to help determine which jobs get available resources.
This can be used to help administrators prioritize certain high priority clients and data
against other clients with a lower priority. Job priorities can be set as a default value for
different job types in the policy, before the job runs, or on jobs that have already been
added to the Activity Monitor in NetBackup. The NetBackup Resource Broker (nbrb)
uses the job priorities to determine which job is assigned available backup resources, in
addition to other factors, such as multiplexing requirements. The NetBackup resource
broker re-evaluates resource requests every five minutes, or when triggered by an
external event, such as a resource release.
In Master Server Properties > Default Job Priorities, you can set the default job
priorities for different job types. The Default Job Priorities host properties list 18 job
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
types and the configurable default priority for each. The job priority range is 0–99999.
10
This slide shows how to set job priorities on a policy and on running jobs. Note that
although you can change the job priority of a running job, because it has already
started, this priority has no effect. However, if the job fails, and then gets re-queued for
another attempt, it is re-queued with this new priority.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
ckpt1 ckpt3 ckpt5 ckpt7 ckpt9 ckpt11 ckpt13 ckpt15 ckpt17 ckpt19 ckpt21 1
Backup fails
ckpt2 ckpt4 ckpt6 ckpt8 ckpt10 ckpt12 ckpt14 ckpt16 ckpt18 ckpt20 ckpt22
The job is marked
as incomplete
HOURS
HOURS
SS
TT EE 3
AA 11 22 33 44 55 66
NN Job is
RR DD
TT
done
2 Job resumes
Job starts from the point in the file system ckpt22 ckpt24 ckpt26 ckpt28
indicated in the last checkpoint: “ckpt22”
ckpt23 ckpt25 ckpt27
11
The Take checkpoints every check box indicates whether NetBackup takes checkpoints
during backup jobs based on this policy at the frequency indicated. Taking checkpoints
during a backup is beneficial in the event that a backup based on this policy fails.
Without Take checkpoints every enabled, a failed backup based on this policy is
restarted from the beginning of the job. By taking checkpoints periodically during the
backup, NetBackup can retry a failed backup from the last checkpoint rather than
restarting the entire job.
The number of times that NetBackup automatically reattempts a failed backup is
configured by the Schedule Backup Attempts property located in the Master Server
Properties > Global Attributes dialog box. Policy types MS-Windows (for Windows
clients) and Standard (for UNIX clients) support checkpoints for backup jobs. Job types
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
that do not support checkpoint restart include catalog backups, duplication jobs, Vault
jobs, import jobs, synthetic backup jobs, and most database agents.
Note: Any of the database agents would not support a Checkpoint restart functionality,
it’s basically supports the OS file level type backups.
How often NetBackup takes a checkpoint during a backup is configurable. The
administrator determines on a policy-by-policy basis how to balance more frequent
checkpoints with the likelihood of less time lost in resuming a backup because of more
checkpoints. The default is checkpoints every 15 minutes. The minimum supported
value is every 5 minutes, and maximum is every 180 minutes (every 3 hours).
12
slide.
Windows system
• No checkpoints are taken.
state backup
Disk-image (raw)
• No checkpoints are taken.
backup
NTFS resumed • Archive bits cleared for files backed up after the resume.
incremental backup • Archive bits not cleared for files backed up prior to the resume.
13
https://technet.microsoft.com/en-us/library/dd573308%28v=ws.10%29.aspx.
On a Windows client's NTFS file system, when a differential incremental backup is
resumed and then completes successfully, the archive bits are cleared for the files
backed up since the resume, but not for the files backed up prior to the resume. This
means that the files backed up prior to the resume are backed up again on the next
differential incremental backup.
After completing this topic, you will be able to initiate a manual backup job,
and monitor backup jobs using the Activity Monitor.
14
Manual (immediate)
• Initiated from the NetBackup Administration Console
• Initiated from OpsCenter
• Initiated from command line on a NetBackup server
User-directed
• Initiated by users or scripts on the client
• Performed on authorized NetBackup clients only
15
• Testing a configuration.
• Resubmitting a missed or failed backup.
• Preserving an old configuration prior to upgrading.
16
as needed.
Since you can invoke a manual backup outside a policy’s normal backup window, a
successful manual backup job can affect a frequency-based schedule because it qualifies
as a successful backup. Consider that frequency-based schedules are based on the
amount of time (frequency) since the last successful backup job. This may therefore
mean that an automatic backup does not run when you next intended it to.
• Current “limitation” is 86,400 jobs in a 24 hour period (actual number is lower due to the system load).
• Currently, each new Job is tagged with a UNIX time incremented per second, per Master.
• Mostly customers will not notice a change. Customers are not coming close to this threshold value.
17
This slide displays the information about NetBackup 8.2 and onwards, more backup jobs
can start: one job per client per second.
Note:
• The default parameter is DBM_NEW_IMAGE_DELAY, you can modify this value to
it’s default settings: DBM_NEW_IMAGE_DELAY = N
o Where N > 0 and N <=1000, and N is the time in milliseconds to sleep after each
image creation. If N <= 0, no delay is performed. If N > 1000, only 1000
milliseconds (1 second) delay is used.
• Setting the DBM_NEW_IMAGE_DELAY = 1000 value approximates the previous
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
requirement.
bpbackup -i
18
multiple equivalent candidates, then schedule with the highest retention level is
chosen. It is therefore recommended to explicitly specify the schedule that you
wish to use.
• If you do not select any clients, NetBackup backs up all clients.
• If a User schedule exists, they are not displayed in the schedules list and cannot
be manually backed up because they do not have a backup selection list (the user
selects the files). These types of backups are run from the client system, either by
an application or script, or an administrator (user).
4. Click OK to start the backup.
19
You can expect backup success to be the norm in a properly configured and well-
maintained NetBackup environment. NetBackup is a very robust application in terms of
detecting and reporting errors, therefore, when problems do occur, you should be able
to track them down and correct them quite reliably.
A status code 0 (and the accompanying success icon:) I in the Activity Monitor
indicates that a backup job has completed successfully. Any other status code or icon
indicates that a backup was only partially successful or has failed. There are other
methods by which you can determine if a problem has occurred with a backup job,
including reports and activity logging.
A status code 1 (and the accompanying partial success icon:) in the Activity Monitor
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
indicates that the job has partially succeeded. For file system backups, this could mean
that some of the targeted files did not get backed up. It could be only one file was
missing, or many files, and there is no indication how important these missing files are.
Look at the job details for information on which files are not included. If those files are
not important (such as temporary or cache files that aren’t needed for recovery),
consider excluding them from future backups, so that you instead complete with status
code 0. Using Windows VSS or other snapshots may fix these issues.
Other reasons may exist for status code 1 backups, and for application and database
backups, a status code 1 may indicate a larger problem, and may result in the inability to
perform restores.
20
To view the details for a specific job, double-click the job under the Jobs tab. The Job
Details dialog box is displayed. Detailed job information is contained under three tabs:
• Job Overview provides a high level view of the job.
• Detailed Status lists the step by step actions performed during the job. Under the
Detailed Status tab, a Troubleshooter button is available to launch the
Troubleshooter, which can help determine the cause of the problem and
recommend corrective actions.
• Job Hierarchy shows the job hierarchy, discussed in more detail on the following
slide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
Hierarchical jobs, when one job is a parent of one or more child jobs, is a behavior seen
frequently with Storage Lifecycle Policies, snapshot jobs, catalog backup jobs, and many
other job types. The Activity Monitor in the NetBackup Administration Console can
optionally show a hierarchical job view. There is a button on the toolbar which enables
this functionality, or you can select View > Jobs in Hierarchical Manner from the menu
bar to toggle this view.
You can get this information by moving the Parent Job ID column, which by default is
placed to the far right, close to the Job ID column. In this way, you can see the job
associations. However, the hierarchical job view makes this easier to visualize. The job
hierarchy can also be seen in the Job Hierarchy tab of the job details.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
In some cases backup jobs may initially fail, but then, when retried by NetBackup, they
succeed in a future attempt. You are able to see the details for each job attempt in the
Detailed Status tab of the job details. Simply use the up and down arrows to the right of
the Attempt field. The slide displays one of these cases, where the first attempt to run a
backup job resulted in a status code 157: suspend requested by Administrator. The
second attempt at running the job succeeded and exited with a status code 0.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure and perform user-
directed backups using the Backup, Archive, and Restore console.
23
24
list. Clients can obtain status information using progress logs, e-mail notifications, and
the activity monitor. User-directed backups and archives can be initiated by:
• An interactive user, such as a file owner, system administrator, or DBA by using the
BAR console, or NetBackup commands.
• A backup script launched at regular intervals.
• An event trigger that kicks off a backup script.
25
User-directed backups require a backup policy that contains a User Backup schedule,
and the client names added into the Clients tab of that policy. Consider the following:
• When you establish a user backup schedule, you provide users with a start window
during which they can perform their own backups or archives. Users can start
backups and archives only during the times permitted under the schedule’s Start
Window tab. When you set the start window, consider the times that users typically
are at work and likely to need to initiate user-directed backups. If a user starts a
backup outside of this window, the backup job fails.
• User backup schedules can be included in a policy that contains automatic backup
schedules. If you create separate policies for user backups, the considerations are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
similar to those for automatic backups. Jobs running user backup schedules ignore
the policy’s backup selection list. The files backed up are specified as part of the
request to run the backup job at the time the request is made by the user.
• The policy name you choose is significant. By default, NetBackup alphabetically
searches (uppercase characters first) for the first available policy with a user backup
schedule with an open backup window, and a matching host name under the Clients
tab of the policy. If no user backup schedule is found, the backup fails with a status
code 240: no schedules of the correct type exist in this policy.
26
Users can initiate backups and archives using the Backup, Archive, and Restore interface
on the client machine. These operations can be performed without administrator
intervention, and the user does not need to log on to any of the NetBackup servers.
When performing user-directed operations using the NetBackup BAR console, only files
for which the logged-in user has rights are shown. Perform the following steps to start a
user backup operation:
1. From the BAR console, click Select for Backup.
2. Select the desired files and folders for backup by selecting the check box to the left
of the file or folder. To mark all files and folders that currently appear, select Edit >
Mark Displayed Files.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
3. Start the backup operation by clicking the Backup button. The Backup Options
window is displayed. The NetBackup server drop-down allows you to select the
master server you wish to use for this backup, if more than one master server exists
for this client. If a specific policy or schedule should be used, use the Action>
Specify Policy and Schedule dialog prior to clicking on the Backup button.
4. Confirm the backup selection and click Start Backup.
BAR
console
Activity
Monitor
27
The View Status dialog box enables you to view the progress of a NetBackup operation.
The status is displayed in the top pane. Select the job that you want to monitor. The
lower pane reflects the progress of the item selected in the upper pane. The NetBackup
operation is finished when the status changes to Successful. If NetBackup is unable to
back up all of the requested files, a status code is displayed a few lines before the end of
the progress report. The NetBackup Status Codes Reference Guide lists the meaning of
the final status code. You can also monitor user-directed jobs using the Activity Monitor
in the NetBackup Administration Console. User-directed backups display as
User_backup in the Job Schedule column. You can use this to keep track of how many
user-directed backups are being run in your environment.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to identify common backup job-
related status codes.
28
• Mis-defined schedules.
Schedule issues • Status code 196 (The client backup was not attempted because the
start window closed).
29
The slide describes some common backup policy issues and troubleshooting. For
additional troubleshooting assistance, refer to the NetBackup Troubleshooting Guide, to
the NetBackup Status Code Reference Guide, or attend the Veritas NetBackup
Maintenance and Troubleshooting course.
• Schedule issues: Problems with schedules typically involve incorrect definitions of
policy elements. Mis-defined schedules, clients, or backup selections can lead to a
backup failure. The most common status code associated with policy schedule errors
is: “Status code 196: The client backup was not attempted
because the backup window closed”. Due diligence is required on your
part to verify that such oversights are corrected. Evaluate and adjust the policy
attributes, as necessary. Extend the backup window to avoid errors resulting from the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
31
The slide highlights some common NetBackup job status codes that indicate that there
was an issue encountered when running a backup job.
• NetBackup status code: 1 indicates that the backup was partially successful. With
this status code, you know that at least one file was backed up, but beyond that a
problem occurred.
• NetBackup status code: 71 indicates that none of the files in the policy’s backup
selections list exist. Verify the policy file list to ensure that the file names are correct.
If a single client is the source of the error, consider moving it to a different policy.
• NetBackup status code: 196 indicates that the backup job was queued, but the start
window closed before the backup could run. A 196 error is usually indicative of a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
resource issue, such as there is not enough time for all backups to complete, the
network can be slow, or there may not be enough tape drives to handle the data
load.
For a detailed explanation of these and other status codes, see the NetBackup Status
Codes Reference Guide.
32
The table on this slide summarizes how backup jobs can be managed using the
NetBackup Administration Console (GUI), NetBackup commands (CLI), and NetBackup
OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
33
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
34
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
35
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Immediate
B. Automatic scheduled
C. Manual
D. User-directed
36
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Immediate
B. Automatic scheduled
C. Manual
D. User-directed
37
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
38
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
39
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
40
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
4-42
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Performing File System Restores lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe the restore process
and the restore methods used within NetBackup.
Client-directed restores
• Only the client that backs up files to restore those files, by default
• Disable all restrictions with the No.Restrictions setting
• Allow specific clients with altnames settings
The default behavior for NetBackup is to allow NetBackup administrators running the
NetBackup Administration Console, which is connected to a master server, to be able to
restore to any client in that environment. To prevent server-directed restore on a
NetBackup client:
• On Windows clients: In the Backup, Archive, and Restore interface, in the toolbar,
select File > NetBackup Client Properties > General, then clear the Allow server-
directed restores check box.
• On UNIX clients: Add DISALLOW_SERVER_FILE_WRITES to the NetBackup
configuration file on the client: /usr/openv/netbackup/bp.conf.
Additionally, the default behavior is that anyone with the ability to run the Backup,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Archive, and Restore interface on a specific client, can only restore that client’s data.
To change client restore permissions, first create the altnames directory on your master
server at install_path\NetBackup\db\altnames (Windows) or
/usr/openv/netbackup/db/altnames (UNIX). Then, within the directory:
• To disable all restrictions to allow any client to restore any clients data, create an
empty file with the name No.Restrictions.
• To allow individual clients to perform redirected restores, create a peername file: A
file named after the NetBackup client which has the ability to restore other clients.
Windows Backup
Archive and Restore
(BAR) interface
OpsCenter
Operational Restore
There are four different ways to perform restore operations within NetBackup.
• Restores can be initiated from the NetBackup Backup Archive and Restore (BAR)
interface, or by using the Windows Backup Archive and Restore (BAR) interface.
Note: Although the Windows Administration console is no longer supported since
NetBackup 7.7, the Windows BAR tool is still supported, primarily for user backups
of Windows clients. Detailed information about using the Windows BAR console is
provided in Appendix D of this course. To perform an administrator-directed restore
to a specific client, use the Backup, Archive, and Restore interface on the master
server that backs up the source client. To perform a client-directed restore, use the
Backup, Archive, and Restore interface on a client machine.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to restore files and monitor
restore operations using the Backup Archive and Restore (BAR) interface.
This is the Performing restore operations using the BAR interface topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
To perform a restore using the Backup, Archive, and Restore interface, follow the steps
shown on this slide. This procedure is demonstrated in detail in this topic. You can start
the BAR interface either using the NetBackup Administration Console (by selecting
Backup, Archive, and Restore in the object tree pane), or as a standalone application.
On a Windows client, open nbwin.exe (or click on the Backup, Archive, and Restore
shortcut), and on a UNIX client, use the jbpSA & command. By default, NetBackup
clients are configured to allow NetBackup administrators on a master server to direct
restores to any clients. These are referred to as Server-directed restores. To perform an
administrator-directed restore to a specific client, use the Backup, Archive, and Restore
interface on the master server that backs up the source client.
For client-directed restores, by default, NetBackup permits files to be restored only from
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backups of the client. The client may not restore from backups of other clients.
NetBackup ensures that the client name of the requesting client matches the peer name
that was used to connect to the NetBackup server. The NetBackup administrator can
modify this behaviour, either on a single client or for all clients. See the NetBackup
Administrator's Guide for details.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
One of the first steps is specifying the NetBackup hosts and policy types by selecting
Actions > Specify NetBackup Machines and Policy Type from the menu, or clicking on
the corresponding button. For normal user-directed restores to the original client,
accept the default settings.
• Server to use for backups and restores: This setting defines the master server used
for restore (not the media server). If you need to add a master server to the drop-
down list, click Edit Server List, and add the master server to that list, and then
select that server.
• Source client for restore: When performing server-directed restores or alternate-
client restores, select the client from the drop-down list. Alternatively type the client
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
name. Be sure to use the correct client name that NetBackup used to backup the
client, otherwise no backup images are found.
• Destination client for restore: Use this field when performing server-directed
restores. For restores to the original client, leave the destination client as is. If you
need to change the destination client, select the corresponding client. Note that the
destination client must have the NetBackup client software installed.
• Policy type for restores: Select a policy type from the drop-down list. If an incorrect
or unused policy type is selected, no valid backups are found for restore.
After you have made all of the necessary selections, click OK.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
10
Select the appropriate restore type from the drop-down menu under the Restore Files
tab. Restore type selections include:
• Normal Backups
• Archived Backups
• Raw Partition Backups
• True Image Backups
• Point in Time Rollback
• Virtual Machine Backups
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
11
After you specify a restore type, you need to identify the backups you want to view. This
is performed by setting a date range which NetBackup uses to limit the backup images
examined for restores. Instead of specifying a date range, you can choose your backup
from a list. This changes the date range based on the selected images. From these
backups, you eventually select the files for restore. The Backup, Archive, and Restore
interface provides two ways to set this date range:
• Specify a date range: You can specify a range of dates for the backups you want to
view. Click the Use calendar to set date range button, and the Date Range dialog box
is displayed. Select a Start Date and an End Date and click OK.
• Backup list: Click the List Backups button to display a list of backups. Select the full
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
12
After selecting the backup images you wish to restore from, you should see a list of files
and folders you can restore from at the bottom pane. If a timeframe was selected that
includes multiple backup images, then it is possible that multiple versions of a file or
folder can be restored. By default, the Backup, Archive, and Restore console displays the
most recent version of the file, for the backup images that are currently selected by the
date range specified. If you want a list of all files from the selected backups, including
files for which there are multiple versions from different dates, click the Show all
backup in the specified date range button. If you want to return to view only the latest
version of the files, click the Show most recent backup in the specified date range
button.
To search for files in a backup, click the Find items to restore button.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
To browse for files in a particular location, set the Browse directory as appropriate.
Note that the default browse directory may be set in a manner which does not
correspond to files or folders that have been backed up. Set it to “/” manually, if
necessary.
To determine which files can be restored, you may need to refresh the screen. Select
View > Refresh. The items you can restore are displayed in the Contents of selected
directory list. From this list, determine which files you can restore.
The –t option enables bplist to reference different policy types. The following
example is for bplist syntax for Microsoft Exchange backups.
bplist –C train2 –t 16 –l –s 01/01/10 –R /
For a detailed explanation of the options you can use with the bplist command, see
the NetBackup Commands Reference Guide. Technical Article 100016074: A listing of
policy types and how they are used with bplist and other commands
(http://www.veritas.com/docs/100016074) describes policy types and how they are
used with bplist and other NetBackup commands.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
14
To mark a folder for backup or restore, select the check box to the left of the folder.
• A checked box ( ) indicates that all of the files and subfolders within that folder
are marked.
• A partially checked (forward slash mark) box ( ) indicates that only some of the
files or subfolders within that folder are marked.
• To mark all the files (and folders) that are currently displayed, select Edit > Mark
Displayed Files.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
5
Mark files to Disk
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
15
After selecting the files and folders to restore, click the Preview button. The Media
Required dialog box is displayed with a list of the media required to perform the
restore. Use the contents of this dialog box to verify which media are required to
perform the restore. This helps you determine if you require a tape that is currently
offsite or otherwise unavailable. Note that for disk-based media, the Preview button is
not necessary, and returns the message “No media is required for restore. Images are
on Disk.” If the backups are on disk, instead an informational message is provided to
inform you that no media is required for the restore. Click Restore to start the restore
job. The Restore Marked Files dialog box is displayed and you are required to define
some final parameters before the restore operation starts.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Mark files to
5
restore
Preview required
6
media
Set destination /
7 Initiate the
restore options
restore
8 Initiate restore
9 Monitor restore
16
The Destination pane of the Restore Marked Files dialog box grants you varying levels
of control over the placement of the files:
• Restore everything to its original location (Default): Restores items to the file or
path from which they were backed up.
• Restore everything to a different location (maintaining existing structure): Restores
items to a file or path other than the path from which they were backed up.
• Restore individual directories and files to different locations: Restores items to
paths other than the path from which they were backed up.
• Create and restore to a new virtual hard disk file: For Windows 2008 R2 clients and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Windows 7 clients, you can restore marked items to a new, virtual hard disk (VHD)
file. If you select this option, you must specify a new VHD file. You cannot restore to
an existing VHD file with this option.
When you enter the destination path and the file name for the new VHD file, do not
include the .vhd extension. The extension is added automatically.
After you enter the new destination path and the file name, click Setting. Set the VHD
file size and select the behavior of the file as follows:
• Virtual hard disk size: Select the VHD file size. Ensure that you do not exceed the
maximum available amount of space.
• Dynamically expanding (default): If you select this option, the VHD file expands up
to the specified virtual hard disk size.
restoring to an alternative boot disk, it is necessary to rename hard links for the
system to boot from the restored disk, but soft links should not be renamed.
• Use default progress log filename: To write the progress messages to a log file other
than the default, clear the Use default progress log filename check box, and then
enter the name of the alternative progress log.
• Override default priority: Select this option to change the priority for the current
restore operation. The available range is 0 - 99999. The higher the number, the
greater the job priority.
After you have selected all of the necessary options, click Start Restore.
Mark files to
5
restore
Preview required
6
media
Set destination /
7
restore options
8 Initiate restore
9 Monitor restore
18
You can monitor the progress of the restore operation from the Task Progress tab in the
Backup, Archive, and Restore interface. Here you see the progress of the restore job as
it executes. If an error is encountered, determine the cause of the problem and perform
corrective actions. Restores can also be monitored from the Activity Monitor in the
Administration Console.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to restore files and monitor
restore operations using OpsCenter Operational Restore.
19
This is the Performing restore operations using OpsCenter Operational Restore topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Includes options similar to the Backup, Archive, and Restore (BAR) console, but with additional search
capabilities
Enables previews of required media, including the ability to export this data in multiple formats
20
Operational Restore provides a simplified search and retrieval mechanism that works
across multiple NetBackup domains, and was introduced in NetBackup OpsCenter 7.5.
Although it requires an OpsCenter server, it comes at no cost and does not require any
license. This feature enables restores to be initiated using the OpsCenter Web console
and removes the need to install the BAR console on customer workstations. The search
capabilities facilitate searches without requiring specialized knowledge of the backup
environment.
Operational Restore includes enhanced filtering selection, the ability to use wildcards
for search, and manual browsing of directory and sub-directory structures of backed-up
images for files with specific metadata. Additionally, a restore cart enables you to view
file selections from multiple search and browse operations and restore them at a later
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
22
After clicking the Restore Files and Directories link, the Files and Directories Restore
wizard is displayed. The Files and Directories Restore wizard consists of three panels:
• Select Files or Directories enables you to perform simple or advanced search
operations for locating specific files or directories that you want to restore.
• Restore Options enables you to select a number of restore options, such as
destination client, destination path, and overwrite options for the selected client.
• The Summary displays the list of files or directories that you have selected for
restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
23
Under the Select Files or Directories tab, the Search tab is displayed.
3. Make your search selections based on the following search criteria:
• Select a time frame that you want to search. The default time frame is Month.
• File or Directory name: Enter a full path using a path delimiter of forward slash (/)
on UNIX or back slash (\) on Windows, or enter a specific file or directory name.
Alternatively, if the exact directory or file name is not known, use the * (any number
of any characters) and ? (any one character) wildcards.
• Search within Clients: Specify the set of clients whose backup information you want
to search. You can search multiple clients from multiple master servers.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
25
To perform an advanced search, you can specify advanced search criteria in addition to
the simple search criteria. The Advanced Search criteria are optional. For more
information about the advanced search criteria, see the NetBackup OpsCenter
Administrator’s Guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
4. After you have made all of your search selections, click Search. It may take some
time for OpsCenter to display the search results. The time to display the search
results may increase with the number of selected clients. OpsCenter highlights the
search results at the bottom of the pane in a table.
This slide presents the procedure to browse the protected files and directories on a
client. This method enables you to select the client to be browsed and specify a time
frame for backup selection. You can select only one client at a time. The most recent
backup in the specified date range is shown by default. Under the Search tab, you can
see that the search has completed successfully. Search results are displayed while the
search is in progress.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The filter button at the top of the search results table enables you to further filter the
search results. The result is a filtered subset of the last search result from the OpsCenter
database. You can also customize the search results table to display sort order, page
size, columns displayed, and column order. Click the Change Table Settings icon at the
top of the search results table to access the table customizations page.
By default, the search results table lists the following default columns: File or Directory
Name, File or Directory Path, Backup History, Last Backup Time, Modified Time, Client,
and Size. Operational Restore enables you to add Master Server, Last Accessed Time,
and Backup ID columns to the table. If there are additional results, the number of rows
and pages is displayed.
You can also use the nbfindfile command to search files or directories based on
simple search criteria. This command can be executed from the NetBackup master
server, not the OpsCenter Server. For more information about the nbfindfile
27
5. To select one or more files or directories to restore, mark the check box next to the
file or directory.
• To restore the files or directories now, click Restore now.
• If you want to add the selected files and directories to the Restore Cart and
restore them at a later time, click Add to Restore Cart.
To display the backup history, click the Backup History Selection link for the file or
directory that interests you. The Backup Timeline window is a timeline view of backups
for a specific file or directory. At the top of the Backup Timeline window, the name and
location of the selected backup’s file or directory are displayed. The timeline displays
icons that each represent a different backup or snapshot. By default, the primary
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup copy of the most recent backup for this file or folder is selected, however this
window enables an alternate backup copy to be chosen by clicking on that icon.
The Backup table in the middle of the window displays information about the backup
that is selected from the timeline view. It displays information, such as backup time,
policy name, policy type, backup type, and so on. Click an icon to view the details of the
specific backup in the Backup table. After you select the specific backup image that you
want to restore from the Backup table, the copies that are associated with the backup
image are displayed in another table at the bottom of the window. The Copies of
Selected Backup table displays information about the copies that are associated with
the selected backup image. By default, the primary copy is selected.
28
When you click Restore now, the Restore Options panel is displayed. You can specify
restore options for the files and directories that you selected, such as destination client
and paths, and overwrite and access control options. This panel enables you to specify
the restore options for each source client from which a file or directory has been
selected to be restored.
29
7. Prior to initiating the restore, click Preview Media to view the media required for
the restore operation and to determine the availability of the required media. The
Preview Media dialog box is displayed. This helps you determine whether the
required tape is in the library. If the selected backups are all on disk, this option is
not applicable.
When you have finished with the Preview Media dialog box, click Close.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Summary panel displays the list of files and directories that have been selected for
restore. It also displays information about the current location of these files and
directories and where they are to be restored. The Summary panel shows a table that
includes the source file name, the source file path, the source client, the destination file
path, and the destination client. At this point, you have one last opportunity to remove
files or directories from the Summary panel. To remove files or directories that you do
not want to restore, click the Remove files or directories button.
8. In the Summary panel, click Restore to restore all the files or directories.
The corresponding restore jobs are triggered, and the File or Directory Restore
Launch Status dialog box is displayed. This dialog box identifies the job ID of the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
restore job, the name of the master server that is associated with the client on
which the file resides, and the name of the source client.
Click OK to navigate to the OpsCenter Monitor > Jobs tab and view the job progress
details.
The Monitor > Jobs view provides details about NetBackup jobs. In this example,
detailed information about Job ID 264, the restore job, is displayed. Notice that the job
is selected in the content pane, and additional information is displayed in the details
pane.
After completing this topic, you will be able to monitor restore operations,
and identify common restore-related issues.
31
32
You can also monitor the progress of the restore operation from the NetBackup
Administration Console Activity Monitor.
Suspending and resuming a restore job
If you are a NetBackup administrator, you can suspend a checkpointed restore job and
resume the job at a later time. For example, while running a restore job for several
hours, you may receive a request for a second restore of a higher priority that requires
the resources being used by the first job. You can suspend the first job, start the second
restore job, and let it complete. You can later resume the first job from the Activity
Monitor and let that job complete. To suspend a restore job, right-click the job in the
Activity Monitor and select Suspend. To restart the job, right-click the suspended job
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
and select Resume. You can also use the Suspend and Resume buttons in the toolbar.
Limitations to Checkpoint Restart for restore jobs include the following:
• The restore restarts at the beginning of the last checkpointed file only, not within
the file.
• Only the backups that are created using Standard or MS-Windows policy types are
supported.
• Third Party Copy and Media Server Copy images that use Standard policy types are
supported, but cannot be suspended or resumed if the backup image has changed
blocks.
Improper file permissions Ensure you have read permission for files in the backup image and write
permission for the restore destination.
Access control lists (ACLs) • Ensure the restore is not cross-platform.
• Ensure the tar file is a NetBackup-modified tar file.
Incorrect restore criteria Confirm the policy type, server and client names, restore type, browse
directory, and date range.
34
• Access control lists (ACLs). By default, the NetBackup modified GNU tar restores
ACLs along with file and directory data. In the following situations, the ACLs cannot
be restored to the file data:
• Where the restore is cross-platform (such as restoring an AIX ACL to a Solaris
client, or restoring a Windows ACL to an HP-UX client)
• When a tar other than the NetBackup-modified tar is used to restore files
install_path\NetBackup\logs\bplist
install_path\NetBackup\logs\bprestore
Create these directories with public-write access. The commands create debug logs
within the respective directories, which you can use for detailed troubleshooting. If a
non-root user is specified under USEMAIL = mail_address in the $HOME/bp.conf file
of a NetBackup UNIX client, NetBackup sends an e-mail containing the restore
completion status to mail_address. This message is sent when the restore process
completes.
36
When attempting a restore, you may receive an error stating No Files Found. This is a
common occurrence when some of the restore fields are not set correctly for the data
in question. Some parameters to check include:
• Source client: Make sure to use the correct host name for the source client. If the
image was registered under the short name, console, then use the short name. If
the backup was done using the FQDN, console.example.com, use the FQDN.
• NetBackup server: Ensure that the correct master server name is used.
• Date range: Enter the date range for valid backups. If the date range you are using
doesn’t yield any results, verify that backups completed for that client, during that
time.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Browser directory: The directory needs to be set so that it is valid for the backup
data. If the default directory shown is for data that was not included in the backup,
then no files will be found. Change the folder to one that is relevant to your backup.
This primarily applies to UNIX and Linux-based images.
• Restore type: If a restore type is chosen that doesn't match your backup, then no
data will be shown. For many backup types, the Normal Backups restore type
should be chosen.
• Keyword: Ensure this entry is clear, if keywords are not being used. Otherwise the
backup images shown will be limited to those using the keywords selected.
37
The table on this slide summarizes how restore jobs can be managed using the
NetBackup Administration Console, NetBackup commands, and OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– You learned how to initiate and monitor restore operations using the Backup, Archive, and Restore
interface and Operational Restore.
– You also learned how to monitor restore jobs.
– Finally, you learned how to identify common restore-related status codes.
• Reference materials
– NetBackup Administrator’s Guide
– NetBackup Commands Reference Guide
– NetBackup Status Codes Reference Guide
– NetBackup Troubleshooting Guide
– NetBackup Backup, Archive, and Restore Getting Started Guide
– OpsCenter Administrator’s Guide
– http://www.veritas.com/support
38
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
39
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
40
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
41
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
42
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
43
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
44
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
45
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
5-47
Not for Distribution.
Veritas NetBackup 8.2:Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Configuring Disk Pools lesson in the Veritas NetBackup 8.2: Administration
course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe disk-based storage,
including disk pools and AdvancedDisk storage.
The slide reviews disk storage types in NetBackup (listed by the corresponding disk type
identification categories used in NetBackup), including BasicDisk, AdvancedDisk,
OpenStorage and PureDisk. This lesson discusses the AdvancedDisk storage type,
specifically using simple disk pools of multiple disk volumes, on a single media server.
Creating disk pools in NetBackup offers several benefits over basic disk storage units.
Resources are used more efficiently by logically combining disk resources on a single
server or across multiple servers. Using disk pools unlocks a number of additional
features, including capacity management, data classifications, storage lifecycle policies,
and media server load balancing. Disk volumes can be added to a disk pool to increase
capacity, and there is no inherent limitation for capacity size of the disk pool.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdeployutil
https://www.veritas.com/content/support/en_
US/doc/123533878-127136857-0/v123549289-
127136857
Many licensed options in NetBackup are capacity-based; this means that these options
license a specific amount of data storage of a particular type. The Flexible Disk Option,
which tracks space usage for AdvancedDisk pools, is capacity-based.
Access the NetBackup License Keys dialog box, select Help > License Keys, and
determine if you have the Flexible Disk Option. Capacity-based licensing applies only to
the used capacity (active backup images), rather than the total capacity of the storage
units or disk pools. To report on the actual disk space usage and NetBackup capacity
compliance, you will need to run the nbdeployutil command.
For assistance, refer to nbdeployutil in the NetBackup Commands Reference guide at:
https://www.veritas.com/content/support/en_US/doc/123533878-127136857-
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
0/v123549289-127136857.
OpenStorage
Technology (OST)
Disk volume
Disk pool Media
server
(physical)
OpenStorage is a Veritas API that enables NetBackup to communicate with the storage
implementations that conform to the API. Disk appliance vendors participate in the
Veritas OpenStorage Partner Program. Veritas qualifies their storage solutions for the
OpenStorage API. The vendor's storage controls the storage format, the location where
the images reside on the storage, and the data transfer method. As a result,
performance and storage utilization are highly optimized.
Third-party OpenStorage servers include disk appliance vendors that provide a software
plug-in that is installed on the NetBackup media server. NetBackup media servers use
the plug-in to communicate with the disk appliance. From the NetBackup master server,
a disk pool is created that points to the disk vendor’s appliance, which is now known as
a storage server. NetBackup determines when backup images are created, copied, or
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
deleted. Images are moved, expired, or deleted on the storage when NetBackup
instructs the appliance to do so through the API.
In the event that third-party OpenStorage vendors are being used in a NetBackup
environment, the OpenStorage vendor’s disk array is considered the disk enclosure and
the disk pool. The disk array is also the storage server, since it is responsible for the I/O
to and from disk. To be able to communicate correctly with the OpenStorage vendor’s
disk array, the NetBackup media server need to ensure that a NetBackup plug-in, which
is provided by the third-party vendor, is installed. This is an environment where the
media server and storage server are not contained in the same server.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
10
OST Cloud Storage plug-ins enable Veritas NetBackup to access Cloud Storage Solutions.
Either the storage vendor or Veritas provides a software plug-in, which is installed on
each NetBackup Media Server that is connected to the cloud solution. Supported
vendors may include ACP, Amazon, AT&T, China Mobile, China Telecom, Chunghwa
Telecom, Cloudian, Datish Systems (OpenDedup), Deutsche Telekom, Dell EMC, Fujitsu,
Google, HGST, Hitachi, IBM, Microsoft, NetApp, Oracle, Quantum, Rackspace, Red Hat,
Scality, StorReduce, SUSE, SwiftStack, Telefonica, and Veritas.
OST Cloud support information, including a detailed list of supported vendors, solutions,
and functionality, is listed in the Hardware and Cloud Storage Compatibility List (HCL) at:
http://www.netbackup.com/compatibility.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
WAN LAN
Cloud storage
vendor
Media Master
servers server
11
In an environment using a cloud storage vendor, the storage server is the cloud vendors
server. The data movers are the NetBackup media servers, which are assigned to the
storage units that target the disk pool with the cloud storage server. Multiple cloud
storage data movers can target the same cloud storage disk pool, to assist with load
balancing the client’s data.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure storage servers,
AdvancedDisk disk pools, and AdvancedDisk storage units.
12
Disk M1 M2 5340-1
enclosures
Internal
storage
13
The NetBackup AdvancedDisk storage option lets you use the disk storage that is
exposed to NetBackup as a file system for backups. Storage can be direct attached
storage (DAS), network attached storage (NAS), or storage area network (SAN) storage.
NetBackup requires exclusive access to the storage for capacity management and load
balancing.
An AdvancedDisk disk pool enables several disk volumes to be combined into one
logical storage destination in NetBackup. The pool is accessed by a single storage server,
which must also be a NetBackup media server. These disk volumes may exist across
multiple physical disk arrays or internal storage disk volumes on a storage server.
Generally, pooling disks from a server into a single pool is a good idea, however, Veritas
recommends placing disks of significantly different sizes or speeds into separate pools.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Even though high-performing SAN disks and slower drives could go into the same pool,
separating them into separate disk pools allows for predictable performance behavior.
An AdvancedDisk storage unit must be configured to target a single disk pool, and it
cannot specify individual disk volumes in a pool. However, more than one storage unit
can be configured for a single disk pool. This may be performed to allow higher priority
policies to have additional concurrent write streams. NetBackup assumes exclusive
control of all disk volumes configured within a disk pool, enabling NetBackup to manage
and report disk capacity accurately. A disk volume cannot exist in more than one disk
pool. If NetBackup is unable to write an image to a single disk volume in a disk pool, the
backup spans to the next available disk volume. Spanning can occur from any volume to
any other volume in that disk pool. It is not possible for a single backup image to span
multiple disk pools, even if the disk pools exist in a storage unit group.
Determine whether an Create a new storage Create a new disk pool Configure one or more
AdvancedDisk storage server if necessary storage units for the
server is already disk pool
configured
14
The slide provides an overview of the steps involved to configure a usable disk pool and
corresponding AdvancedDisk storage server.
1. First, determine whether or not the target media server is already configured as an
AdvancedDisk storage server. This process only needs to be performed once per
media server, regardless of the number of AdvancedDisk storage pools hosted on
the media server.
2. Run the Configure a Disk Storage Server wizard if the host needs to be configured as
a storage server, or in other words, if this is the first time the host is being
configured for AdvancedDisk storage.
3. If this host is already a storage server, run the Configure Disk Pool wizard to create a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
new disk pool. Note that the storage server wizard will automatically start the disk
pool wizard for you after you configure a new AdvancedDisk storage server.
4. Finally, configure one or more storage units for the disk pool. Both the storage
server and disk pool wizards will allow you to create the storage unit as part of those
wizards, but this can also be performed manually in the NetBackup Administration
Console or using NetBackup commands.
You will learn how to perform each of these steps, in more detail, in subsequent topics.
Alternatively
Path:
Unix: /usr/openv/netbackup/bin/admincmd/
Windows: <install_path>\NetBackup\bin\admincmd\
Command:
nbdevconfig -creatests [-noverbose] -storage_server
storage_server_name -stype server_type -media_server [-st
storage_type] [-setattribute attribute] [-reason "string"]
15
Before you can create an AdvancedDisk pool, you must configure an AdvancedDisk
storage server. To do this, use the Storage Server Configuration Wizard. You can also
use the nbdevconfig -creatests command to create a storage server from the
command line. The nbdevconfig command and syntax is discussed in the NetBackup
Commands Reference Guide. The nbdevconfig command is found in the following
directory:
• UNIX: /usr/openv/netbackup/bin/admincmd
• Windows: install_path\bin\admincmd
The Disk Pool Configuration Wizard can be started by clicking on Configure Disk Pool,
however this requires that the media server has already been configured as a storage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
server first. The first screen of the Storage Server Configuration Wizard requires you to
select the disk type. Select AdvancedDisk and click Next.
16
In the Provider storage server details screen you need to select the media server you
are configuring as the storage server. Each media server will only need to be configured
once as an AdvancedDisk storage server, even if multiple disk pools are created for that
storage server.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
17
The Storage Server Configuration Status will then show if the storage server is
configured successfully. By default, the wizard will then go on to help you create a disk
pool for that storage server. You can alternatively close the wizard without this
checkbox, and run the disk pool configuration wizard manually, at a later time.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
or
Alternatively
Path:
Unix: /usr/openv/netbackup/bin/admincmd/
Windows: <install_path>\NetBackup\bin\admincmd\ The entire volume is used for
the AdvancedDisk. No
directory can be specified
Command:
nbdevconfig -createdp [-noverbose] -dp disk_pool_name -stype
server_type -storage_servers storage_server... [-hwm
high_watermark_percent] [-lwm low_watermark_percent] [-
max_io_streams n] [-comment comment] [-dvlist filename] [-M
master_server] [-reason "string"]
18
The Disk Pool Configuration Wizard is automatically started, by default, when you click
Next at the end of the Storage Server Configuration Wizard.
To create a disk pool outside of the wizard, from the NetBackup Administration Console,
expand Media and Device Management > Devices. Right-click Disk Pools and select
New Disk Pool. The Disk Pool Configuration Wizard is displayed. You may also access
the Disk Pool Configuration Wizard by clicking the master server in the Administration
Console. You may also use the nbdevconfig command to configure a new disk pool
from the command line.
No disk pools exist by default. Select the disk volumes to be included in the disk pool. A
disk volume must be formatted and mounted within the operating system before it can
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
be selected for an AdvancedDisk storage unit. Do not select disk volumes that have
already been configured in another pool. Note that the entire disk volume will be used
by the AdvancedDisk pool, and that no directory or folder can be specified in the
configuration.
19
Assign a name to the pool and optionally add comments about its function. Configure
additional disk pool information as follows:
• High water mark: The percentage of used capacity at which NetBackup considers a
disk volume in the pool to be full. A disk volume within a disk pool is assigned fewer
backup jobs as it approaches the high water mark.
• Low water mark: The percentage of used capacity at which a clean-up operation
stops purging backup images in order to create space. The purging was initiated
because the High water mark was reached. The Low water mark setting cannot be
greater than the High water mark setting.
• Maximum I/O Streams: Limits the number of streams that can be directed to a disk
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
simultaneously. It is used to avoid disk thrashing, which is the result of too many
jobs writing to the same disk simultaneously. The default is that there is no limit, at
the disk pool, however there are limits that are enforced at the storage unit. A
storage unit supports up to 4096 streams, with a default of 1 concurrent job
running. However, because you can setup multiple storage units for one disk pool,
this value allows you to control the maximum I/O streams to the disk pool,
regardless of any storage unit limits.
For more information on these properties, click the Help button in the Wizard.
20
The Disk Pool Configuration Status displays the status of the disk pool configuration. By
default, the wizard will then go on to help you create a storage unit for that disk pool.
You can alternatively close the wizard without this checkbox, and create a storage unit
manually in the NetBackup Administration Console.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
Next, configure the properties of the storage unit for this disk pool. A Media Server
option is available to limit the storage unit to specific media servers. In most cases, you
must increase the Maximum concurrent jobs setting from the default setting of 1. For
example, on the slide we have changed the maximum concurrent jobs to 3, to
correspond to the number of jobs that the three separate disk volumes (G:\, H:\, and
I:\) in this pool should be able to concurrently run without issue.
The Maximum fragment size setting normally does not need to be changed. Changing
this value may impact backup and restore times, and should be tested if any changes
are made. If you chose to configure the storage unit, no additional configuration is
required. The storage unit created for the disk pool may now be selected as a
destination within a backup policy. The disk pool configuration is complete.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Path:
Unix: /usr/openv/netbackup/bin/admincmd/
Windows: <install_path>\NetBackup\bin\admincmd\
Alternatively
Command:
nbdevquery -liststs [-l | -U] [-stype
server_type] [-storage_server storage_server]
[-EMM emm_server]
22
After a storage server has been configured, it may be viewed in the NetBackup
Administration Console by expanding Media and Device Management > Credentials >
Storage Servers. Notice that the Administration Console does not list BasicDisk storage
servers because all media servers support BasicDisk, by default.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Path:
Unix: /usr/openv/netbackup/bin/admincmd/
Windows:
Alternatively
<install_path>\NetBackup\bin\admincmd\
Command:
nbdevquery -listdp | -listmounts [-l |
-U | -D] [-stype server_type] [-dp
disk_pool_name] [-M master_server] [-
EMM emm_server]
23
To view disk pools using the NetBackup Administration Console, expand Media and
Device Management > Devices and select Disk Pools to list all configured disk pools.
The columns display the general configuration for the storage unit, in addition to a
percentage full value, showing the total used capacity of the disk pool. Right-click the
disk pool and select Change to modify disk pool settings, such as water marks, and
limiting the number of I/O streams.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
24
After an AdvancedDisk storage unit has been configured, it can be viewed in the
NetBackup Administration Console by expanding NetBackup Management > Storage
and selecting Storage Units. Notice that the media_advdisk_pool_stu AdvancedDisk
storage unit is displayed with a Storage Unit Type of Disk. Right-click and select Change
to modify storage unit settings, such as maximum concurrent jobs.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to monitor and report on
configured AdvancedDisk disk pool devices, as well as perform common
AdvancedDisk management tasks.
25
26
For backups targeting a disk pool, NetBackup estimates the size of a backup before
selecting a backup destination. The estimate is based on the size of the most recent
similar backup using the policy, schedule, client, and stream (the file list for a specific
job) as criteria. NetBackup adds 20 percent to this size, and it seeks an appropriate
storage destination.
The disk volume in the disk pool with the most free space is used. If the disk does not
have enough space to store the entire image, the job still runs, and the backup image
will span across multiple disk volumes in that disk pool. After a disk volume is selected,
the estimated backup size is reserved on the selected volume within NetBackup. If new
backup jobs are initiated while all disk space is reserved, the new backup jobs queue
until the reserving jobs complete.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A disk pool is configured with high and low water mark values, affecting both the pool
as a whole and its individual disk volumes. At the disk volume level, when the used
capacity percentage exceeds the high water mark value, jobs are no longer assigned to
that disk volume. NetBackup considers a pool to be full when all of its disk volumes
have reached the high water mark value. When a disk volume contains staged backup
images (from a Storage Lifecycle Policy), the images are considered potential free space
if they have already been duplicated. This is discussed in further detail in the Duplicating
Backups lesson. Images that are staged, but not yet duplicated, are considered used
space.
27
NetBackup tracks status information for all disk volumes in a disk pool, and a status for
the disk pool itself. When everything is working properly, the disk volumes will be in an
UP state, and the disk pool will also be in an UP state. If there is a problem with one disk
volume, it will be put into a DOWN state. This can also be performed manually by the
administrator in the case of disk volume maintenance. The disk pool can still be in a
usable UP state as long as there are other, available disk volumes. Backups jobs should
run normally, as long as there is available space, however restore jobs that use those
specific DOWN volumes will fail.
If the entire disk pool becomes unavailable it will be in the DOWN state. This can also be
performed manually by the administrator in the case of disk pool maintenance. In this
case the state of the disk volume is irrelevant, and any backup or restore jobs using this
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
disk pool will return with a status 2073: Disk pool is down. Note that if the disk pool is
brought down manually by an administrator (for maintenance for example), the disk
volumes will normally still appear in the UP state, despite the fact that they cannot be
accessed for backups.
28
The state of both disk pools and disk volumes can be set UP or DOWN, which is similar
to the state of a tape device. To change the state of a disk pool using the Administration
Console, right-click the disk pool in the Device Monitor, and select Up Disk Pool or
Down Disk Pool. You can also use the nbdevconfig command to change the state of disk
pools or disk volumes as follows:
nbdevconfig -changestate
-dp pool_name
-stype storage_type
-state UP|DOWN|RESET
nbdevconfig –changestate
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
-dp pool_name
–dv disk_volume_name
-stype storage_type
–state [UP|DOWN|RESET]
When a disk pool or disk volume is in a DOWN state, NetBackup considers it to be
unavailable to receive new backups. Typically, this feature is used to prevent backups to
a disk pool, or to prevent backups to an individual disk volume in a disk pool during
maintenance.
29
There are a number of disk-based reports in the NetBackup Administration Console. For
example, as shown on the slide, you can use the Disk Pool Status report to view the
status of your disk pools. To access this report, in the Administration Console, select
NetBackup Management > Reports > Disk Reports > Disk Pool Status. Some of the
reports, including the commands that correspond to them, include:
• Images on Disk: Shows which backup images reside on NetBackup disk storage. This
is equivalent to running bpimmedia –stype AdvancedDisk.
• Disk Logs: Shows log messages related to NetBackup disk activity. This is equivalent
to running bperror –DiskPool.
• Disk Storage Unit Status: Shows storage unit information. This is equivalent to
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
running bpstulist.
• Disk Pool Status: Shows disk pool status, such as whether the disk pool is in an UP or
DOWN state. This is equivalent to running nbdevquery –listdp for disk pool
status and nbdevquery –listdv for disk volume status (which cannot be seen
in the NetBackup Administration Console).
1
Server rank based on CPU,
processes, and memory
2
Fewest number of NetBackup
jobs ms1_advdisk_stu ms2_advdisk_stu ms3_advdisk_stu
LoadBalance_stu_group
3
Least reserved space
4
Least recently used Job
30
When a backup jobs is sent to a storage unit group, NetBackup must decide on which
storage unit to use for that job. Storage unit group methods include Prioritized, Failover,
Round Robin, and Media Server Load Balancing. The first three of these methods were
discussed in the Configuring NetBackup Storage lesson. Media Server Load Balancing
chooses the best available media server based on a ranking system. NetBackup chooses
the server based on various criteria. If two or more servers share the best available
rank, NetBackup continues to apply additional criteria until one media server remains.
The order of examined criteria is:
1. Server rank: Rank categories determined by number of processes running on each
CPU and memory thresholds.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
2. Fewest number of jobs: The server with the fewest NetBackup jobs scheduled.
3. Least reserved space: The server with the least amount of reserved space, based
upon the job size estimation by NetBackup.
4. Least recently used: The least recently used storage unit.
For example, of five available media servers in a storage unit group, three have a server
rank of Idle. Of those three, two are running a single job each. Of those two, the server
with the least amount of reserved space is chosen. Alternatively, if only one server had
the best rank, that server is automatically chosen.
31
When configuring a storage unit group, the Storage unit selection area defines how the
storage units will be selected during a backup:
• Prioritized: Choose the first storage unit in the list that is not busy, down, or out of
media.
• Failover: Choose the first storage unit in the list that is not down or out of media.
• Round Robin: Choose the least recently selected storage unit in the list.
• Media Server Load Balancing: Choose the best available media server based on a
ranking system.
The first three of these methods were discussed in more detail in the Configuring
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1. Source a new disk volume that is not used by another process or application
Add volumes to a
2. Add the disk to the disk pool using the command:
disk pool
nbdevconfig –adddv
32
The slide displays some other disk pool management tasks that you may need to
perform, such as adding volumes to a disk pool, removing volumes, or removing the
entire disk pool. To add a volume to an existing disk pool, simply source an empty disk
volumes (ensuring it isn’t used by any other process or application), and use the
command shown on the slide to add it to the disk pool. Prior to NetBackup 7.5, an
option to add disk volumes did not exist. Instead, a procedure to create and merge disk
pools was required. Refer to the documentation for your version of NetBackup for
details.
Alternatively, you can increase the storage space in a disk pool by resizing the existing
disk volumes. NetBackup will recognize the additional storage the next time the disks
are scanned by the NetBackup processes. You can manually trigger NetBackup to
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Disk pools Devices > Disk Pools nbdevquery -listdp –U Monitor > Devices > Disk
Reports > Disk reports > Disk Pools
pool status Reports > Report Templates
> Backups > Disk Pool
Reports
Reports > Report Templates
> Disk Based Data
Protection > Current Disk
Usage
Disk volume status nbdevquery -listdv -U
-stype disk_type
-dp pool_name
-dv volume_name
33
The table on this slide summarizes the advanced disk and disk pool reporting tools using
the NetBackup Administration Console, NetBackup commands, and OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– You learned what disk-based storage is and how it is used.
– You also learned about disk pools, AdvancedDisk, and OpenStorage.
– You learned how to configure and manage storage servers, AdvancedDisk disk pools, and AdvancedDisk
storage units.
– Finally, you learned to monitor the status of configured devices and view reports for configured
devices.
• Reference materials
– Veritas NetBackup™ Administrator's Guide, Volume I
https://www.veritas.com/content/support/en_US/doc/18716246-136359033-0/index
– Veritas NetBackup™ Commands Reference Guide
https://www.veritas.com/content/support/en_US/doc/15263389-133604923-0/index
– Veritas Support
https://www.veritas.com/support/en_US.html
34
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support Web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
35
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
36
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
37
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is A. A disk volume is a logical unit of disk storage, as presented by the host operating system, such
as a partition or Volume Manager volume.
38
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Disk enclosure
B. Logical grouping of media servers
C. Collection of disk volumes presented as a single entity
D. None of the above
39
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Disk enclosure
B. Logical grouping of media servers
C. Collection of disk volumes presented as a single entity
D. None of the above
The correct answer is C. A disk pool is a collection of disk volumes administered in NetBackup as a single entity. Storage
units are configured to target a single disk pool for backup.
40
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. NetBackup appliance performs the role of storage server and media server.
B. A separate NetBackup Media Server.
C. A separate NetBackup Master Server.
D. A system with the NetBackup plugin installed.
41
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. NetBackup Appliance performs the role of storage server and media server.
B. A separate NetBackup Media Server.
C. A separate NetBackup Master Server.
D. A system with the NetBackup plugin installed.
The correct answer is A. NetBackup appliance deployment consists of the complete installation and configuration of all
appliance components to create a backup environment that is ready to use. NetBackup appliances can be easily
integrated into an existing NetBackup environment.
42
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
6-43
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2018 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Configuring Media Server Deduplication lesson in the Veritas NetBackup
8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe what NetBackup
deduplication is and how it works.
provide the ability to deduplicate at the target, usually at the backup storage location or
appliance, being able to deduplicate at the source (the clients) provides the ability to
significantly reduce bandwidth use, and also speeds up the entire backup process. This
is especially true when backing up clients over a WAN or slow connection.
Similar to normal backups, the first step is to determine which data needs to be backed
up. After a list of files that require processing has been established, the following high-
level procedure is used for the files:
1. The file metadata, including file permissions, directory location, file name, and so
on, is separated from the actual content of the file. The file metadata is stored by
NetBackup.
2. The file contents are logically separated into segments. Starting NetBackup 8.1.1,
variable-length deduplication is used. This enables to get higher deduplication ratios.
3. An SHA256 fingerprint is created for each segment, which is used to uniquely
identify the segment. Prior to NetBackup 8.1, an enhanced MD5 fingerprint was
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
used.
4. If a segment has not been previously recorded, that segment is stored in the
deduplication storage area. If a file has not been previously recorded, a new file
pointer, which points to all the data segments that comprise that file’s contents, is
created.
5. Additional files are processed similarly.
In the example on this slide, File2 has two unique segments: E and F. File2 also has
some segments that were previously backed up.
Client-side deduplication
• Combined with MSDP, distributes deduplication work to the client.
• Reduces network bandwidth and enables higher parallelization.
configure media servers that can also perform deduplication. NetBackup appliances
use dedicated hardware and software to optimize performance, and therefore also
support higher capacities of deduplication pools, in excess of 600 TB, depending on
the model used. The deduplication used in NetBackup appliances is also MSDP, the
same technology as discussed in this lesson.
• NetBackup client-side deduplication: Deduplicating at the source, often known as
client-side deduplication or client deduplication, is supported with NetBackup. This
feature is discussed elsewhere in this lesson.
• Third-party appliances supporting OpenStorage Technology (OST): Third-party
deduplication appliance vendors that support OpenStorage Technology (OST) can
also be managed as a NetBackup storage destination.
Load Client-side
balancing deduplication
media
MSDP server
NetBackup
storage
clients
server
MSDP
storage
8
from the client, and perform the fingerprinting work before sending unique data to
the storage server. Minor bandwidth use is required for storage and media server
communication during this process.
• Client-side deduplication: The client performs the fingerprinting and communicates
with the deduplication storage server as to whether the data is unique or has been
stored previously. If the data is unique, the data is sent over the network to the
media server for storage. Minimal network bandwidth is required.
Deduplication Deduplication
engine (spoold) manager (spad)
spoold, which is an abbreviation for storage pool daemon (do not confuse it with a
print spooler daemon). The spoold process is displayed as the NetBackup
Deduplication Engine in the NetBackup Administration Console.
• Deduplication manager: The Deduplication manager is one of the storage server
core components. The deduplication manager maintains the configuration and
controls internal processes, optimized duplication, security, and event escalation.
The deduplication manager binary file name is spad, which is an abbreviation for
storage pool authority daemon. The spad process is displayed as the NetBackup
Deduplication Manager in the NetBackup Administration Console.
11
NetBackup provides the stream handlers that process various backup data stream types.
Stream handlers improve backup deduplication rates by processing the underlying data
stream. For data that has already been deduplicated, the first backup with a new stream
handler produces a lower deduplication rate. After that first backup, the deduplication
rate should surpass the rate from before the new stream handler was used.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Client-side
deduplication
3
Clients
1 Deduplication 2 Remote
Media Server
Deduplication
Pool
Load Balancing
Server
12
13
• Load balancing media servers: By using load balancing media servers you can also
increase the overall bandwidth. This option is preferred for storage servers that are
reaching CPU capacity, and in environments where you do not want to use, or cannot
use, the NetBackup client-side deduplication feature. This prevents impacting CPU on
some heavily loaded application servers, while still distributing deduplication load.
• NetBackup OpenStorage Option: If you already have deduplication appliances
deployed in your environment, this option allows NetBackup to use and manage
them within the NetBackup infrastructure.
After completing this topic, you will be able to configure a media server for
deduplication, including creating a media server deduplication disk pool.
15
The slide provides an overview of the steps to configure a deduplication media server.
You learn how to perform each of these steps in the following slides.
The NetBackup Deduplication Guide provides much greater details around planning and
configuring the media server deduplication pool. Some of those steps includes
understanding and putting in place optimizations that are discussed elsewhere in this
lesson (such as fingerprint cache behavior) and in the Managing and Protecting the
NetBackup Catalog lesson (such as MSDP catalog protection).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
16
To create a deduplication media server, you need to consider server and storage
prerequisites. Because fingerprinting is process-intensive, the most important factor in
deduplication performance is CPU, followed by memory size and speed, and storage
speeds. The storage server CPU and memory constrain how many jobs can run
concurrently. The storage server requires enough capability for deduplication and for
storage management. Reducing CPU use on the storage server is possible with load
balancing servers and client deduplication.
Processors for deduplication should have a high clock rate and high floating point
performance. Furthermore, high throughput per core is desirable. Each backup stream
uses a separate core. Intel and AMD have similar performance and perform well on
single core throughput. For greater details see the Planning your MSDP deployment
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
17
18
The next step in activating and configuring media server deduplication is to create a
deduplication media server with a media server deduplication pool. Use the Storage
Server Configuration Wizard to do this. Veritas recommends using this wizard to create
this pool. There is also a command line method that can be used, but it is not
recommended unless your MSDP will be more than 64 TB. See the NetBackup
Deduplication Guide for details. Because it is difficult to reconfigure the media server
deduplication pool after it has been created, and after backups have been written to it,
it is extremely important to initially set configuration settings correctly. The wizard steps
you through the following three separate phases:
1. Storage server configuration
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –creatests
19
The Welcome screen is the first screen of the Storage Server Configuration Wizard. The
screen reminds you to ensure that you have physically deployed all storage devices prior
to starting this setup. It also reminds you to ensure that all software plug-ins are
installed on the media servers that will be communicating with the storage server. The
media server deduplication plug-ins are installed automatically by the NetBackup
installation. The first screen of the Storage Server Configuration Wizard enables you to
select the disk type. Select Media Server Deduplication Pool and click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –creatests
20
On the Add Storage Server screen, you select the media server on which to create the
storage server. You also define credentials for the selected media server. These
credentials are specific to the deduplication media server, not the operating system.
These credentials are used by the storage engine to connect to the deduplication
engine. It is important to keep these credentials in a secure and accessible location.
If you need to later change these credentials, this can be performed using the
spauser command (if the password is known) or with some additional commands and
spadb and tpconfig commands. For specific steps on resetting the password, refer
to Technical Article 100038891: How to reset the NetBackup authentication password on
an MSDP disk pool at: http://www.veritas.com/docs/100038891.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –creatests
21
Specify the storage path on this dialog box. You may only select one storage path per
media server. You can set two additional parameters on this screen:
• Use alternate path for deduplication database: This refers to the content router
index. The content router index decreases the amount of space available on the
storage server on which it is installed. Veritas recommends moving this database to
improve performance.
• Use specific network interface: Select this check box to specify a network interface
on the media server. If the media server that is being used has multiple interfaces,
with one that should be used for the backup network, this setting forces NetBackup
to connect to the deduplication media server using only the named interface.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note: On Windows, you must specify a folder within the drive letter, as the wizard will
not let you continue if you only specify a drive letter.
Caution: Do not create the directories on the server prior to specifying them in the
wizard, but instead allow the Storage Server Configuration Wizard to create those
directories to ensure correct permissions are assigned.
Note: Use care when making these selections, as they cannot later by changed. Changes
to the storage server require deleting and recreating the storage server.
22
NetBackup provides encryption for the deduplicated data. It is separate from and
different than NetBackup policy-based encryption. By default, MSDP encryption is
disabled. On the Storage Server Encryption panel, you can enable encryption and KMS
for Media Server Deduplication Pool. The Enable KMS option is available when you
select Enable Encryption. If you select Enable KMS for the first time, as a one-time KMS
configuration, you must enter the KMS server name, Host master key (HMK)
passphrase, Host master key id, Key protection key (KPK) passphrase, Key protection key
id, Key name, and a Key passphrase. If you select Enable KMS and if KMS is already
configured on the Master Server, you must enter the Key name and the Key passphrase.
For backups, the deduplication plug-in encrypts the data after it is deduplicated. The
data remains encrypted during transfer from the plug-in to the NetBackup Deduplication
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Engine on the storage server. The Deduplication Engine writes the encrypted data to the
storage. For restore jobs, the process functions in the reverse direction.
Note: Do not enable backup encryption by selecting the Encryption option on the
Attributes tab of the Policy dialog box. If you do, NetBackup encrypts the data before it
reaches the plug-in that deduplicates it. Consequently, deduplication rates are very low.
Also, NetBackup does not use the Deduplication Multi-Threaded Agent if policy-based
encryption is configured.
nbdevconfig –creatests
23
The Deduplication Load Balancing screen is only displayed if additional media servers
are available. When you use additional media servers for deduplication load balancing,
the fingerprinting process is shared between multiple media servers, and the
fingerprinting process is more efficient. The single copy of the deduplication database
and indexes that are created continue to reside on the storage server; using multiple
media servers does not result in multiple indexes.
Clicking Next will take you to the screen that displays a summary of the settings that
have been made. Confirm these settings before continuing.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –creatests
24
This screen displays the progress as the storage server is created. During this time, the
Next button is disabled. After the process completes, the Next button is enabled. By
default, there is a checkbox enabled stating Create a disk pool using the storage server
that you have created. By clicking Next you start the Disk Pool Configuration Wizard.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –createdp
25
The next step in creating the media server deduplication pool is to create a disk pool. If
you run the Disk Pool Configuration Wizard separately from the Storage Server
Configuration Wizard, you need to select a disk pool type to create of PureDisk. You
may also use the nbdevconfig command to configure a new disk pool from the
command line, however Veritas does not recommend using the command line, and
instead recommends only using the wizard to ensure accuracy during configuration.
On this screen, select the PureDisk disk volume to be included in the disk pool. There
should be only one disk volume per server, as was configured in the storage server
wizard when previously prompted for the storage path.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevconfig –createdp
26
In the Additional Disk Pool Information screen, configure the properties of the disk
pool. Assign a name to the pool and optionally add comments about its function.
Configure additional disk pool information as follows:
• High water mark: The percentage of used capacity at which NetBackup considers a
disk volume in the pool to be full. A disk volume pool within a storage unit group is
assigned fewer backup jobs as it approaches the high water mark.
• Low water mark: For most disk types this is the percentage of used capacity at
which a clean-up operation stops purging backup images as a result of the disk pool
reaching the high water mark. This value is not used for deduplication pools.
• Maximum I/O Streams: Limits the number of streams that can be directed to a disk
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
simultaneously. It is used to avoid disk thrashing, which is the result of too many
jobs writing to the same disk simultaneously.
Any disk pool limit that you apply here will affect the total number of jobs that
associated storage units would be able to run.
Vertias recommends you place a limit here to prevent the server from being
overloaded with too many simultaneous backup jobs. A common limit to start with
is “20”. You can test higher values as you test the hardware’s capacity.
27
The Disk Pool Configuration Status will then show if the disk pool is configured
successfully. By default, the wizard will then go on to help you create a storage unit for
that disk pool. You can alternatively close the wizard without this checkbox, and create
a storage unit manually in the NetBackup Administration Console.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpstuadd
28
Finally, configure the properties of the storage unit for this disk pool. In most cases, you
will want to increase the Maximum concurrent jobs setting from the default setting of
1. Veritas recommends that you increase the Maximum concurrent jobs value gradually.
Doing so provides information about the total deduplication load. The initial backup
jobs (also known as initial seeding) require more CPU and memory than successive jobs.
After initial seeding, the storage server can process more jobs concurrently. You can
then gradually increase the jobs value over time.
Every environment's effective maximum concurrent jobs value is different. To find the
best performance raise or lower this value until best performance is achieved.
A Media Server option is available to limit the storage unit to specific media servers.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
29
After a storage server has been configured, the NetBackup media server deduplication
processes are visible in the Running state, under the Activity Monitor Daemons tab. The
two processes that are displayed are the NetBackup deduplication manager (spad) and
the NetBackup deduplication engine (spoold). Prior to MSDP configuration, these
processes should not be found in the Running state. For more information on the
functions of these two processes, see the NetBackup MSDP components section of this
lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevquery -liststs
30
After a storage server has been configured, it may be viewed in the NetBackup
Administration Console by expanding Media and Device Management > Credentials >
Storage Servers. Notice that the Administration Console does not list BasicDisk storage
servers because all media servers support BasicDisk by default. Note that NetBackup
appliances will also be listed as PureDisk storage servers in this list, and will not look any
different than media servers configured with a media server deduplication pool.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevquery -listdp
31
To view disk pools using the NetBackup Administration Console, expand Media and
Device Management > Devices and select Disk Pools to list all configured disk pools.
The columns display the general configuration for the storage unit, in addition to a
percentage full value, showing the total used capacity of the disk pool. Right-click the
disk pool and select Change to modify disk pool settings, such as water marks, and
limiting the number of I/O streams.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpstulist
32
After a PureDisk storage unit has been configured, it can be viewed in the NetBackup
Administration Console by expanding NetBackup Management > Storage and selecting
Storage Units. Notice that the master_msdp_stu storage unit is displayed with a
Storage Unit Type of Disk, and a Disk Type of either PureDisk or Disk Pool. Right-click
and select Change to modify storage unit settings, such as maximum concurrent jobs.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
34
This slide provides an overview of the steps to configure client-side deduplication. You
have already learned how to configure the NetBackup client software and a
deduplication storage destination, such as MSDP. To actually configure client-side
deduplication, you only need to verify the client-side deduplication requirements, and
configure the option in the Client Attributes. You learn how to perform each of these
steps in this topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup version
Operating system
35
Because fingerprinting is very process-intensive, the CPU on the client is affected by the
backup process. Veritas recommends performing tests to ensure that client applications
are not adversely impacted. For supported operating systems, refer to Deduplication
Supported Operating Systems section in the Operating System Compatibility Lists at:
http://www.netbackup.com/compatibility. Additionally, see the SORT Web site at:
http://sort.veritas.com/netbackup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
•Always
Alwaysuseusethe
the mediaDisables client-side
server: Disables deduplication
client-side (default)
deduplication
media server
(default)
•Prefer
Prefertotouse
useclient- If deduplication
client-side deduplication:plug-in is active, use
If deduplication client-side.
plug-in is
side deduplication
active, use client-side.Otherwise,
Otherwise,useusemedia
mediaserver
serverdeduplication.
deduplication.
•Always
Alwaysuseuseclient-
client-sideIfdeduplication:
deduplication Ifplug-in
deduplication
is active,plug-in is active,
use client-side.
usededuplication
side client-side. Otherwise, fail andfail
Otherwise, retry
andthe job.the job.
retry
36
To establish a client for client-side deduplication, set up the client in the Client
Attributes on the master server. Begin by adding the client to the list of clients that are
displayed in the dialog box. Next, under the General tab, configure the Deduplication
Location that is to be used:
• Always use the media server: This mode turns client-side deduplication off.
Deduplication operations are performed by the media server. This is the default
behavior.
• Prefer to use client-side deduplication: In this mode, the media server determines if
the NetBackup client supports client-side deduplication. If client-side deduplication
is supported, it is used. Otherwise, media server deduplication is used for the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup.
• Always use client-side deduplication: In this mode, the backup manager on the
media server determines if the NetBackup client supports client-side deduplication.
If client-side deduplication is supported, it is used. Otherwise, the backup job fails,
and is retried later, depending on your NetBackup configuration settings.
37
In the NetBackup policy Attribute tab, there is a Disable client-side deduplication policy
attribute. By default, this attribute is disabled. When you enable this attribute, all
backups that are run by this policy use media server deduplication, regardless of other
deduplication settings. This can be used in a situation where client-side deduplication is
configured for some clients, but should not be used in the case of certain backup
policies by those same clients.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to monitor the results of
deduplication in NetBackup.
39
The Deduplication Rate column under the Jobs tab in the Activity Monitor displays the
rate at which deduplication occurs for backups. This Deduplication Rate column is
displayed to the far right, by default, but can moved by rearranging the columns in the
Activity Monitor. This column displays the storage savings that are realized by using
deduplication.
In this example, a backup policy was used that has a storage destination which is a
deduplication pool (master_msdp_stu). Job 43 was the first backup job for
winmaster.example.com using this deduplication destination. The deduplication rate is
59.4%. Although you may expect a very low deduplication rate, often times even the
initial data may have many duplicate blocks. In this case we backed up a very large file
that contained repeating data, and therefore the deduplication rate was high for an
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
initial backup. Job 46 is a second occurrence of the backup performed in Job 43. This
time, the deduplication rate is 99.8% because the same data was written as was written
in the previous job and only a small amount of unique data was found. Job 47 is the first
time that winmedia.example.com was backed up to the deduplication storage. Even
though this is the first backup for this client, because it has almost identical data to
winmaster.example.com, the deduplication rate is very high, at 99.8%.
The results of deduplication are also displayed under the Detailed Status tab of the Job
Details dialog box for a deduplicated backup. The Detailed Status tab includes a line of
text that reflects the details of the backup to the deduplication storage server.
Notice that there is a line in the job details showing that client-side deduplication is in
use: Using OpenStorage client direct to backup from client.
Shortly after this the backup runs, and the deduplication rate is correctly listed as
dedup: 97.6%. Later in the job details, however, the output a second entry listing
dedup: 100.0%. This entry can be ignored.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
nbdevquery –listdp
42
Within the NetBackup Administration Console, under Media and Device Management,
there are two easy ways to report on deduplication disk pool capacity. The first method
involves looking at the disk pool properties. The command line method uses the
nbdevquery -listdp options. Reporting on the deduplication disk pool in this
manner provides a view of the disk pool capacity because it is cached by the EMM
server.
The second method involves looking at the storage server properties. The command line
method uses the nbdevquery -liststs options. With a deduplication disk pool,
this method lists real-time data, pulled from the storage server when the command is
run. It is important to understand that reporting and managing space in a deduplication
disk pool may not be as simple as on a non-deduplicating disk. After a single backup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
image in a non-deduplicating disk pool expires, the space taken by the backup image is
freed. In a deduplicating disk pool, however, that space may not be so easily reclaimed.
44
Within the Administration Console, under NetBackup Management, capacity results are
also displayed in the Disk Pool Status report.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
45
As well as viewing disk pool capacity in OpsCenter, you can also view a variety of
deduplication reports. In Veritas NetBackup OpsCenter 8.1.2 and later, the following
deduplication reports come with the product:
• Deduplication Rates by Master Server
• Deduplication Rates by Policy Type
• Deduplication Size Savings
• Deduplication Size Factor
• Pre vs. Post Deduplication Size
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Refer to the NetBackup OpsCenter Administrator’s Guide for details on these reports.
Compression
• Use these features in the deduplication client, not in the NetBackup policy
and • By default: Compression is enabled; Encryption is disabled
encryption
Virtual
machine Use the Enable file recovery from VM backup option for best deduplication rates
backups
46
On each NetBackup host that deduplicates data, a pd.conf file contains the various
configuration settings that control the operation of deduplication. The pd.conf file
resides in the following directories:
• UNIX: /usr/openv/lib/ost-plugins/
• Windows: install_path\NetBackup\bin\ost-plugins
Compression and Encryption
NetBackup provides compression and encryption as part of the deduplication process.
The options on the NetBackup policy for these features should not be used because
they can cause performance issues with deduplication backups. By default, files are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
compressed as part of deduplication stream. To turn off compression, add the value
COMPRESSION = 0 to the pd.conf file. By default, deduplication encryption is
disabled. To turn on data encryption, add ENCRYPTION = 0 to the pd.conf file.
The following is the behavior for the encryption that occurs during the deduplication
process:
• If you enable encryption on a client that deduplicates its own data, the client
encrypts the data before it sends it to the storage server. The data remains
encrypted on the storage.
• Data also is transferred from the client over a Secure Sockets Layer (SSL) to the
server regardless of whether or not the data is encrypted, so that the data is
protected, even if data encryption is not used.
fingerprint checking that needs to be performed over the network. Several solutions
exist, depending on the NetBackup release level. For details and configuration options
for other NetBackup releases, see Article 100003816: NetBackup deduplication client
WAN backup: how to seed the fingerprint cache to speed up the initial backup at:
http://www.veritas.com/docs/100003816.
• Key points
– In this lesson, you learned what NetBackup deduplication is and how it works.
– You are also learned how to configure a media server for deduplication, including creating a media
server deduplication disk pool, and configuring client-side deduplication.
– Finally, you learned how to monitor the results of deduplication.
• Reference materials
– NetBackup Deduplication Guide
– NetBackup compatibility at http://www.netbackup.com/compatibility
– Article 100003816: Seeding fingerprint cache to speed up the initial backup
– http://www.veritas.com/support
48
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
50
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Fingerprinting of data can be performed on the server side as well as the client side.
B. Deduplication can be performed at the disk block level.
C. Deduplication uses a capacity-based license.
D. Media server deduplication has only been available since NetBackup 7.5.
51
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Fingerprinting of data can be performed on the server side as well as the client side.
B. Deduplication can be performed at the disk block level.
C. Deduplication uses a capacity-based license.
D. Media server deduplication has only been available since NetBackup 7.5.
The correct answer is B. Deduplication can be performed at the file and sub-file (segment) level.
52
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
53
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
54
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
55
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
The correct answer is B. Because NetBackup media servers already contain the deduplication plug-in required to assist in
fingerprinting, any NetBackup media server can be a load balancing server.
56
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
7-57
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2018 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Configuring and managing Tape Storage lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Configuring tape devices Use the Device Configuration Wizard to configure new tape devices.
Verifying tape storage Monitor devices using the NetBackup Administration Console.
NetBackup media concepts Describe volumes, volume pools, and volume groups.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to define media manager
storage unit concepts.
NetBackup refers to tape devices as Media Manager devices, because they are managed
by a component of NetBackup known as Media Manager.
Robotic or standalone: NetBackup interacts differently with robotically controlled
devices and stand alone devices. Stand alone devices require an operator or human
assistance when the tape media is loaded to and unloaded from the device. Robotic
controlled devices are generally automated, and load and unload tape media without
the aid of an operator, normally from tape slots in the library. In both scenarios,
NetBackup needs to know the device path, which describes how the media server sees
the device. These device paths are operating system-specific. In the case of a
robotically-controlled tape library, NetBackup also requires the device path to the
library’s robot, to be able to control that robot.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Device and media compatibility: Besides being robotically controlled or stand alone,
media manager devices have another characteristic. The read/write or I/O device (the
tape drive) is actually separated from the recording media (the tapes). Not all tapes are
compatible with all tape drives. If an incompatible tape gets loaded into a tape drive,
then I/O errors can occur. NetBackup needs to be able to match appropriate media type
for the media (tapes) and devices (tape drives).
NetBackup needs to be told about the tape drives that can be used by media servers for
backup and restore operations. In earlier modules we have seen that NetBackup’s
primary backup destination is the storage unit and that a storage unit refers to one or
more physical devices with common attributes. For backups going to tape, we need to
have media manager storage units, which refer to the tape drives connected to a media
server that NetBackup is aware of. We have also been introduced to the Storage Unit
Group which is a named list of storage units. NetBackup can target either a storage unit
or a storage unit group as a backup destination. When a storage unit group is the target,
only one of the storage units defined in the group will be chosen as the target.
Not only does this slide review the differences between devices, storage units and
storage unit groups, it also introduces some of the media manager specific attributes
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
that media manager devices must have in order to be referenced by the same media
manager storage unit. If two media manager storage devices have differences in these
attributes, then multiple storage units will be required. But, those storage units could be
members of the same storage unit group. And, media manager storage units can exist
with non-media manager storage units within the same storage unit group.
With robotically controlled tape drives, each tape drive and the robot control device
appear as separate devices to a NetBackup server. A tape library with four tape drives
properly connected to NetBackup server should show five devices in the NetBackup
server: four tape drives and a robotic device. A robot is also sometimes referred to as a
medium changer on Windows hosts.
A NetBackup server uses the tape drive interface to perform operation such as
positioning the tape to a tape file, reading data from the tape, or writing data to the
tape. The robot control interface/device is used to perform operations such as moving
tapes from library slots into drives or moving tapes from drives back into their slots. For
libraries that are dedicated to a single NetBackup media server, that NetBackup media
server will be considered the robot control host, and completely control the robot
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
through the appropriate interfaces. The robot control host is designated in the
NetBackup configuration and is the NetBackup server that is responsible for directly
interfacing with the robot control interface, and moves the tapes from library slots to
drives, and back again.
10
A robotic tape library and it’s drives do not have to be dedicated to a single NetBackup
server, especially in a storage area network (SAN). A tape library that is configured to be
accessed by multiple servers is sometimes called a shared library. In these cases all the
tape drives may be seen by all servers, or there may be some tape drives that are
dedicated to specific servers.
Robot control interfaces, due to a limitation of the hardware, do not respond properly
when multiple servers attempt to access them simultaneously. A single NetBackup
server must be defined as the robot control host: the server responsible for directly
interfacing with the robot control interface. Any other server that wishes to move tapes
between slots and drives within the library does so by making a request, over TCP/IP, to
the robot control host., which then issues commands to control the tape robot. Data
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
movement operations, such as tape positioning, reading data from a tape in a drive, or
writing data to a tape in a drive, is performed directly by each NetBackup server that is
directly accessing the tape device. It should be noted that in some cases the robot
control host is not a NetBackup server. An example would be Automated Cartridge
System (ACS) libraries, where the library is controlled by ASCLS software that runs on
another host. For ACS libraries, NetBackup servers interact with the ACSLS host to
perform robotic control. Do not confuse a shared library with the NetBackup-licensed
Shared Storage Option (SSO), which allows multiple NetBackup servers to access the
same tape drives.
Tape
library
Tape Stand-alone
library tape drives
11
ms1_tape_stu ms2_tape_stu
Drives 1-3 Drives 4-6
Media Media
server 1 server 2
LAN
NetBackup
clients
12
example on this slide, the tape library has 6 tape drives, all of type LTO4. Three of the
tape drives are visible to media server 1 and the other three are visible to media server
2. The device configuration wizard creates two storage units. The first, STU-A, refers to
the three LTO4 drives in the robot known to Media Server 1, while the other storage
unit, STU-B, refers to the other LTO4 tape drives known to Media Server 2.
On Drive Selection from a media manager storage unit: At the time that a backup job
needs a drive, if the storage unit refers to multiple available, idle tape drives, NetBackup
uses a LRU/round robin mechanism to determine which drive it should assign to that
job.
ms1_tape_stu ms2_tape_stu
Drives 1-6 Drives 1-6
Media Media
server 1 server 2
LAN
NetBackup
clients
13
The shared storage option, a license extension, allows NetBackup to share tape drives
between two or more media servers instead of having the drives dedicated to a specific
media server. Each shared tape drive can be registered with more than one media
server that can physically see the drive. When such a drive is being used by one media
server, for example to run a backup or restore job, that tape drive is not available to the
other media servers. But once the job on that media server is finished, the tape drive
can be used by other media servers for other jobs.
This diagram shows a NetBackup configuration where all 6 drives are known to both
media servers. We are also showing two storage units. Use of STU-A would cause a job
to use Media Server 1 and any of the 6 tape drives while use of STU-B would case a job
to use Media Server 2 and any of the same 6 tapes drives. Regardless of the storage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
units used, the drives would be one of the same 6 available to both media servers. If
one of the media servers was shut down, the other media servers would still be able to
use any of the shared tape drives. Like with non-shared storage, we can also created a
storage unit that allows NetBackup to use any available media server.
After completing this topic, you will be able to use the Device Configuration
Wizard to configure new tape devices.
14
2 Install drivers /
device files
3 Confirm devices
available in O/S
4 Verify with
NetBackup utilities
15
Complete the following tasks before you configure devices with NetBackup:
1. Ensure that devices are correctly, physically attached to the system.
2. Ensure that the appropriate drivers are installed within the server operating system.
On UNIX, use a SCSI pass-through driver. This is a SCSI driver that passes through
non-drive-specific SCSI commands instead of blocking them. This pass-through is
required in order to handle the robot control commands. Some operating systems
don’t have a SCSI pass through driver, and require NetBackup to install these drivers.
3. If the operating system does not see the devices, neither will NetBackup. Confirm
that the devices are available through operating system tools, such as:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• HP-UX: ioscan
• AIX: lsdev
• Linux: cat /proc/scsi/scsi, lsscsi
• Windows: Device Manager (devmgmt.msc)
4. After NetBackup is installed, use the scan, tpautoconf –t, and tpautoconf –r
NetBackup utilities to verify the operating system devices. NetBackup on Solaris will
additionally have the sgscan utility.
5. At this point, if you do not see the devices, troubleshoot the problem using standard
operating system tools or vendor specific utilities until you can see the devices. For
example, check your SAN zoning or persistent binding configuration.
Device configuration in the operating system and NetBackup are discussed in great
detail in the NetBackup Device Configuration Guide for your version of NetBackup.
16
Veritas recommends that you use the Device Configuration Wizard to configure robots
and tape drives. The wizard configures a robot, its drives, and a storage unit. This wizard
discovers the robots and tape drives that are available, and is the preferred method of
device configuration. For the robot types that support device serialization, the wizard
discovers the positions of the drives within the library.
The wizard also provides the ability to customize drive naming rules, robot and drive
properties, SAN clients, and storage units. The wizard works by querying available
device paths on each media server for devices and for each discovered device (drives
and robots), collects information about those devices, such as serial numbers, type of
device, and so on. Device serial numbers are used to find out which tape drives are
controlled by which robots (tape libraries) and are visible to which media server and if a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
drive is shared between two or more media servers. The use of the device serial
numbers to correlate drives, robotic libraries and media servers is called device
serialization. The wizard then updates the NetBackup database with the collected
information and assigns device names, robot control hosts and NetBackup device types
for the discovered devices.
Using the device configuration wizard is the preferred method for device configuration.
Devices can be manually configured as well, however the user would be required to
collect the same information and manually update the NetBackup database with the
information. Refer to the Veritas NetBackup Device Configuration Guide for details.
After completing this topic, you will be able to monitor devices using the
NetBackup Administration Console.
17
tpconfig -d
18
After the Device Configuration Wizard runs, you can view the properties of the drives
that were configured. To do this:
1. Expand Media and Device Management > Devices and select Drives.
2. In the details pane, select the drive you want to view, and press Enter. You can also
right-click and select Change.
You can also use the command, tpconfig –d on each NetBackup server to report on
what devices have been registered to that server in NetBackup’s enterprise media
manager.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
tpconfig -d
19
There needs to a robotic entry for each media server that needs to communicate with a
library. These can be added manually but as we can see, the Device Configuration
wizard adds the required entries as part of its processing. After the Device
Configuration Wizard runs, you can view the properties of the robots that were
configured. To do this:
1. Expand Media and Device Management > Devices and select Robots.
2. In the details pane, select the robot you want to view, and press Enter. You can also
right-click and select Change.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Robot
Robot control
host
20
This example shows entries for a robot that is ‘shared’ between two media servers.
Unlike tape drives which can be directly accessed by multiple NetBackup media servers,
the robotic control interface can not, a robot control host must exist. Every media server
that needs access to a robot including the robot control host, will have an entry in the
enterprise media manager for that robot but only one of those entries will be for the
robot control host. The other entries will indicate that that particular media server
must contact the robot through the control host.
In the example above, there are two entries for the robot known as TLD(0). The entry
for winmaster.example.com shows this it is the robot control host (chosen by the device
configuration wizard). The other entry is for winmedia.example.com and was created by
the wizard because winmedia.example.com sees a tape drive that is controlled by the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
vmoprcmd
21
You can use the Device Monitor to determine a drive’s properties and characteristics,
such as its name, host (the media server to which it sends its backup data), and type
(such as DLT). You can also control drives using the Actions menu or by right-clicking a
drive and selecting an action from the drop-down menu. Such actions include activating
a downed drive, resetting a drive, manually invoking drive cleaning, and changing the
comments associated with a drive. To display details about a particular drive, from the
Device Monitor, right-click a drive and select Drive Details from the drop-down menu.
The control column shows the state of the drive:
• TLX/SCAN-TLX (where X depends on robot type) indicates the drive under robotic
control and available for use.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• DOWN-TLX indicates the drive is under robot control is not available for use.
• AVR/SCAN indicates the drive is not under robotic control or robot control daemon is
not running but the drive is available.
• DOWN indicates the drive is not under robotic control or the robot control daemon is
not running and the drive is not available.
The vmoprcmd command enables you to perform operator functions on drives. For
example, to bring a drive up from the command line, enter:
vmoprcmd -up drive_index [-h device_host]
bpstulist
22
The media server value of Any Available configures the storage unit to use any of the
media servers that see this type of drive within the specified library. If, at a later time, a
new media server is configured for these drives in this library, it will automatically be
used with this storage unit. A similar result can be obtained by creating individual
storage units for each library, per drive type, and per media server, and then adding
those storage units to a storage unit group. However, if a new media server is given
access to the library, a new storage unit would need to be created and it would have to
be manually added to the storage unit group.
List configured tape Media and Device tpconfig –d Monitor > Devices
drives and robots Management > Manage > Devices >
Devices Robot | Drives
Monitor the state and Media and Device vmoprcmd Monitor > Devices
availability of tape drives Management > Device Manage > Devices >
Monitor Drives
List devices that would scan
be found and configured tpautoconf –t
by the device
configuration wizard if it tpautoconf –r
were to be run.
23
This slide shows some of the ways you can query NetBackup about your device
configuration. tpconfig –d queries the Enterprise media manager for devices that have
been registered with the media server the command is run from. You run this command
from a NetBackup server. It can also be used to manually register a device with a
NetBackup server.
vmoprcmd queries all of the ltid processes to report the status of drives on all
NetBackup servers in a domain. It can also be used to manage the state of drives
(up/down).
scan/tpautoconf –t/tpautoconf –r are commands that scan a hosts device endpoints
and report the devices that are present. Devices reported by these commands will be
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
picked up by the device configuration wizard and configured into the enterprise media
manager.
After completing this topic, you will be able to describe volumes, volume
pools, and volume groups.
24
25
Media Manager volumes are tapes that have been assigned media IDs and other
attributes, which are recorded in NetBackup database. You should know the following
about volumes:
• A piece of media becomes a volume when Media Manager assigns a media ID (also
known as the Recorded Volume Serial Number or RVSN).
• NetBackup requests volumes from Media Manager using the media ID.
• NetBackup writes a label to the media that contains the media ID.
• If a tape cartridge has a recognized external barcode, this is also recorded in the
NetBackup database, and used to generate the media ID for a new tape. The
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
NetBackup assigns each volume a unique media ID. This media ID may be assigned
manually, or it may be automatically generated using bar codes and a process known as
robotic inventory. Considering the large number of tapes in an enterprise backup
environment, most environments use bar codes and robotic inventory. Manually
assigning media IDs is only performed in special circumstances.
The maximum length of a media ID is six characters and is typically based on the bar
code. If the bar code is longer than six characters, by default NetBackup uses the last six
characters as the media ID, as shown in the slide on this page. Customizing this behavior
is shown later in this topic.
The media ID of each volume is stored in the NBDB and is also written on the tape itself.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The location where the media ID is written is called the tape header, or label. Use
caution when assigning media IDs. To avoid confusion, Veritas recommends having the
tape’s Media ID be identical, or very similar to, its bar code. Also, to avoid problems
when restoring data, ensure that any media id generation rules you configure in your
production environment are also configured in your disaster recovery environment.
If robotic inventory is used on tape cartridges that have no barcode labels then
NetBackup assigns those tapes unique media IDs based on a simple mechanism starting
with the initial media ID A00000 (the letter A followed by 5 zeros) and incrementing the
value until a unique media ID is found.
NetBackup organizes volumes in volume pool. The volume pool used by a backup job is
specified as part of the backup policy definition. The following volume pools exist, by
default:
• NetBackup: The default volume pool used by most policies initially and the pool new
tapes discovered by robotic inventory are assigned to by default.
• DataStore: The default volume pool for some integrated third-party applications.
• CatalogBackup: The default volume pool for storing NetBackup catalog backups.
• None: The volume pool used for tapes NetBackup should not write to, such as
cleaning tapes and non-NetBackup tapes.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
In addition to these predefined pools, you can create your own pools to segregate
backups to different tapes, such as for backup images staying onsite and images being
sent offsite, or for backups of different types of applications. The scratch pool is an
optional volume pool that you can configure to store unused, free tapes.
28
The scratch pool is an optional volume pool that you can configure. You can have only
one scratch volume pool per NetBackup domain. Any media manager storage unit can
have volumes that are in the scratch pool. If the scratch pool is configured, NetBackup
moves volumes from that pool to other pools that do not have volumes available, when
required. The name of the scratch pool does not matter. However Veritas recommends
creating a pool with a defining name, such as Scratch or free_tapes.
NetBackup does not assign volumes while they are in a scratch pool, and the scratch
pool cannot be targeted by a backup policy. A volume moved from the scratch pool to
another volume pool due to backup needs, remains in the other pool until it is
unassigned (all image reach their retention). NetBackup moves volumes back to the
scratch volume pool after the volume is unassigned. To disable this feature, update the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
TLD0
Eject Vault
Volume Group:
---
Volume Group:
Volume Group:
OFFSITE
000_00000_TLD
29
A volume group is a logical group of volumes that are located at the same physical
location. This allows NetBackup to track media by location. Each robotic library can have
one or more pre-defined volume groups with a name based upon the robot number,
robot type, and media type. For example, the first library defined might have the library
name “TLD0”, which would have the volume group 000_00000_TLD. If a volume is in a
the 000_00000_TLD volume group, it is considered to be resident in the TLD0 library. If
another tape is in the same library but of a different media type (in other words, in a
different media manager storage unit) then that tape will be assigned to another
volume group such as 001_00000_TLD.
These volumes are resident in the robot, so the robot can automatically load the
volume for backup and restore operations. When robotic inventory is run and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup identifies volumes moved into the library, by default, NetBackup will assign
each volume to an appropriate robotic volume group based on the robot the tape was
found in and the media type of the tape. The following are the rules for assigning
volume groups:
• A volume can be assigned to only one volume group.
• All volumes in a group must be the same media type. However, a media type and its
corresponding cleaning media type are allowed in the same volume group (such as
DLT and DLT_CLN).
NetBackup volume
VirtualMachine poolpool
volume
Volume groups allow you to group media by its location. Volume pools are used when
you want or need different backups to be placed onto different sets of tapes. The reason
for separating backups are dependent on your needs and problems you need to
overcome. For example, enabling parallel restore of two extremely critical systems by
making sure the backups of those two systems don’t go to the same tape. Another
example is having a local set of backups kept onsite but also having copies of those
same backups stored at an offsite location for long term retention.
However, one needs to be judicious here. The more volume pools you create, the more
management you have to perform. Additionally, NetBackup already segregates tapes
based on retention level, by default, so creating separate volume pools for separate
retention tapes is often unnecessary.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A volume group are labels for both robotic libraries and non-robotic locations. There can
be multiple non-robotic volume groups, just as there can be multiple robotic libraries.
Changing volume group designation for a volume provides the means for NetBackup to
track a volume’s physical location. Using the vmdelete command, you can delete
volumes from the NetBackup database by specifying the group name, rather than
individual media IDs. Multiple volume pools can exist in the same location. For
example, a robotic library may hold volumes assigned to your MSSQL_Pool (tapes for
MSSQL backups) and hold volumes assigned to your ORACLE_Pool (tapes for Oracle
backups).
After completing this topic, you will be able to use the Robot Inventory to
configure new media.
32
Command Line
• Provided by Media Manager commands.
• Use vmadd, vmupdate, and vmchange commands.
33
Barcode Rules
• Assigns density, volume pool, and other properties
ABC* according to barcode
Media type: HCART3 • Create before or during inventory
Volume Pool: dups
Media ID
Generation Rules • Assigns Media ID according to barcode
ABC123L4 • Create before or during inventory
Media ID: ABC123
34
Using robot inventory enables accurate tracking of volumes within robotic libraries,
including determining which volumes are in a robot and their exact slot location. The
steps on this slide describes tasks that need to be performed either before or during the
robotic inventory. These tasks include creating all custom volume pools, bar code rules,
and media ID generation rules that may be needed. Newly configured rules are not
applied to media that already exists in NetBackup. For any media that was added before
the rules were created, either manually update the media or delete the media and re-
run the robot inventory. At that point, the rules will be applied.
A bar code rule specifies criteria for assigning attributes to new robotic volumes.
NetBackup assigns these attributes by using the bar code for the volumes cartridge that
the robotic library provides along with your bar code rules. After bar code rules are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
established, NetBackup automatically assigns media, based on the bar code tag, to a
specific volume pool and media type.
Media ID generation rules enable you to override the default media ID naming method
that NetBackup uses for new tapes that have barcodes. The default method uses the
last (rightmost) six characters of the bar code provided by the robot to generate the
media ID. Use the rule to control how NetBackup creates media IDs by specifying which
characters of a bar code are used in the media ID. In addition, you can specify that
alphanumeric characters are to be inserted into the ID. Multiple rules can be used to
accommodate different robots and bar code lengths.
vmpool
35
vmupdate
36
To start a robot inventory, use the NetBackup Administration Console to invoke the
Inventory Robot function:
1. In the left pane, select Media and Device Management > Media > Robots.
2. Select the robotic library desired. If there are multiple entries for the same robot,
choose the entry for host that is the robotic control host.
3. Right-click the robot and select Inventory Robot, or select Actions > Inventory
Robot.
If you are planning on discovering and adding tapes in a library media or cartridge
access port (MAP or CAP), insert one or more volumes into the robotic library prior to
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
running the robot inventory, and ensure there are available slots in the library.
Robot
control
host
37
When the Robot Inventory dialog box is displayed, it allows for various inventory
operations to be performed. Each operation communicates with the robot control host.
You need to make sure that the Device Host field shows the name of the robot control
host for the robot you wish to inventory. If you selected the wrong entry from the
Robots list in the Object tree, this gives you a chance to change the value.
Selecting the Show contents radio button and clicking Start runs the Show Contents
inventory operation. This function initiates the most basic NetBackup inventory
operation requesting the robotic library for a list of its slot contents. This function
simply displays the response from the robotic Library. Most modern robotic libraries
cache this information so the operation is relatively fast. However, some older robotic
libraries will physically pole each slot at the time of the request so it could take longer.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Show Contents inventory operation is useful for determining the contents of a
robot as follows:
• If the robot has a bar code reader and contains media with bar codes, the report
displays whether each slot has media and lists the bar code for the media.
• If the robot does not have a bar code reader or does not contain media with bar
codes, the report displays whether each slot has media.
• If the robot is an API robot (like an ACS robot), the report displays a list of media
found in the robot.
38
The Compare Contents with volume configuration function is similar to the Show
Contents operation but takes the operation a step further. Instead of simply displaying
the response of the robotic library, it compares the response with the contents as is
stored in the NetBackup. The comparison is displayed in the Results field and shows
discrepancies between what the robot reported and what the NetBackup configuration
thinks should be in the library. Each discrepancy is indicated by a value of yes in the
Mismatch Detected column of the output. This output includes the Media ID value
since this operation accesses not only the library but also the information in the
NetBackup database.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
39
The Preview volume configuration changes inventory function, like Show Contents,
requests a slot inventory from the robotic library, and like Compare contents with
volume configuration, compares the response from the robot with what is registered in
NetBackup. However, instead of displaying the results or the discrepancies, based on
the discrepancies found, this function derives a set of operations, that if applied to
NetBackup, would update the database to reflect what is currently in the robot and
displays the proposed changes. Note that no changes are actually performed. This
operation simply displays what would be done if the operations were executed.
Also take note that with this inventory operation selected, the Advanced Options
button is now available. This allows you to see some of the effect using advanced
options would have on the database like the effect media id generation rules would
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
have on the value of the generated Media ID for new media discovered without actually
making the changes to the database.
40
The Advanced Robot Inventory Options dialog has various tabs. The Media Settings tab
is separated into two sections: the Existing media frame and the New media frame.
The Existing media frame allows you to specify volume groups for media already known
to NetBackup for the purposes of tracking the location of the media. As stated
previously, a volume group identifies the physical location where media should be
found.
• The Media which have been removed from the robot should be assigned to the
volume group field is used to set the volume group when a tape is later found to be
missing during a robot inventory. By default the volume group for a tape will be set
to --- (3 dashes), which does little to inform the NetBackup administrator as to
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
where the tape is physically found. By setting a value, tapes from the library that are
not found (normally those that have been ejected) will be placed in that volume
group. Even though this field looks like a drop-down box, it is also an entry field; By
typing a new value, a volume group gets created when the first volume is placed
there. The volumes in any group mentioned in this field must all be of the same type
and, based on the inventory, not in any robot.
• The selection list always has the following choices:
• DEFAULT: Allow Media Manager to select the volume group – generally clears
the volume group label.
vmrule
42
A bar code rule specifies criteria for assigning attributes to new volumes discovered by
robotic inventory. The attributes are assigned based on what barcode tag matches the
barcode label of a given volume.
• The Barcode tag is a string used to match the left-most portion of the barcode label.
If the barcode label matches multiple tags then the rule whose tag matches the
largest portion of the barcode label is used. There are two special barcode tag
designations: NONE which matches any cartridge where a barcode label could not
be read and DEFAULT which is used if none of the other barcode tags match the
barcode label. The DEFAULT barcode tag is often used to change NetBackup default
behavior of placing new volumes into the NetBackup volume pool. Without this
barcode tag, any new volume not matching any barcode tags will be assigned to the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup volume pool and be given a media type based on the drive types within
the robot. Note: The actual text of the BARCODE tag input are the letters DEFAULT
but that NetBackup displays this RULE’s tag as <DEFAULT>. The NONE barcode tag
works the same.
• Maximum Cleanings/Maximum Mounts is used by NetBackup as a usage limit so
tapes and cleaning cartridges do not get overused. A value of zero indicates that no
limit exists. This field allows an initial value to be specified for new tapes discovered
through robotic inventory. These limits can be changed after the tape is made
known to NetBackup at any time. Tapes whose labels do not match any of the tags
or tapes that were inventoried with barcode rules enabled get zero as the default.
44
Every volume used by NetBackup needs to have a unique, six character media id. For
robotic libraries with barcode reading abilities, the value of the barcode label read by
the robot’s barcode reader can be used to derive the media id for newly discovered
media. By default, NetBackup uses the right-most 6 characters of the barcode label as
the media id that is assigned to the new tape. This can cause problems for two or more
tapes with barcode labels longer than six characters, if the resulting media ids would
not be unique. If two tapes each had the barcode label values S00006L1 and D00006L1,
NetBackup would try to assign both tapes the same media id 0006L1, and the inventory
process would produce errors.
Media ID generation rules allow you to specify what characters of the barcode are used
to generate the media ID. To create a new media ID generation rule, click the Media ID
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Generation tab and click the New button, and then specify the properties as follows:
• Robot number: The number associated with a robot. TLD(0), for example is robot
number 0.
• Bar code length: The length of barcode this rule applies to. Barcodes of lengths
other than this value will not use this rule.
46
vmquery –a -b
nbemmcmd –listmedia –allrecords -brief
47
Select Media and Device Management > Media to display all media in your
environment. Notice the Volume Pool and Volume Group columns.
To display volumes, including the volume pools and volume groups to which they
belong, use the following commands:
vmquery -a -b
nbemmcmd -listmedia -allrecords -brief
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
48
If you are adding volumes to a robotic tape library, you can have NetBackup inventory
the robot and use the information to update the volume catalog.
The table on this slide presents an overview of the process of adding volumes using the
inventory update function. There is no command line interface for creating media id
generation rules.
Note: The first three rows in the table on this slide do not modify the volume database.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to view and change robot and
tape drive settings, including drive status, and perform drive cleaning.
49
Path properties
General drive
properties
tpconfig -d
50
• Host and path information defines the hosts and that host’s specific device path to
this tape drive. If the drive is shared, there will be one entry for every media server
accessing this drive.
• Drive Information allows you to specify the following information:
• The Drive type specifies the type of drive you are adding.
• Use the Cleaning Frequency (In hours) property to set the desired number of
mount hours between drive cleanings, for drives that do not support TapeAlert.
• Drive is in a robotic library specifies whether the drive is in a robotic library.
• The Robotic library specifies a robot that controls the drive.
stopltid UNIX
ltid
52
After you configure a robot or drive, you are prompted to stop and restart the device
daemons or services. If you choose to do this later, you can stop and restart the
daemons or services using the Media and Device Management interface.
1. Select Actions > Stop/Restart Media Manager Device Daemon.
2. Complete the dialog box as follows:
a. Select a device host. The status of the selected daemon or service is shown
under Current Status.
b. In the Action pane, you can start, stop, or stop/restart the service. Select the
action you want to perform.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
c. The Options pane enables you to eject media from a stand-alone drive and
control the level of debug logging. Select the options you want to perform.
3. Click OK or Apply.
You can also use the stopltid and ltid commands to manage the Media Manager
daemons or services. The stopltid command stops ltid, avrd, and the robotic
services; ltid starts ltid, avrd, and the robotic services. On Windows you can also stop
and start the Media Manager services using Windows Computer Management, by
restarting the NetBackup Device Manager service.
vmoprcmd
53
You can use the Device Monitor to determine a drive’s properties and characteristics,
such as its name, host (the media server to which it sends its backup data), and type
(such as DLT). You can also control drives using the Actions menu or by right-clicking a
drive and selecting an action from the drop-down menu. Such actions include activating
a downed drive, resetting a drive, manually invoking drive cleaning, and changing the
comments associated with a drive. You can also use the Device Monitor to determine
robot types and numbers. To change a drive path operating mode:
1. In the NetBackup Administration Console, expand Media and Device Management
> Device Monitor.
2. Click the Drives tab.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
In the details pane, the Drive Paths pane displays path information for drives.
3. In the Drive Paths pane, select a path or select multiple paths.
4. On the Actions menu, select the path action as Up Path ( Up Path, Operator control
applies to stand alone drives), Down Path, or Reset Path.
Note: The Media Manager Device daemon (ltid) must be running on the host being
monitored, or the lists in the Device Monitor detail panes are blank.
Windows
UNIX
54
The Drive Details screen lets you examine the all of the details of a specific drive in one
screen. This information is available in the Device Monitor but is not available in a single
screen. A user would need to use the scroll bar or rearrange columns in the details pain
to see all the available information. The Drive Details screen displays all this information
on a single screen.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
55
Media Manager drive and robot diagnostic functions enable you to execute and manage
drive and robot diagnostic tests. The diagnostic test steps are executed in an ordered
sequence to verify the functionality of hardware devices configured for use with
NetBackup. These tests help you to troubleshoot robotic library or tape drive problems.
Before running drive diagnostics, use the available_media script to confirm that
there is an Available tape in the NetBackup volume pool. The script is located in <install
path>\VERITAS\NetBackup\bin\goodies on a windows master/media server and in
/usr/openv/netbackup/bin/goodies on a UNIX master/media server.
To execute diagnostic tests within the NetBackup Administration Console:
1. Select Media and Device Management > Devices > Drives or select Media and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
tapelib1_stu
LAN
NetBackup
clients
56
Storage units can be manually created as well. A single storage unit could have been
created that refers to the three tape drives known to Media server 1 and to the other
three tape drives known to Media server 2, since all six tape drives use the same type of
media and are under the control of the same robotic library. This storage unit would not
have a specific media server configured in the storage unit, but instead be configured in
the storage unit to use Any Available media server. Note that that the storage unit is
still restricted to a single tape robot, drive density, and so forth, so only all media
servers related to those properties will be used.
Media manager storage units designating Any Available media server allow NetBackup
to choose which media server and drives would be used. However, in our example, each
specific tape drive is still assigned to only one media server. If one media server is shut
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
down, only half the tape drives would be available for use.
57
Routine maintenance of devices includes cleaning drives to ensure that they continue to
write to and read from the media properly. Although cleaning is important, be careful to
neither overclean nor underclean your drives. Undercleaning can result in excess
residue on the tape drive heads. Overcleaning can cause undue wear on the drive
heads. Either can result in data loss. Refer to the drive manufacturer’s recommended
cleaning schedule. You can establish a cleaning schedule through NetBackup
accordingly.
Using a cleaning tape
Drive cleaning is accomplished using cleaning tapes. Media Manager tracks the usage of
a cleaning tape by the number of times it has been used. For each cleaning tape, you
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
can specify the number of cleanings that remain. You can change the number of
cleanings at any time in Media Manager. Each time the tape is used, that number
decreases by one. When the number of cleanings reaches zero, Media Manager stops
using the cleaning tape. To configure a cleaning tape:
1. Specify the Media type setting for the cleaning tape’s designation (such as
DLT_cleaning_tape).
Note: The cleaning tape is automatically assigned to the None volume pool.
2. Set the number of cleanings. (The default setting is 25.)
TapeAlert
TapeAlert notifies Media Manager that the drive needs to be cleaned.
Frequency-based
The drive is cleaned according to an administrator-defined frequency.
Manual (operator-initiated)
• Manually invoked in the Device Monitor or with tpclean.
• Use robotic device controls directly.
58
This slide shows the various methods you can use to perform drive cleaning.
• Robotic controlled cleaning: Some robotic tape libraries have automatic drive
cleaning functionality. This is also referred to as hardware-based cleaning, library-
based cleaning, or auto-cleaning. With robotic automatic cleaning, the tape drive
sends an alert to the robot, notifying the robot that the drive requires cleaning. After
a backup tape is unmounted, the robot mounts the cleaning tape and cleans the
drive. NetBackup is not involved in this process.
• TapeAlert: Another method of automatic cleaning uses the TapeAlert feature, which
allows reactive cleaning for some drive types that support the TapeAlert capability.
This method is also called reactive cleaning.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Set Cleaning Frequency: Set the desired number of mount hours between each
drive cleaning.
Alternatively, to perform drive cleaning using the command line, the tpclean
command enables you to monitor Media Manager tape drive usage and optionally
configure tape drives to be automatically cleaned (except drives in ACS, ODL, or TLH
robots, or QIC drives).
60
Image retention
• How long the image is available for restores.
• Required setting on backup policy schedules
• Typically based on the restore service level agreement (SLA) for
the data.
61
There are two distinct types of expiration in NetBackup: volume expiration and image
expiration. Likewise, the volume expiration date and the image expiration date have
distinct meanings.
Volume expiration: You can change the expiration date for volumes. The volume
expiration date refers to the age of the tape media and is the time at which the tape is
considered too old to be reliable. When the expiration date has passed, a volume can
still be read but is not mounted for a write. The volume expiration date is not the same
as the retention period for the backup data (images) on the volume. The volume
expiration date refers only to the physical expiration of the volume and is independent
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
62
This slide is a reminder that the volume expiration date is set in the Expiration date
section of the Change Volumes dialog box. It also shows that the retention period is
displayed in the Schedule section of the policy.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
ABC123
EOM
Image
NetBackup database
database
Valid Ret Volume Media Header
Media ID Assigned .f file
Images Level Pool State info
ABC123 N 0 --- scratch AVAILABLE
63
When a backup job is initiated, NetBackup selects the required piece of media based on
the parameters of that specific backup job. The policy and schedule dictate the
required storage unit, volume pool, and retention level. The actual media selected is
discussed elsewhere in this lesson. The example on this and the following slides shows
the life cycle of a tape—from unassigned, to assigned, and then unassigned again.
In this example, a backup job is requesting a tape from the servers pool with a two-
week retention. If a tape is not available in the servers pool that meets all the
necessary criteria, NetBackup will attempt to move a tape from the scratch pool to the
servers pool for use in the backup. Also, this example shows a tape that has already
been labelled with media ID ABC123. Following the label (sometimes known as the
media header), is a mark that shows the logical end of the tape. This is sometimes
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
known as an End of Data (EOD) or End of Media (EOM) mark, and indicates to any tape
drive reading the tape that no more pertinent data exists past this mark, even though it
is not the physical end of the tape. When the tape is first added to NetBackup, an entry
is made in the EMM database. The entry includes the media ID of the tape. Initially, the
tape is unassigned and the media state is AVAILABLE.
ABC123
Image1 Image2 Image3
EOM
EOM
EOM
EOF
EOF
EOF
BH
BH
BH
2 week retention 2 week retention 2 week retention
64
After the first backup is written to the tape, the NetBackup database is updated so that:
• The retention level of the backup is set, in this case to two weeks. The default is not
to mix retention periods on media.
The NBDB and Image database are also updated to contain the metadata about the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup job. These are represented by Image1 and Image1.f in the slide. Image1 and
Image1.f are sample names. The actual name of the image is stored in the format of
policyname_ctime_schedule, where ctime is the creation time of the image. Before a
backup is written, a NetBackup backup header (BH) is placed on the tape. At the end of
a backup, an End of File (EOF) marker is written. If NetBackup is not writing further data
in this session, an End of Media (EOM) marker is also written, to indicate the logical end
point of this tape. When the second image is written, the EOM marker is overwritten by
the backup header of the next image, and a new EOM marker will be written at the end
of the backup. The NetBackup database now indicates there are two images on the
tape. This same process occurs for the third image written to the tape.
ABC123
Image1 9.46
Image2 Image3
EOT
EOF
EOF
EOF
BH
BH
BH
2 week retention 2 week retention 2 week retention
65
An End of Tape (EOT) indicates that the physical end of a tape is reached. In this
example, the third backup is written to the end of tape (EOT). In most cases, the backup
image will not fit exactly on the tape, and the third backup may actually be continued
on further media. At this point, the media state is now set to FULL in NetBackup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
ABC123
Image1 Image2 Image3
EOT
EOF
EOF
EOF
BH
BH
BH
2 week retention 2 week retention 2 week retention
Image
NetBackup database
database
Valid Ret Volume Media Header
Media ID Assigned .f file
Images Level Pool State info
ABC123 Y 3
2
1
0 2 wk servers FULL
Y 2 wk servers FULL Image1 Image1.f
Y 2 wk servers FULL Image2 Image2.f
Y 2 wk servers FULL Image3 Image3.f
66
The image cleanup job determines which images have met their retention period and
are expired. Expired images are removed from the Image database. In this example, two
weeks have passed from when the first image was written. At that point, Image1 has
met its retention level and is ready to be expired. Note that after Image1 expires,
NetBackup no longer records information about that backup in the Image database, so
restores of that backup are no longer possible without further actions (such as an
Import operation, discussed elsewhere in this lesson). Although Image1 is removed
from the database, the data for Image1 still physically resides on the tape. No action is
automatically performed to physically erase the data.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Depending on when Image2 and Image3 were written, they may also be expired and
removed during the initial image cleanup job or during a subsequent image cleanup job.
For example, if the backups were each written one day apart, Image2 will expire a day
after Image1’s backup expires, and Image3 will expire two days later. Each time images
expire, the Image database is updated to reflect the number of valid images that are still
being tracked on this tape. When Image1 expires, if Image2 and Image3 are still on the
tape, the free space made available by Image1 is not available for use. If that tape was
full, only when all images are expired is the tape made available. If the tape is not full,
new backups will only be written after the End of Media mark.
ABC123
Image1 Image2 Image3
EOT
EOF
EOF
EOF
BH
BH
BH
2 week retention 2 week retention 2 week retention
Image
NetBackup database
database
Valid Ret Volume Media Header
Media ID Assigned .f file
Images Level Pool State info
ABC123 N
Y 0 2---
wk scratch
servers AVAILABLE
FULL
After all the images are expired and the Image database indicates there are no longer
any valid images associated with the media ID, the media is ready to become
unassigned, and have its media state set to AVAILABLE. This occurs during the
NetBackup image cleanup. Image cleanup occurs after each successful backup session
(during any short period of backup inactivity after backups have run). However, even if
there is no inactivity, due to a busy backup environment, a cleanup interval occurs every
12 hours, by default. This value is set in the NetBackup master server host properties >
Clean-up > Image cleanup interval. If the media originally came from the scratch pool,
then it will be returned to that pool. The media life cycle process begins again.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Even though the data on the tape is expired and is no longer being tracked in the
NetBackup catalogs, the actual data on the tape is not erased. The physical data
continues to exist on the tape. If the tape has not been reassigned, the data can be
imported using NetBackup, if necessary. If the media has been reassigned and rewritten,
manually re-labeled, or erased then the old data will be overwritten by new backup
images. At this point, with third-party software and tools it may be possible to extract
the old data from the tape, but this is outside the scope of what is possible with
NetBackup. The data is considered unrecoverable.
68
All volumes have a media state, which changes based on a number of factors, such as
how much the volume is used or the type of backup written to it. The most common
media states are:
• AVAILABLE indicates that no active backup images are currently associated with this
tape. This can happen if:
• This is a new tape; NetBackup has never written data to it.
• NetBackup has used this tape, but all images on the tape have met their
retention and expired automatically.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• MPX_MEDIA is a media state that indicates that this tape contains multiplexed
backups. MPX can be associated with tapes that are Active, Full, or Imported.
Backups that use the same storage unit, volume pool and retention can be
multiplexed to the same volume, only if allowed through policy and storage unit
multiplexing settings.
• WORM is a media state that indicates that this tape is a Write-Once-Read-Many
(WORM) volume. WORM media is used to protect key data from unwanted
modification or tampering, or to meet compliance regulations. For more information
on WORM media, see the NetBackup Administrator’s Guide.
• Multi-Retlev refers to multiple Retention Level, and is a media state that indicates
that the volume contains backups of more than one retention level.
• BE is a media state that indicates that the volume contains Backup Exec images.
NetBackup
• Use Media and Device Management > Media
Administration • Use NetBackup Management > Reports
Console
70
NetBackup provides various reporting methods by which you can determine the status
of media. Use any of the following interfaces to determine the media status.
• Available media: The available_media script reports on all media in the
environment that is usable by NetBackup. This report also indicates the current
media states.
• The NetBackup Administration Console: When you use the NetBackup
Administration Console to determine status information, you use the Media and
Device Management > Media and the NetBackup Management > Reports
interfaces.
• OpsCenter: OpsCenter enables the administrator to view, manage and report on
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup media.
• The command line: Commands used to display volume-related and image-related
information and to perform volume configuration tasks are listed on the slide.
• The text-menu interface (UNIX only): Use the bpadm command to access the
bpadm utility. Select the r option for reports, and then select the m option for
media. You can now choose from six different media-related reports.
71
72
All volumes have a media state. The media state can change based on a number of
factors, such as how much the volume is used or the type of backup written to it.
NetBackup automatically controls the media state of a volume, but in some cases, you
can override the NetBackup setting. You can override some media states using the
NetBackup Administration Console. To do so, expand Media and Device Management >
Media. In the details pane, select a piece of media and select Actions. From the Actions
drop-down menu, select Freeze, Unfreeze, Suspend, or Unsuspend. Media that is
available (no time assigned) cannot have it’s media state manually changed and
attempts to freeze or suspend unassigned media generates an error.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
73
When a tape has at least one unexpired backup image, it is said to be Assigned. New
images are appended to these assigned (active) tapes. When all of the images on the
tape have expired, the tape automatically unassigned by NetBackup at midnight. You
can override some media states using the bpexpdate and bpmedia commands.
If you wish to reuse a tape with images before they naturally expire, you can use the
bpexpdate command with the –m media_id option to select the tape, and –d 0
option to set the date for all backup images on the tape to expire immediately. This
command additionally de-assigns the tape, so it becomes immediately available, even if
the tape was suspended or frozen.
Caution: Use this command with caution because it deletes the backup metadata from
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Eject Delete
Physically ejects tape from library, and Removes tape from configuration
sets volume group
• Must not contain valid backup
? images
• Used for removed, missing, or
corrupt tapes
75
There are various operations that you may want to perform on tape media:
• Move: Moving a tape involves changing the media’s volume group, which defines
where it physically resides. Note that this does not physically move the tape. It
simply allows the administrator to set and track the tape’s location.
• Eject: Ejecting a tape physically causes it to leave the library. This function does
require a tape library that supports an eject function with a media access port. You
can simultaneously set the volume group for the media, as when using the Move
function.
• Change: Changing media includes changing properties such as setting the tape’s
physical expiration date (when it no longer deemed to be good hardware used for
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
writing new backups), the volume pool the tape is in, or the maximum mounts (the
number of times it can be used).
• Delete: Deleting a tape is performed when a tape should no longer be tracked by
NetBackup, such as when it has been lost, or the data is corrupt and cannot be
restored from. Note that a tape must be made available (by expiring all images on
the tape) prior to deleting it.
Win_Servers Scratch
76
A NetBackup backup request specifies a specific storage unit and volume pool, as
defined by the backup policy. When media management receives the request,
NetBackup selects a volume based on a number of rules and priorities. In order:
1. Active volumes in the volume pool: NetBackup first searches the database for an
active volume in the specified volume pool. This volume must be in the library that
is in the storage unit being used. The volume must not have exceeded its maximum
number of mounts nor its volume expiration date (which are settable, volume
specific attributes used by NetBackup to determine when NetBackup can no longer
write to the volume). Additional criteria includes making sure that the retention
level matches that of the images that are already on the tape. Note that you can
override this with the media server host property > Media > Allow multiple
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
retentions per media, however Veritas does not recommend using this setting
without understanding the implications of mixed retention images on media. Next, a
volume will be selected that is owned by the media server. By default media servers
own any tapes they have previously written to, however you can override this with
the master server host property > Enable unrestricted media sharing for all media
servers, or with server media Server Groups.
78
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
80
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
81
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Device serialization is a feature that enables device identification and configuration.
82
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. NetBackup
B. DataStore
C. None
D. Scratch
83
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. NetBackup
B. DataStore
C. None
D. Scratch
The correct answer is C. The None volume pool holds cleaning media(s).
84
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
85
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is C. If the volume is past its expiration date or has reached its maximum number of mounts, the
tape is available for restores only.
86
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
8-87
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Performing VMware Backups lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Protecting VMware Assets using the Understand protection plans and use them to protect VM’s and VM
web UI groups.
Performing and monitoring VMware
Monitor VMware backup.
backups
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe virtual machines
and discuss support for virtual machines in VMware.
• Using virtualization, a host server performs the job of multiple computers sharing the
physical host’s resources.
• Each virtual machine (VM):
– Runs its own operating system and applications
– Is encapsulated and isolated from other VMs
– Uses its own emulated resources (such as CPU,
disks, and network connection)
• The virtualization layer, or hypervisor, is software that enables virtual machines to use
the host’s physical resources.
• The hardware layer consists of the physical components of the host server, and is shared
across the running virtual machines.
• Review document NB_70_80_VE: Support for NetBackup in virtual environments
Virtual machines, sometimes referred to as VMs, enable the sharing of the underlying
physical machine resources between virtual machines, each running its own operating
system. The software layer providing the virtualization is called a virtual machine
monitor or hypervisor. A hypervisor can run on bare hardware (native VM) or on top of
an operating system (hosted VM). An example of a hypervisor running on bare hardware
is VMware ESX Server. An example of a hypervisor running on top of an operating
system is VMware Server and Workstation. In the case of Microsoft Hyper-V, the
hypervisor runs on a special version of the Windows operating system.
NetBackup support for virtual machines
VMs consist of a number of files, including the critical virtual hard disk file (VMDK in
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
VMware, and VHD or VHDX in Hyper-V), which contains the operating system and data
for that VM. Traditionally, backing up the virtual hard disk file enables you to easily
restore the VM but does not provide the ability to perform individual file restores.
Conversely, backing up files from the VM as a normal client prevents easily restoring the
full virtual hard drives in the case of disaster recovery. NetBackup provides the ability to
easily back up and restore the virtual hard disk, while alternatively allowing for granular,
individual file restore. Review support details in document NB_70_80_VE: Support for
NetBackup in virtual environments at:
https://www.veritas.com/content/support/en_US/doc/NB_70_80_VE.
Modern CPUs have features built-in for system protection. These protections keep
different programs from writing into each others’ memory regions. CPUs also have
privileged instructions: Instructions only executable by the operating system. The
structure of virtualization is to allow multiple operating systems to run on the same set
of CPUs. In order to allow multiple operating systems to run, the virtualization
mechanism has to properly handle privileged instruction execution.
There are different methods virtualization systems use to handle privileged instructions.
VMware and Hyper-V use virtualization features of the CPU: Intel VT and AMD-V. The
hypervisor signals the CPU that certain processes are virtual machines, and allows the
privileged instruction to execute. Prior to this CPU technology, the hypervisor
intercepted privileged calls and executed software to manage access to the privileged
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
instructions. This virtualization technology model is more efficient and reliable. Citrix
XenServer uses para-virtualization: the operating system is modified to accommodate
the privileged instruction execution. The hypervisor virtualizes networks, network
switching, interrupts, and disk storage. A hypervisor control application manages and
monitors the creation, operation, and lifecycle of virtual machines. Often, this control
application runs on a separate host, to remotely and centrally manage the virtualization
servers.
VMware vSphere ✓ ✓ ✓ ✓ ✓
Microsoft Hyper-V ✓ ✓ ✓ ✓
RedHat Enterprise
Virtualization ✓
Citrix XenServer ✓
Solaris zones ✓
Oracle Solaris
virtualization ✓
virtualization, the feature sets are more similar to standard backup policies. Technical
articles and best practices exist for these virtualization solutions.
Hypervisor
control system
SAN
Control API
CLI
Web Interface
Storage
Cloud
orchestration
Virtualization
Web Client
features, such as one-pass VMware backups that simultaneously allow for granular
application recovery.
The specific architecture used in a virtual environment should be well understood.
Veritas solutions support a subset of many varieties of virtualization storage and guest
operating system architectures. Be sure to examine and evaluate the support and
limitations of both the virtualization vendor and the Veritas NetBackup solution in
designing your backup strategy for virtual environments.
NetBackup support for VMware vSphere and Microsoft Hyper-V are summarized in the
table on the slide. Both products are supported with full VM recovery, or individual file
and folder level restores, from single-pass backups performed by NetBackup. Both
VMware and Hyper-V policy types exist, that include automatic VM selection using a
query builder, as well as simplification of VM-specific backup configuration. Settings
exist to limit and control backup impact on the environment, to ensure performance is
not adversely affected.
Full and incremental backups are supported, including block-level incremental backups
(BLIB) that avoid backing up unused space. BLIB is supported with VMware Change
Block Tracking (CBT) and Hyper-V Windows Management Instrumentation (WMI).
NetBackup for VMware also supported application-aware single-pass backups for
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
granular recovery of Microsoft Exchange, and SharePoint, and provide log truncation for
Microsoft SQL and Exchange. NetBackup for VMware also supports instant virtual
machine recovery, which is discussed in more detail in the Performing Virtual Machine
Restores lesson.
Off-host backups of VMs are supported in VMware using VMware vSphere Storage APIs
– Data Protection (VADP), reducing processing load on the VM server, and preventing
the need to install a NetBackup client on the VMs. Hyper-V also supports some off-
host/alternate client backups, but requires some additional configuration steps, as
provided in the documentation. Centralized management and web consoles are
supported, which include VMware vSphere web client, vCenter servers, and the Hyper-V
System Center Virtual Machine Manager (SCVMM).
10
This slide displays the information about RedHat Virtualization support for NetBackup
8.2 and later releases.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure VMware backups.
11
12
The slide lists VMware components and components used by NetBackup when backing
up VMware. The first four components list VMware servers and components, and the
bottom four components list NetBackup components. The VMware vCenter server is
not required for NetBackup to perform VMware virtual machine backups; however,
certain features may not be available or alternate configurations may need to be used.
The VMware backup host has certain operating system restrictions. These are discussed
on the following slide.
Note: The VMware backup host was referred to as the VMware backup proxy server in
some prior releases.
To perform backups that enable full VM and file-level recovery, the NetBackup client
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
does not need to be installed in the VM. The NetBackup client needs to be installed in
the following circumstances:
• Performing individual file restores directly to the virtual machine
• Performing Application backups with a VMware backup policy
NetBackup
client
Datastore
(VMDK files)
virtual machine that is being protected. Although the slide shows two, here is a
summary of the types of access mechanisms that are available:
• Local area network (LAN) access to datastore, where the backup host accesses the
VMware datastore using the ESX servers, and the datastore data travels over the
TCP/IP network. In VMware this is referred to as NBD (network block device) or
NBDSSL (encrypted).
• Storage area network (SAN) access to datastore, where the backup host accesses
the VMware datastore directly over the SAN, normally with improved performance
and less impact on the ESX servers.
15
The process within NetBackup for VMware-based backups follows these general steps:
1. The NetBackup master server starts the backup and initiates a VMware snapshot by
communicating with the VMware server. Note that in VMware, the snapshot causes
the original VM image – represented on the slide as VMDK – to become static. A new
VM image file – represented on the slide as VMDK.1 – continues to record new
data.
2. The VMware backup host (in many cases the Windows media server) reads the
static VMDK files (represented on the slide as VMDK), maps their contents using the
vStorage APIs to index individual files and ensure only used space is being written,
and writes the backup directly to disk or tape.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
3. After the backup completes successfully, the VMware snapshot is deleted. On the
slide, the changes recorded in the VMDK.1 VM file are rolled into the static data
held by the VMDK VM file. Note that by default NetBackup will only remove previous
snapshots created by NetBackup, and will not modify any other VMware snapshots
in the environment.
16
This slide shows an overview of the VMware and NetBackup configuration required to
create VMware backups managed by NetBackup. These steps are discussed in the
NetBackup for VMware Administrator’s Guide, and are shown in more detail in the
following slides.
VMware configuration: The VMware configuration is not based on the NetBackup
environment, and the VMware documentation should be used for all VMware specific
installation and configuration. The VMware Tools package is often installed on virtual
machines, and does enable NetBackup to perform backups of virtual machines without
the NetBackup client software installed on the VM. Although not technically required,
issues like crash-consistent backups may occur. Additionally, NetBackup integrates with
VMware components such as vCenter and vSphere, as is discussed elsewhere in this
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
course.
NetBackup configuration: The NetBackup configuration steps shown on the slide are
discussed in more details in the following slides in this lesson.
• Review tips in Veritas NetBackup for VMware Administrator’s Guide: NetBackup for
VMware best practices
• Best practices may include:
– Upgrade to the latest version of VMware vSphere or Virtual Infrastructure.
– Use the same VM name for both host name and display name.
If the policy’s Primary VM identifier option is changed, the existing entries under the policy’s Clients tab are still
valid.
– Add additional VMware backup hosts for scalability.
– Use VMware resource limits:
For example, allow less than 4 concurrent backup jobs / snapshots per datastore.
– Attempt to use a single backup policy per datastore.
17
Before configuring NetBackup, Veritas recommends that you configure or modify the
VMware environment. Before configuring the NetBackup for your VMware
environment, Veritas recommends reviewing the Veritas NetBackup for VMware
Administrator’s Guide in the NetBackup for VMware best practices section. Some
VMware best practices are given on the slide. Note that NetBackup does not require any
modifications to existing vSphere environments.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
18
• For a more efficient backup, install the NetBackup media server and the VMware
backup host on the same host.
• Ensure that the VMware backup host has enough memory to handle the number
of simultaneous backups that occur. Monitor active memory usage on the
backup host during backups and add memory, if needed.
• Add additional backup hosts to increase backup throughput, when needed.
3
Add VMware backup
host to NetBackup
19
3. Add any VMware backup hosts to the Host Properties for the master server:
a. Click Host Properties > Master Servers, double-click the NetBackup master
server, and click VMware Access Hosts.
b. Click Add, enter the VMware backup host, and click Add.
c. When you are finished adding hosts, click Close.
In the policy’s VMware backup host drop-down list, select Backup Media Server to use
any available media server. If this option is used, make sure that all media servers in the
storage unit referenced by this policy are valid VMware backup hosts.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
Optionally, set limits on the use of VMware resources by navigating to the Resource
Limit tab of the master server’s Host Properties. Click in the Resource Limit column to
set the maximum NetBackup usage for the resource type. The settings apply to all
VMware policies that use a VMware Intelligent Policy query to select clients. VMware
Intelligent Policy queries are discussed elsewhere in this lesson.
The default for all resource limits, indicated in the NetBackup Administration Console by
a blank value in the Resource Limit column, is unlimited. The screen shot shows a
maximum of four simultaneous backup jobs to any ESX server at a given time. For
details on resource limit types and behavior, see the NetBackup for VMware
Administrator’s Guide: Setting global limits on the use of VMware resources. Note that
you may want to adjust or tune the resource limits according to the transport mode you
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
select.
4
Add VMware credentials
to NetBackup
vCenter server or
ESX server
21
d. In the Credentials pane of the Virtual Machine Server dialog box, enter the
following, then click OK.
• Virtual machine server type: Select VMware Virtual Center server, VMware
ESX Server, or VMware Restore ESX Server. Note that VMware Restore ESX
Server designates an ESX server to which NetBackup can restore virtual
machines, however NetBackup will not back up virtual machines from that
restore server.
• Username and Password
• If the default port number has changed, mark the Connect using port
number check box, and enter the port number.
5
Use the VMware
policy type
23
5. To create a backup policy, use either the Policy Configuration Wizard or the Policies
utility in the NetBackup Administration Console. The VMware policy type was
introduced in NetBackup 7.5. When it is selected, a new VMware tab is displayed in
the policy configuration dialog. This tab contains VMware-specific parameters.
Veritas recommends using the VMware policy type. This policy type is discussed in
this lesson.
Note: Prior to NetBackup 7.5, the FlashBackup-Windows policy type was used to
back up virtual machines. Veritas does not recommend using this policy type to back
up virtual machines unless it is required, because this policy type does not support
newer backup functionality and features. To migrate FlashBackup-Windows policies
that were created in prior versions to use the new VMware policy type, see the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Attributes Schedules
• Many options don’t apply. • Supports full, differential, and cumulative
incremental.
• Supports full VM and file-level incrementals for all
schedules.
– Set Enable file recovery from VM backup on the
VMware tab.
• Optionally use block-level incremental backups
(BLIB):
– Requires ESX server 4.0 and later, and Virtual machine
at vmx-07 or later.
– Set Enable block-level incremental backup option.
24
For VMware type policies, many attributes found under the policy Attributes tab are
disabled. Most relevant VMware-specific options are found under the VMware tab,
discussed elsewhere in this lesson. VMware policies support NetBackup Accelerator,
which is discussed in the Optimizing File System Backups lesson.
VMware policies support full, differential incremental, and cumulative incremental
schedules. If you are simply backing up the virtual machine disk (VMDK) files, these
schedules normally all back up the entire file. By setting the Enable file recovery from
VM backup option under the VMware tab, NetBackup can recover the entire virtual
machine from these VMDK files, as well as perform individual file recovery. This ensures
that incremental backups only back up the changed files, while still providing the ability
to restore the entire virtual machine. Note that file-level recovery is only available on
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
supported guest operating systems and file systems. For more details, refer to
NetBackup Support in Virtual Environments at:
https://www.veritas.com/content/support/en_US/doc/NB_70_80_VE.
Additionally, block-level incremental backups (BLIB) are enabled using the Enable block-
level incremental backup option. This improves performance further by backing up data
at a block-level, instead of at a file-level. This functionality requires ESX server 4.0 and
later, and virtual machines with hardware version vmx-07 or later.
25
When assigning clients for a VMware policy, you can select whether to select clients
manually or to have them automatically selected using a query that you construct. To
manually specify clients, navigate to the Clients tab, select Select Manually, and click
New. The Browse for Virtual Machines dialog box is displayed. Select Browse and
Select Virtual Machines to see a drop down hierarchy of virtual machines. Select the
virtual machine or machines you are interested in protecting.
Note: If your VMware environment contains many VMware servers and virtual
machines, it may take too long to search and list all of them. To limit the VMware
servers that are browsed, follow the directions provided in the NetBackup for VMware
Administrator’s Guide under the section titled: Limiting the VMware servers that
NetBackup searches when browsing for virtual machines.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note that a policy where virtual machines are manually selected does not work with the
VMware virtual machine limits specified in the master server host properties.
Example queries:
• Back up all VMs in Power On state
• Back up all VMs where the OS type is Windows 2012
• Back up all VMs where the display name starts with “Vmprod”
• Back up all VMs in the Dev folder that belong to cluster Cluster03
• Back up all VMs in Power On state in datastore Storage 1 where
the OS type is RedHat Linux
26
Starting with NetBackup 7.1, VMware-based policies allow for automatic virtual
machine selection. Queries are built around virtual machine attributes to determine
which virtual machines to back up. These queries can be combined with filters to create
more complex queries and limit the results. If you want to use the new intelligent policy
functionality instead of performing a manual configuration, set the Virtual machine
selection to Select automatically through query. Next, set the VMware discovery host.
Although this does not need to be the same as the VMware backup host, in many
environments this may be the same server. The VMware discovery host has the same
requirements as a backup host: be a supported operating system and have NetBackup
software installed.
In this query builder, you build the virtual machine selection query. If you do not select
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
any query filters, the default behavior is to discover all virtual machines, and back them
all up. The slide shows some examples of possible virtual machine selection queries.
Some examples show queries that use multiple query filters that are combined to
narrow the resulting virtual machines.
Join: Clear
• Not
• And Value(s)
• And Not
Operator:
• Or Field: • AnyOf
• Or Not VMware-related fields, such as • Contains
Cluster, Datacenter, Datastore, • EndsWith
Displayname, ESXserver, Tag, • Equal
VMGuestOS, and many more. • Greater
• GreaterEqual
• IsSet
• Less
• LessEqual
• NotEqual
• StartsWith
27
that make up the selection queries, including the Join, Field, and Operator fields. The
buttons on the right help select values and form complex queries:
• The Browse button is used to discover available values based on the fields and the
available VMware resources.
• The Add button is used to add this filter to the query.
• The Clear button clears these fields, enabling you to start again.
28
VMware Tag operations require vCenter Server 6.0 or later. The NetBackup master
server and all discovery hosts must be at NetBackup 7.7.1 or later. When using media
server load balancing, all media servers that are associated with the storage unit group
must be at 7.7.1 or later. Any Windows host with only the NetBackup client software
installed, that is also defined in the VMware policy's Client tab as the NetBackup host to
perform automatic virtual machine selection, must have NetBackup Java installed.
Install the NetBackup Remote Administration Console to install NetBackup Java. If the
tag field is not required to satisfy the query, tags will not be collected and backed up. In
such a case, the tags will not be restored in a successful restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note: Invalid queries or data that cannot be processed by basic mode (such as
parenthesis for precedence) may prevent being able to return to basic mode.
29
Instead of using the query builder’s Basic Mode, click the Advanced button to use the
Advanced Mode. In this mode, you can customize the query manually and use
functionality, such as parenthesis, to establish query order and precedence. When
converting from basic mode to advanced mode, the existing query is converted and can
be used as a starting point. Note that while in advanced mode, you can also click on the
Basic button to revert to basic mode. This function does not work if the query contains
invalid data, or data that is not supported by basic mode (such as parenthesis).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
30
When your query is formed, there is a Test Query button to execute and test the query.
After the test returns, the Test Query Results display every virtual machine found, and
identify whether the current filter value results in the virtual machine being included or
excluded. If the query is not working as desired in providing the correct virtual machines
for the policy, the query can be modified and retested.
In an environment with large numbers of virtual machines, a query can take many
minutes. During that duration, the console cannot be closed or used to monitor other
operations. A command line utility, nbdiscover (found in the NetBackup bin
directory) can be used to check the search terms of a query outside of using the
NetBackup console. This frees the console for monitoring and other work. This utility
uses the name of the policy as an argument.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
For more details, refer to the Veritas NetBackup for VMware Administrator’s Guide - the
Query format and examples for searching virtual machine backups section.
31
The Reuse VM selection query results parameter enables the administrator to control
the virtual center interaction by specifying how old the query results need to be, before
NetBackup queries the virtual center server for virtual machine discovery information
again. This parameter does not have any effect on backup scheduling. Similarly, backup
job scheduling does not affect when virtual machine discovery takes place. In the
example on the slide, discovery queries the virtual center every 8 hours, regardless of
when jobs are scheduled. When the policy is scheduled to run, the virtual machines that
were discovered last are used. When a query or policy property that affects discovery is
modified, the Reuse VM selection query results time value is ignored, and a new virtual
machine discovery takes place.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
32
When you use manual virtual machine selection, the Backup Selections list simply
shows ALL_LOCAL_DRIVES. When you use automatic virtual machine selection, the
virtual machine selection query that was created is listed under the Backup Selections
list, as shown on the slide:
vmware:/?filter=VMGuestOS Equal “rhel6_64Guest” AND
ESXserver Equal “esx1.example.com”
In either case, the policy backs up all local drives from each listed virtual machine. To
exclude certain drive types, such as swap, boot, or data drives, use the Virtual disk
selection setting under the VMware Advanced Attributes setting. This setting is
discussed elsewhere in this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
33
When VMware is selected as the policy type a VMware tab is displayed in the policy
configuration dialog box, which contains many VMware-specific settings. These settings
are discussed in the following slides.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Example configuration
winmaster winmedia ESX server
LAN
SAN
Datastore
STU1 STU2
34
The VMware backup host is a NetBackup host that performs backups on behalf of the
virtual machines. Possible choices include:
• Backup Media Server: This option instructs NetBackup to use the media server of
the backup job as the VMware backup host as well.
Note: The storage unit that is specified in the policy must be unique to media
servers supported as backup hosts. In these cases, if the storage unit is also available
for a media server that is not supported as a backup host, the snapshot cannot
succeed.
When the Backup Media Server option is selected, NetBackup cannot determine a
host to perform policy validation. To validate the policy, temporarily select one of
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
the possible media servers as the backup host (do not select Backup Media Server).
When the policy validates successfully, reset the backup host to Backup Media
Server.
• A specific backup host, which selects a particular backup host to perform the
backup.
Note: The backup hosts (but not backup media servers) must be identified in the
master server’s host properties under VMware Access Hosts.
35
This Primary VM identifier specifies how NetBackup recognizes VM names, for backup:
• VM hostname: This is the network host name for the virtual machine. This option is
the default. This option requires running and functioning VMware Tools in the VM.
• VM display name: This is the name of the VM as displayed in the VMware interface.
Character restrictions apply; Refer to the NetBackup for VMware Administrator’s
Guide.
• VM BIOS UUID: This is the ID assigned to the VM when it is created. This ID may or
may not be unique, depending on whether the VM has been duplicated.
• VM DNS Name: This is the virtual machine’s VMware DNS name. In the vSphere
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Client, this appears under the virtual machine's Summary tab. This option requires
VMware Tools running in the VM as well as a properly configured DNS configuration.
• VM Instance UUID: This is the globally unique ID assigned to the VM when it is
created, even if the VM has been duplicated. The option requires backup hosts
running NetBackup 7.5 or later, and is not available in some legacy VMware releases.
Virtual machine names must be uniquely identified in a master server’s backup policies.
Additionally, the virtual machine may not be browseable under certain conditions, such
as when using the hostname as the identifier and the virtual machine is powered off, or
when the virtual machine does not have an IP address.
36
The following options set the type and scope of the VMware virtual machine backup:
• Enable file recovery from VM backup: This option enables restores of individual
files from the backup. Additionally, it provides the best deduplication rates with
NetBackup deduplication. With or without this option, you can restore the entire
VM.
• Enable block-level incremental backup: Block-level backups (BLIB) reduce the size
of full and incremental backups by tracking and only backing up the blocks that have
changed since the last backup. BLIB works with VMware’s Changed Block Tracking
(CBT) in vSphere to track the block-level changes, and requires ESX server 4.0 and
later, and VM hardware version vmx-07 or later. If this checkbox is enabled,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
38
• Enable Exchange Recovery: This option enables recovery of the Exchange databases
or mailbox messages from the virtual machine backups. If this option is disabled,
you can recover the entire virtual machine from the backup, but you cannot recover
the databases or mailbox messages individually. When using the Enable Exchange
Recovery option:
• Enable the Enable file recovery from VM backup option.
• Disable the Enable block-level incremental backup option.
• Use the Truncate logs option to truncate the transaction logs when the VM
snapshot is complete. Truncating the logs frees up disk space in the virtual
machine. To use this option, install the Veritas VSS provider on the VM.
recommended to simply enable these options for policies that back up all VMs. Instead,
create a new VMware policy specifically for those virtual machines that are running
these applications, and enable the Application Protection option for that policy.
This is covered in greater detail in the NetBackup Advanced Administration course.
Datastore Datastore
HOTADD
LAN
Media ESX
server server
SAN
Backup
host
Datastore
Article 100030882: VMware Transport Modes: Best practices and troubleshooting
40
The transport modes determine how the snapshot data travels from the VMware
datastore to the VMware backup host. The appropriate mode depends on your
environment. By default, all modes are selected. NetBackup tries each transport mode
in order, from top to bottom. It uses the first mode that succeeds for all disks in the VM.
The following transport modes are available:
• san: For unencrypted transfer over Fibre Channel (SAN) or iSCSI. Note: This mode is
not supported for VMs that use VMware Virtual Volumes (VVols).
• hotadd: Lets you run the VMware backup host in a virtual machine. This feature
requires ESX 3.5 Update2 or later. Note: For virtual machines that use VVols, they
must reside on the same VVol datastore as the backup host (hotadd) VM.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• nbd: For unencrypted transfer over a local network that uses the Network Block
Device (NBD) driver protocol. This mode is usually slower than Fibre Channel (san).
• nbdssl: For encrypted transfer (SSL) over a local network that uses the Network
Block Device (NBD) driver protocol. This mode is usually slower than Fibre Channel
(san).
Use the Move Up and Move Down buttons to change the order in which NetBackup
tries each selected mode. For more best practices and suggestions on these modes,
refer to Article 100030882: VMware Transport Modes: Best practices and
troubleshooting at: http://www.veritas.com/docs/100030882.
Virtual machine
quiesce
Optionally set
Post events to
vCenter
Limit VMware
servers
communicated with
by this policy
41
This dialog box is displayed when you click Advanced under the VMware policy tab. You
can use the VMware Advanced Attributes dialog to set the following additional
parameters. In most situations, the best settings are the defaults.
• Virtual machine quiesce: This option is enabled by default. I/O on the virtual
machine is quiesced before NetBackup creates the snapshot. This helps guarantee
data consistency in the snapshot. Veritas does not recommend that you disable
quiesce.
• Virtual disk selection: This option determines the kind of disks on the VM that are
included in the backup. This option can reduce the size of the backup, but should be
used with care., and is only intended for VMs that have multiple virtual disks.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Ignore diskless VMs: This option directs NetBackup not to back up any VM that has
no VMDK file assigned to it; for example, a replicated virtual machine in passive
mode in a VMware vCenter Site Recovery Manager (SRM) environment.
• Post events to vCenter: This option enables NetBackup to send backup-related
events to the vCenter server. More information is available on how to view the
events in the NetBackup for VMware Administrator’s Guide.
• VMware server list: Specifies a colon (:) delimited list of VMware servers that
NetBackup communicates with for this policy. VM queries will only go to these
servers, which helps improve performance in large virtual environments.
Example:
scsi0-0,ide0-0,sata0-0,nvme0-0
42
The Exclude Disks tab determines the kind of disks on the VM that are excluded from
the backup. These options can reduce the size of the backup, but should be used with
care. The available options include:
• No disks excluded backs up all VM disks configured for the virtual machine.
• Exclude boot disk excludes only the boot disk (for example the C drive).
• Exclude all data disks includes only the boot disk and excludes all data disks.
• Perform custom attribute based exclusion excludes disks based on VMware custom
attributes. If you select this option, you must also enter the name of the Custom
Attribute, which NetBackup then uses to determine which disks to exclude. The
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
default value for this attribute is NB_DISK_EXCLUDE_LIST or you can enter the name
of the VMware custom attribute. This VMware custom attribute is created using the
Exclude Disk Wizard through the NetBackup plug-in for vSphere Web Client.
NetBackup excludes the disks defined by the attributes listed in the policy. The
attribute must have a comma-separated list of device controllers of the disks to be
excluded, for example: scsi0-0,ide0-0,sata0-0,nvme0-0
If the custom attribute is not populated or does not exist on the VM, none of the
disks are excluded. If disks are removed from the custom value between the
differential backups then only those files that changed since the last backup are
available to restore individually. If disks are added to the custom attribute value
between the differential backups then those disks are excluded from the next
backup.
44
The new NetBackup plug-in for vSphere Web Client now contains a Virtual Disk
Exclusion Wizard. This is an easy way to set custom attributes for VMware hosts and
their virtual disks. Once the wizard is launched enter a Custom Attribute name or leave
the default setting, NB_DISK_EXLUDE_LIST. Next, search for the desired virtual host
name and select the host name(s) from the resulting list.
Next, select the disks to which you want to apply the Custom Attribute. If a disk is
excluded already, a warning icon appears in the Exclude disk column.
From the Review Selections screen, select the virtual machine then select Set
Exclusions. The list box shows the results of the operation. These disks will be excluded
each time this Custom Attribute matches the Custom Attribute and virtual hostname in
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
a backup policy.
45
For backup or restore of VMs on VVol datastores, NetBackup supports the following
transport modes: nbd, nbdssl, hotadd. Due to a VMware VDDK limitation, san transport
is not supported. To restore a virtual machine with the hotadd transport mode: VMware
requires that the virtual machine and the restore host virtual machine reside on the
same VVol datastore. Otherwise, the restore must use a different transport mode (not
hotadd).
For a restore to standard (non-VVol) datastores, the NetBackup job creates a vSphere
snapshot of the virtual machine while NetBackup restores the data.
Note: For a restore to a VVol datastore, NetBackup restores the data to the virtual
machine without creating a vSphere snapshot.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing his topic, you will be understand protection plans and use
them to protect VM’s and VM groups.
46
Note: Protection Plan database is greatly simplified in 8.2 to avoid storing redundant data with existing policy DB.
47
A protection plan defines when backups are performed, how long the backups are
retained, and the type of storage to use. Once you have set up a protection plan, you
can subscribe assets to that protection plan. Before you create a protection plan, you
must configure all storage options in the NetBackup Administration Console.
For more information on protection plan, refer:
https://www.veritas.com/content/support/en_US/doc/135031700-135031705-
0/v130722462-135031705
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1 2
48
4
5
49
3. Select the server type and enter its host name, and its credentials.
4. Choose a Backup host for validation..
Note: Adding or updating VMware credentials also automatically starts the discovery of
the VMware server. When backup host information is provided in the request, it is used
to perform validation of credentials as well as for performing the discovery. For
discovery, NetBackup 8.1.2 is the minimum version that is supported for a NetBackup
media server or client that serves as a backup host. For older versions, backup host
credential validation succeeds, but the discovery of VMware servers fails.
5. Indicate a Port number for connection. If the default port number has not been
changed on the VMware server, no port specification is required. If the VMware server
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
has been configured to use a different port, specify that port number.
6. Click Save.
Note: The discovery of VMs and other objects in the vCenter or ESXi server begins when
server credentials are added or updated through the web UI or an API. However, the
server's VMs and other objects might not appear in the UI immediately. They appear
after the discovery process for the VMware server completes. Discovery also occurs at
set intervals. (The default interval is every 8 hours.)
1
3
50
4. Click on a VM to view its protection status, recovery points, and restore activity.
Note: From here, you can click Add protection to subscribe the VM to a plan.
51
52
Protection status
53
You can view the current protection plans that VMs or VM groups are subscribed to. To
view the protection status of VMs or VM groups:
1. On the left pane, click VMware.
2. On the Virtual machines tab or Intelligent VM groups tab, click the VM or VM
group. The Protection tab shows the details of the plans that the asset is subscribed
to.
3. For more details on the protected asset, click more....
If the asset is not currently protected, the screen displays that, and you can click
Configure protection to subscribe it to a plan.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
54
You can create an intelligent VM group based on a set of filters called queries.
NetBackup automatically selects virtual machines based on the queries and adds them
to the group. You can then apply protection to the group. Note that an intelligent group
automatically reflects changes in the VM environment and eliminates the need to
manually revise the list of VMs in the group. To create an intelligent VM group:
1. On the left pane, click VMware.
2. Click the Intelligent VM groups tab.
3. Click Add.
4. Enter a name and description for the group.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
5. Click Add vCenter or standalone ESXi server. Note: The web UI lists the servers that
you can access based on your role and permissions (RBAC).
6. Select the appropriate server and click Save.
7. Under Create query for virtual machines, you can do one of the following:
• Select the default query: Include all VMs in this server. When the protection plan
runs, all VMs that currently reside in the vCenter or ESXi are selected for backup.
• Create your own query: Click Add condition.
cluster
datacenter
datastore
displayName Ends with Value for the
host Contains selected condition
tag = (Plain text only)
dnsName !=
hostname
instanceUuid
56
Keyword Description
Operator Description
1 3
58
When you subscribe an asset (VMs or intelligent VM groups) to a protection plan, you
assign predefined backup settings to the asset. The following are the requirements for
protecting VM’s or VM intelligent groups:
You must have access to the VMs by means of the appropriate role-based access
control (RBAC) that the NetBackup security administrator assigned to you.
• You must have access to the protection plans.
• The appropriate services on the master server must be running and the web UI must
be accessible.
To protect VMs or VM groups:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing his topic, you will be able to monitor VMware backup.
59
• The first parent job runs with the discovery host as Client and resolves virtual machines
with the query in the File list.
• Each VM has a parent snapshot and child backup job.
60
When using automatic VMware client selection, client discovery is required when the
backup runs. An initial parent job runs the client discovery, displaying the job’s client as
the discovery host, and the job’s file list as the query that is being used. After this initial
parent job, each virtual machine is displayed as a standard virtual machine backup,
which normally has an initial parent snapshot job and a child backup job.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
61
NetBackup can record backup activity for virtual machines in VMware vCenter. You can
view the events in vSphere Client at the level of any parent object (such as folder,
datacenter, cluster, or host). You can also view the events for the entire virtual machine.
Ensure that the policy’s Post events to vCenter option is enabled under the VMware
tab’s advanced options. To view backup events and the last backup time in vSphere
Client:
1. Open the vSphere Client and connect to the VMware server.
2. Navigate to Home > Inventory > Hosts and Clusters.
3. Select the object (such as datacenter, host, or virtual machine) and select the Tasks
& Events tab.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
62
Traditionally, virtual machine snapshots do not quiesce Linux virtual machines and the
backup uses snapshots that are crash consistent. The term Crash consistent denotes
that the backup of the system will be roughly equivalent to how the system would
appear after a system crash. Because of file system consistency tools, such as journaling,
the system should be usable, however this is not an optimum way of backing up your
servers.
Previous versions of NetBackup provided a tool, SYMCQuiesce, that would quiesce
some Linux VMs. In NetBackup 8.1and later releases, SYMCQuiesce is discontinued
since this same functionality is now present in Open VM Tools for various Operating
systems. More information about Open VM Tools can be found at:
https://kb.vmware.com/kb/2073803.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
For any Linux VMs that were backed up while they were running. Use a file system
check (fsck) after restoring data to ensure data consistency after a restore,
63
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
64
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
65
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. vCenter server
B. Datastore
C. vStorage API
D. VMware tools
66
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. vCenter server
B. Datastore
C. vStorage API
D. VMware tools
The correct answer is B. The datastore contains virtual machine data for the ESX servers.
67
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Windows 2008
B. SUSE Linux 11
C. Solaris 11
D. RedHat Linux 6
68
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Windows 2008
B. SUSE Linux 11
C. Solaris 11
D. RedHat Linux 6
The correct answer is C. Solaris is not supported as a platform for the backup host, regardless of the
NetBackup version. For the latest information, refer to Article TECH127089: Support for NetBackup 7.x in
virtual environments, or the latest NetBackup for VMware documentation.
69
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Oracle
B. Microsoft Exchange
C. Microsoft SharePoint
D. Microsoft SQL
70
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Oracle
B. Microsoft Exchange
C. Microsoft SharePoint
D. Microsoft SQL
The correct answer is A. You can select Microsoft Exchange, Microsoft SharePoint, and Microsoft SQL for Application
Protection under the VMware policy tab.
71
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
9-72
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Performing VMware Restores lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe virtual machine
restore concepts.
VMware ✓ ✓ ✓ ✓
Microsoft Hyper-V ✓ ✓ ✓
RedHat Enterprise
✓
Virtualization (RHEV)
Citrix XenServer ✓
Solaris zones ✓
LAN
SAN VM VM
Master Media
server server server storage
LAN
NetBackup
client VM VM
Master Media
server server server storage
NetBackup has the capability of performing one-pass backups for virtual machines that
also records metadata which enables individual file restores. This feature is both time
efficient in allowing for a single-pass backup, and space efficient in requiring only one
copy of the backup for both full VM recovery and individual file recovery. Recovery of
individual files must be performed to a host running the NetBackup client software.
NetBackup 8.2 introduces the Agentless recovery feature, where the NetBackup client
does not have to be installed on the client machine. Recovering individual files must be
performed over a local area network (LAN).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to run VMware restores using
the Backup, Archive, and Restore console.
To restore a virtual machine, launch the Backup, Archive, and Restore console. This can
be launched on the master server or on the virtual machine backup host that is
configured to communicate with, and take the data stream from, the ESX server.
1. Set the source and destination clients. From the Actions menu, select Specify
NetBackup Machines and Policy Type.
2. Set the Source client for restores (or virtual client for backups) as the virtual
machine you wish to restore. Type in the client’s name, or use the Search VM
Clients button.
3. Select the Destination client for restores and the Policy type for restores. Ensure
that you select the correct policy type:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
10
Clicking the Search VM Clients button in the Specify NetBackup Machines and Policy
Type dialog box, displays the Browse and Search Virtual Machines for Restore dialog
box. The example on the slide shows a sample view when Browse Virtual Machines:
vSphere view is selected. Select the type of view for browsing:
• vCloud view: Shows the virtual objects as they appear in vCloud Director.
• vSphere view: Shows the virtual objects as they appear in vSphere Client.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
11
Select the appropriate restore type under the Restore Type dropdown:
• Normal Backups: This option is used to view and restore individual files.
• Virtual Machine Backup: This option is used to restore the entire virtual machine.
• Virtual Disk Restore: This option is used to restore one or more virtual disk.
These options explained in greater detail in the following slides.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
12
The Restore type Normal Backups is used to view and restore individual files. Specify
the destination as the virtual machine’s host name (not the display name or UUID).
Note that restoring individual files to a virtual machine requires the NetBackup client to
be installed on that VM. Alternatively, you can restore to a shared folder that can be
accessed by the virtual machine client.
To restore directly to a virtual machine, the ESX server name that is specified for the
restore must match the ESX server’s official hostname. The name must be in the same
format in which it is registered in the DNS and in the VMware server. The restore fails if
ESX servers are configured with short host names and if the backup and restore are
through a vCenter server. Note that you can restore Windows files to a Windows guest
operating systems, but not to Linux. Similarly you can restore Linux files to supported
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Linux guest operating systems but not to Windows. If a Linux file system was not
quiesced before the snapshot, some files may be inconsistent. This issue is discussed
further on in this lesson.
13
The Restore type - Virtual Machine Backup is used to restore the entire virtual
machine. To recover the complete virtual machine, select the VMDK files you wish to
restore. If you are restoring from physical tape, click the Preview button to see which
tapes are needed for the restore. When ready, click the Restore button. After selecting a
Restore type - Virtual Machine Backup, clicking the Restore button starts the Virtual
Machine Recovery Wizard. The following slides explore this wizard.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
14
The Virtual Machine Recovery wizard guides you through the process of recovering a
complete virtual machine. The first screen displays the original settings of the virtual
machine at the time it was backed up. Review the settings and decide whether you
want to recover the virtual machine to its original location or to an alternate location.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
15
• nbdssl: For encrypted transfer over a local network that uses the Network Block
Device (NBD) driver protocol (i.e. the LAN).
• hotadd: Requires that the VMware recovery host is itself a virtual machine. This
feature requires ESX 3.5 Update2 or later.
16
On the Virtual Machine Options screen, select any of the applicable virtual machine
restore options:
• Restore UUID
• Overwrite the existing virtual machine
• Remove backing information for devices
• Remove network interfaces
• Power on virtual machine after recovery
•
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1
2
17
18
The Restore type - Virtual Disk Restore option is used to restore individual VMWare
virtual machine disks to the following destinations:
• Original virtual machine: Either overwrite the original disks or attach virtual disks
without overwriting them. NetBackup creates a temporary VM to which the virtual
disks are restored to, attaches the virtual disks to the existing target VM, and finally
deletes the temporary VM after the disks are attached successfully.
• Alternate virtual machine: NetBackup creates a temporary VM to which it restores
the virtual disks, then attaches the virtual disks to the existing target VM, and finally
deletes the temporary VM after the disks are attached successfully.
• New virtual machine: NetBackup creates a new virtual machine and restores the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
specified disks to the new VM. After the restore, the restored disks should be
attached to a VM that can support them and then delete the restore VM.
Note: If the recovery host is running a version prior to NetBackup 8.1, the original and
different VM restore destinations are not supported.
To recover a virtual machine disk, select the virtual machine. If you are restoring from
physical tape, click the Preview button to see which tapes are needed for the restore.
When ready, click the Restore button. After selecting the Restore type - Virtual Disk
Restore, clicking the Restore button starts the Restore Virtual Machine Disks Wizard.
The following slides explore this wizard.
19
The new Restore Virtual Machine Disks wizard is launched from the Backup, Archive
and Restore interface when you select Restore. The Select Virtual Disks screen shows
all of the virtual disks that were in the VM at the time of backup, even those disks that
were excluded from the backup. By default, the wizard displays the virtual disks. Select
File System to show the file system disks. Select the disks you wish to restore, then click
Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
Select where you want to recover the virtual disks to: Original, Alternate, or a New
(temporary) virtual machine. From the Advanced Restore Options you can Delete
Restored staging VM on error and adjust the Wait time for VM shutdown.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
Virtual Disk Destination details are displayed. All the options are grayed-out since the
Original Virtual Machine was selected as the recovery destination. If Alternate was
selected, you would have the option to select a different virtual machine. You also have
the option to Power on the virtual machine after restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
When you opt to recover the virtual disks to a New (temporary) virtual machine you
can set the parameters displayed on this screen.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
23
The Storage Destination screen shows the settings for all the virtual disks. Notice that
the value for Restored virtual disk provisioning is set to Original (which is the default)
and the Provisioning column displays Thick Lazy Zeroed. This is because the virtual disk
being restored was thick lazy zero provisioned. If you choose the checkbox for
Overwrite the drop-down menu for Overwrite all virtual disks automatically changes to
Yes. Refer to VMware documentation for more information on disk provisioning types.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
24
The Recovery Summary screen displays the parameters of the recovery. Verify the
setting for the recovery.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Cross-platform restore of individual files is not supported. You can restore Linux files to supported Linux guest
operating systems but not to Windows.
• Make sure that snapshot quiesce is enabled in the Linux guest OS. Contact your operating system vendor and
VMware for additional information. Use fsck to check and fix file systems.
• There are numerous caveats and procedures recovering ext2 and ext3 filesystem to ext4. Refer to the Veritas
NetBackup™ for VMware Administrator's Guide.
• When you restore Linux files individually to an NFS-shared device on a Linux virtual machine, NetBackup can only
restore the file data and attributes. The extended attributes cannot be restored to NFS-shared devices.
• When you restore a Linux virtual machine, the ESX server may assign the virtual machine a new (virtual) MAC
address. After you restart the virtual machine, you may have to configure its MAC address.
25
VMware Virtual machines running the Linux operating system are also supported for full
and block-level incremental backups. The most popular Linux distributions are also
supported for NetBackup Single File Recovery (SFR), as long as the following
prerequisites are met:
• vSphere APIs are in use
• The operating system is RHEL 4 or later, or SUSE 10 or later
• ext2, ext3, and ext4 file systems are used
• NetBackup client is installed inside the virtual machine
Additional caveats and notes are listed on the slide. Refer to the Veritas NetBackup™ for
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to run VMware restores with
Instant Recovery.
26
27
Instant recovery for VMware (IRV) is a capability that allows VMware infrastructure to
use the NetBackup backup location as a data store. No data transfer from NetBackup to
ESX or vCenter is done. The virtual machine can start up and begin processing data
almost immediately. In normal mode, the virtual machine will be migrated to a
production data store. Using VMware storage vMotion migration can be accomplished
while the virtual machine is running. Possible uses for IRV include:
• Access and restore files and folders, and then delete the virtual machine.
• Test a patch on a restored VM before applying the patch to production systems.
• Start a VM from its backup and use it until the production ESX server is back online.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
LAN
vCenter
SAN ESX server
Master Media Datastore
server server servers (VMDK files)
28
LAN
vCenter
SAN ESX server
Master Media NFS Datastore
server server (Datastore) servers (VMDK files)
29
Instant Recovery for VMware uses a Network File System mount served by the
NetBackup media server as a VMware datastore. The ESX server uses the vmdk on this
NetBackup storage to start the recovery virtual machine. Once the recovery virtual
machine is running, VMware vMotion can be used to migrate the virtual machine to a
production datastore. Instant recovery should not be used as a disaster recovery
solution. The load placed on the media server for a full scale disaster recovery will
negatively impact backup and recovery operation.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
30
A SAN connection between the media server and the backup storage is recommended.
The minimum recommended speed for both fibre channel and iSCSI SAN, in gigabits per
second, is given on the slide. Note that NetBackup appliances do not support iSCSI. For
disaster recovery, Veritas recommends no more than four virtual machines for each
media server due to the I/O traffic required for operation. The migration may be slow if
you simultaneously migrate multiple virtual machines per media server. In any disaster
recovery, the backup system is a key component and its effective operation is essential
for success. Overloading the backup system with IRV operations may prove counter-
productive. The number to restore depends on the I/O load on the media server.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NFS vmdk is
read-only
LAN
SAN
Write
Media NFS ESX Datastore Access
server Datastore servers (VMDK files) DS
1 2
NetBackup File System Service (NBFSD)
mounts the disk storage unit as NFS VM is created with write access
Read-Only Datastore. to a existing datastore (DS)
31
In a normal operation for Instant Recovery for VMware, the media server exports the
datastore, making the backup image available as an NFS mount. ESX server will import
that NFS mount, establishing it as a datastore. A snapshot of the VM is made. ESX sets
up temporary write access to local data store for any changes needed by the VM. ESX
infrastructure will then start virtual machine. The NFS VMDK remains read-only.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
LAN
SAN
Write
Media NFS ESX Datastore Access
server Datastore servers (VMDK files)temp DS
32
After the machine is up-and-running it can be used for normal file recovery. It is a fully
functioning virtual machine so it can actually be used to process data. In many cases,
the virtual machine will be migrated to production storage. Production storage is
generally highly available and has higher performance than an NFS datastore exported
from a NetBackup media server. The NFS datastore is unmounted when it is no longer
needed.
Note that the slide illustrates the process assuming that the NetBackup media server is
also the VMware restore host. In the case where the media server and restore host do
not reside on the same server, each is responsible for different behaviors during this
process:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
1. NBFSD on the media server handles the export phase of NFS in Instant Recovery for
VMware (IRV). The VM will reside on the file system on the media server.
2. NBFSD on the restore host handles the mount phase of NFS for IRV.
3. bpVMutil on the restore host handles the VM activation.
• Services for Network File System (NFS) must be enabled • Storage unit must be BasicDisk, AdvancedDisk, PureDisk
on media servers and restore hosts. or qualified OST devices.
• Client for NFS service may have to be restarted on the • Supports full backups and incremental backup schedules
restore host. with NetBackup Accelerator.
• IPv4 is required on the media server. • Does not support:
If using IPV6 add entry to the /etc/hosts file on the – VM where disks are excluded from backup.
ESX server, such as: – VM with disk in raw device mapping mode (RDM) or
10.65.33.245 esx2.example.com in Persistent mode.
• NetBackup requires login credentials for the vCenter – VM templates.
server and the restore host. • ESXi supports only NFS version 3 over TCP/IP
• Restore host can be a Windows host, Linux host, or Using UDP will fail.
NetBackup appliance
• Use esxcfg VMware command line utility to
troubleshoot NFS problems in VMware ESXi.
33
Instant Recovery for VMware requires network file system operations on the media
server and any restore host.
• The target ESX server for the restore must be vSphere 5.0 or later.
• The client for NFS service must be operational on the NetBackup restore host.
• The media server must use IPv4.
• There must be access between NetBackup and the vCenter server in order to access
the VADP API that underlies the service.
Refer to the slide for information on caveats, supported, and unsupported
configurations for Instant Recovery for VMware. Refer to the NetBackup for VMware
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
34
Instant Recovery can be performed using the NetBackup plug-in for the vSphere Web
Client or from the command line using the nbrestorevm command. The plug-in
supports standard recovery, instant recovery and monitoring of backups of virtual
machines that vCenter servers manage. The NetBackup plug-in for vSphere recovery
wizard has the following requirements:
• vCenter Server 5.5 or later.
• vSphere Web Client 5.5 or later
• ESX Server 6.0 or later
• The plug-in supports any web browser that the vSphere Web Client supports.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The NetBackup master server's operating system must be set to the UTC time zone.
• These NetBackup master server platforms are supported: Windows, Red Hat, SUSE,
Solaris SPARC and Solaris x86.
• The NetBackup Web Services must be enabled on the NetBackup master server.
These services are enabled by default on NetBackup 8.0 and later.
The VMware vSphere Client (not the vSphere Web Client) resource map shows the
resources and the connections. It displays the ESX Server (esx2.example.com), the
datastores (INT_ESX2_DS1 and INT_ESX2_DS2), the network, and virtual machines
(winvm1 and lnxvm2) prior to activating an instant recovery. Currently, the two virtual
machines are located on the INT_ESX2_DS1 datastore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Instant Recovery was successful. In this example, a new temporary NFS datastore,
NBU_IR_winmaster, is recognized and used by ESX for the new virtual machine,
clonelnxvm2, that was added to the environment.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Recovery
Workflow
37
• Register Master Servers is used to register NetBackup master servers with the
vSphere plug-in. This is a pre-requisite for using either of the recovery wizards.
• Settings is used to configure recovery wizard settings.
38
Adding a backup server to the vSphere Web Client requires you to generate an
authorization token on the NetBackup master server. The authorization token is
generated using the manageclientsCerts command. Execute the
manageclientsCerts command from a Command prompt, and not a Windows
Explorer window.
Use the -create option and the name of the host as the argument. Once that
authorization token has been generated you will need to transport it over to the vCenter
machine using a shared drive. You then upload it into the vSphere Web Client to permit
the vSphere NetBackup Web Client to communicate securely with the NetBackup
Master.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
39
The settings window allows you modify the settings that the recovery wizards uses.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
40
The Instant Recovery Wizard provides a graphical interface that allows you to instantly
recover VM’s from the VMware vSphere Web Client. The Instant Recovery Wizard
provides five steps to determine important aspects of how a recovery is going to be
carried out. You can see the similarity between these steps and the steps used in Instant
Recovery from the command line using nbrestorevm on the NetBackup master
server.
You can select which vCenter Server and which NetBackup master server to query and
then search for a machine using its display name, UUID, DNS name, or hostname. There
are some wildcard searches available in the selection box. From the Search Results,
select the virtual machines on which you wish to perform Instant Recovery and click
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
After clicking Add Virtual Machines, the number of VMs selected is shown at the top of
the screen. Click Next to continue.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
Use the Change link to select the specific image you wish to use as the source for the
Instant Recovery. The slide shows only three images but in a production environment
you would likely have many images to choose from. Details about each image can be
viewed in the Backup Details pane.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
43
Select the destination for Instant Recovery. Destination selection permits alternate
directory and alternate client choices. Once the VM is recovered, applications can
immediately be started or the local administrator can recover files and objects. In some
cases, only a subset of the recovery is required.
Alternate Data Center selection and resource pool provides greater flexibility in recovery
operations. The recovery could be part of a non-production exercise and it would be
contrary to the enterprise data center policy to have non-production virtual machines
running in a particular VMware Data Center.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
44
45
The recovery settings are displayed on the slide. Review the selections you have made
and run the pre-recovery check for a report on access and resources available for the
recovery. A number of resource allocations are checked and potential problems of the
recovery are uncovered. As virtual machines in real world production can span multiple
terabytes, discovery of problems early in the process is highly desirable.
At this point, all resource checks have returned successful and the restore is ready to
start. Click the Finish button to exit the wizard and recover the VM. The virtual machine
will be powered on from the backup storage and is available for use when the Activate
Instant Recovery job in the NetBackup Activity Monitor completes. Note that the VM
Instant Recovery job will remain in the Active state until it is deactivated by running the
Instant Recovery Cleanup wizard.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
The progress and status of the instant recovery job is reported in the Activity Monitor.
The Detailed Status pane includes the key details about the restore job, including the
VMware identifier. This VMware identifier is used in other commands and is reported in
the nbrestorevm –ir_listvm command to list details about activated virtual
machines, as is shown in the following slides. The VMware identifier is used as a
parameter for some nbrestorevm commands. It is distinct from the NetBackup Job
ID.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
47
The new VM, clonelnxvm2, is now associated with 2 datastores, INT_ESX2_DS2 and
NBU_IR_winmaster_esx2. The NBU_IR_winmaster_esx2 is the temporary NFS
datastore where the backup image of the virtual host is located. The INT_ESX2_DS2 is
the temporary datastore for all write requests for the recovered virtual machine. If the
VM is to remain operational for any length of time, it should be migrated (vMotion) off
the temporary datastores (INT_ESX2_DS2 and NBU_IR_winmaster_esx2) and then
Instant Recovery Cleanup can be run to complete the Instant Recovery job. It is not
recommended to leave recovered VM on the temporary datastores.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
48
Once the Activate Instant Recovery job in the NetBackup Activity Monitor has
completed successfully, the VM can be used for any purpose. Applications can be
started and/or files can be copied off the recovered VM. Since the VM is running off of
the backup storage, performance will likely be degraded. If the VM is to remain
operational for any length of time, it is best to use vMotion to migrate the VM to a
production datastore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
49
The Instant Recovery Cleanup screen has three options that can be selected for a
recovered VM:
• Instant Recovery Done: Use this option to complete the instant recovery operation
after you have performed the Storage vMotion of the virtual machines to a different
datastore. This utility completes the virtual machine instant recovery operation after
the vMotion migration of the virtual machine is completed. When the datastore is
removed, its resources are released on the NetBackup media server.
• Deactivate: Use this option when you are done with the restore and do not intend
to retain the restored virtual machine. This action removes the virtual machine from
the ESX host. If no other virtual machine is using the NetBackup datastore, this
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
option removes that datastore and releases its resources on the NetBackup media
server.
• Reactivate: Use this option when connection to the virtual machine was
interrupted. The interruption may occur due to a network disconnect between the
NetBackup media and the ESX server. This utility reactivates a restored virtual
machine by remounting the NetBackup datastore. It also registers the restored
virtual machines on the ESX host.
50
At this point, vMotion can be used to migrate the recovered virtual machine to a
production datastore. From the Instant Recovery Cleanup screen you can initiate a
Instant Recovery Done, which completes the virtual machine instant recovery operation
and the resources are released on the NetBackup media server. The NetBackup Activity
Monitor now shows that all Instant Recovery operations are complete. Other options on
the screen are the Deactive, which deletes the restored virtual machine and the
Reactivate which reactivates a restored virtual machine by remounting the NetBackup
datastore. It also registers the restored virtual machine on the ESX host.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Are you sure you want to deactivate or delete the virtual machine with identifier 5
y/n (n)?y
VM Instant recovery deactivate request returned with status = 0
51
-ir_done ir_ID Complete the VM instant recovery job after the data is migrated
-ir_reactivate ir_ID
Reactivate a VM that was interrupted during recovery
[-force]
-vmpo Power on the VM
52
The command set options of –ir_done will end an instant recovery job. The VM will
be stopped, then deleted. The imported NFS mount from the media server will be
unmounted by the ESX host. The function of ir_done and ir_deactivate are
identical, if the datastore does not support other active IRV virtual machines.
If the VM recovery ID is gone due to a ir_deactivate option in a command, the
ir_reactivate will fail. There is a –force option that suppresses command
prompts “yes or no” in the command lines. The other options of the nbrestorevm
command allow you to power on the virtual machine, remove the virtual network
interface from the virtual machine, or invoke a rename file. In the rename file the virtual
machine host, resource pools, and networks can be changed. An example syntax of this
file is shown on the slide. There is a specific syntax that must be followed in the rename
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
file.
After completing this topic, you will be able to explain and perform VMware
agentless restores to the original directory and an alternate directory.
53
Selection No NetBackup
list and VM client needs to be
credentials
VM VM
VM VM
VM VM installed on the
target machine
VMware Target virtual machine
NBU
master
NBU media
54
communication through the ESX server happens through the VMware APIs. The restore
host pushes the recovery tool to the VM using vSphere APIs. The data stream containing
the user selected files and folders is staged in a vmdk that is associated with a
temporary VM. This vmdk gets attached to the target VM and recovery tool gets invoked
via restore host on target VM and files and folders gets restored. Once the restore is
successful, NetBackup performs necessary cleanup of the staging location.
55
The slide lists the prerequisites that need to be met for an agentless restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
56
The slide lists some more prerequisites that need to be met for an agentless restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
57
Login to the NetBackup web GUI. In the navigation pane on the left, click VMware. From
the Virtual machines tab, select the virtual machine that needs to be restored to the
original directory.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
58
Select the last successful backup from a recovery point and then click Recover. Choose
original location.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
59
Select the files and folders that need to be restored to the original location, and then
click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
60
In the file restore options, select Restore everything to original directory. Enter the
target VM credentials, and then click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
61
You can choose to append a string to the file names, and then enter the other details
under Advanced Settings.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
62
63
The slide displays the job details of a successful restore to the original location.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
64
Select the virtual machine from which the files and folders need to be restored to an
alternate location. Select the last successful backup from the recovery point, and then
click Recover. Select Alternate location, and then click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
65
Select the files that need to be restored and the target VM.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
66
Select the file restore options on the target VM, and then click Next. Once the pre-
recovery check succeeds, the restore can be initiated.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– In this lesson, you learned about restoring VMware virtual machines and NetBackup support for Instant
Recovery .
– You also learned about Instant Recovery for VMWare
• Reference materials
– NetBackup for VMware Administrator’s Guide
– NetBackup™ Web UI VMware Administrator's Guide
– NetBackup Plug-in for VMware vSphere Web Client Guide
– Support for NetBackup 7.7.x and 8.x in virtual environments
https://www.veritas.com/content/support/en_US/doc/NB_70_80_VE
67
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support Web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
68
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
69
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
70
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Both VMware and Hyper-V virtual machine backups support restoring selected files or
directories from full backups, as long as the virtual machine backup was performed with the Enable file recovery from
VM backup policy option.
71
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
72
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Whatever identifier was used in the backup policy should be used. This is sometimes the
hostname but it might also be a different identifier such as the Display Name or UUID.
73
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
74
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is C. The graphical Instant Recovery and Instant Recovery Cleanup wizards are found in the
NetBackup Plug-in for VMware vSphere Web Client.
75
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Windows
B. HP-UX
C. SUSE
D. CentOS
E. RedHat Linux
76
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Windows
B. HP-UX
C. SUSE
D. CentOS
E. RedHat Linux
77
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
10-78
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Protecting Hyper-V Environment lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to explain how NetBackup
works with Hyper-V for backups and restores.
VSS
Full and File
level incremental
VM VM VM VM
VM
WMI
Block level Hyper-V
incremental and
Accelerator
NetBackup for Hyper-V provides snapshot-based backup of the virtual machines that
run on Hyper-V servers. NetBackup for Hyper-V creates quiesced Windows snapshots
using Volume Shadow Copy Service (VSS) and Windows Management Instrumentation
(WMI). Full and file-level incremental backups are performed using the VSS method.
With the WMI method, block-level incremental and Accelerator backups can be
performed.
You can restore the full virtual machine from the following:
• Full backups of the VM.
• Block-level incremental backups of the VM.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
avhd, avhdx file A snapshot file that Windows Hyper-V creates, for point-in-time recovery of the virtual machine.
Common vhd, vhdx Refers to a virtual disk (vhd or vhdx file) that contains the files that multiple virtual machines
files require. Instead of copies of the same file existing at multiple places, the virtual machines share
a single vhd or vhdx file (the parent).
CSV A cluster-shared volume in a failover cluster.
Differencing disk A differencing disk is in a child relationship to the parent disk (see common vhd, vhdx files). The
parent and child virtual disks may be on the same physical drive or on different physical drives.
This mechanism enables common files to be shared across virtual machines.
WSFC A Windows Server Failover Cluster
HA (high Describes a virtual machine that is configured in a cluster. If the virtual machine's Hyper-V host
availability) goes down, the virtual machine automatically moves to another Hyper-V host in the cluster.
Users perceive little or no downtime on the virtual machine.
Pass-through disk Any disk that the Hyper-V server can access. It can be locally attached to the Hyper-V server, or
on a SAN. The pass-through disk is attached to a virtual machine, but the disk is not in vhd or
vhdx format.
vhd, vhdx file A file in a Windows Hyper-V installation that contains the virtualized contents of a hard disk. The
vhd or vhdx files can contain an entire virtual operating system and its programs. Hyper-V
supports several kinds of these files, such as fixed, dynamic, and differencing.
Virtual machine NetBackup backs up these files as part of a full virtual machine backup.The bin and the vsv files
configuration files: are visible only when the virtual machine is running.The vmcx files and vmrs files are for VM
xml, bin, vsv, vmcx, configuration versions later than 5 (Hyper-V 2016).
vmrs
For a list of supported Hyper-V servers, see the Virtual Systems Compatibility section in the NetBackup Software
1
Compatibility list
Hyper-V servers on Windows 2008 need several hotfixes. Hyper-V servers on Windows 2008 R2 contain all the
2
required hotfixes.
3 Ensure that the NetBackup master and media servers can communicate with the Hyper-V server. Add the
NetBackup master server name to the server list on the NetBackup client.
4 The Windows shadow storage for a volume needn't be on the same volume. If the Hyper-V server is Windows
2008 R2, then hotfix KB959962 must be installed for an online backup. If the hotfix is not installed, an offline
backup can be performed.
The following prerequisites must be met for backups and restores using the NetBackup
for Hyper-V option:
1. For a list of supported Hyper-V servers, see the Virtual Systems Compatibility section
in the NetBackup Software Compatibility list
https://www.veritas.com/content/support/en_US/article.100040093.html
2. Hyper-V servers on Windows 2008 need several hotfixes to be installed. For the
complete list, see the NetBackup for Hyper-V prerequisites at
https://www.veritas.com/content/support/en_US/doc/21357025-127305010-
0/v21237888-127305010. Hyper-V servers on Windows 2008 R2 contain all the
required hotfixes.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
3. Ensure that the NetBackup master and media servers can communicate with the
Hyper-V server. Add the NetBackup master server name to the server list on the
NetBackup client.
4. The Windows shadow storage for a volume needn't be on the same volume. If the
Hyper-V server is Windows 2008 R2, then hotfix KB959962 must be installed for an
online backup. If the hotfix is not installed, an offline backup can be performed.
LAN/WAN
NetBackup master Runs the backup policies and starts backups and restores.
server
NetBackup media Reads and writes backup data and manages NetBackup
server storage media. The NetBackup media server can be
installed on the Hyper-V host or on a different host. For a
more efficient backup, install the NetBackup media server
on the Hyper-V host.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup client (and Processes backup and restore requests. The NetBackup
optional alternate client must be installed on the Hyper-V host(s).If the
client) Server Type on the policy Clients tab is System Center
Virtual Machine Manager, a NetBackup client must also
be installed on the SCVMM server.
After completing this topic, you will be able to differentiate between the
VSS and WMI Hyper-V backups methods, and configure NetBackup for
Hyper-V backups.
10
11
True BLIB backup N/A (file inside VM incremental) Yes (Resilient Change Tracking)
12
The slide compares the VSS and WMI backup methods on the basis of supported
features.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Provide the user name and password for the Failover Cluster Manager.
13
To verify the privileges that are needed to discover the failover cluster, run the Hyper-V
Manager as the Hyper-V Manager user:
1. On the Hyper-V Manager host, click Start, click Administrative Tools, and then right-
click Hyper-V Manager.
2. Click Run as different user, and provide the user name and password for the Hyper-
V Cluster Manager.
To allow the Hyper-V intelligent policy to discover all cluster nodes, you must set the
NetBackup Legacy Network Service (vnetd.exe) logon to the domain user account. The
logon must not be left at its default (the local system account). If the logon is not
changed, the policy does not search the VMs on other nodes of the cluster.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
To change the NetBackup Legacy Network Service (vnetd.exe) logon to the domain user
account:
1. Ensure that the logon account is in the domain administrator group or in the
Administrator group on the Hyper-V nodes.
2. On the Hyper-V node where the policy needs to search for virtual machines, open
services.msc
3. Right click NetBackup Legacy Service and select Properties.
4. In the Log On tab, select This Account and enter the credentials for the domain
administrator account. Click OK and restart services.
14
You can use the NetBackup Resource Limit dialog to control the number of
simultaneous backups that can be performed on a Hyper-V resource type. The settings
apply to all NetBackup policies for the master server. This is done to avoid overloading
the Hyper-V server. You can place a limit on the number of concurrent snapshots per
server.
NOTE: The Resource Limit screen applies only to policies that use automatic selection
of virtual machines (Query Builder). If virtual machines are selected manually on the
Browse for Virtual Machines screen, the Resource Limit settings have no effect.
NOTE: To limit the number of simultaneous jobs per policy, use the Limit jobs per policy
setting on the policy Attributes tab. The effect of this option depends on how the policy
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The slide explains the various resource limits that can be imposed on Hyper-V backups.
For more details, see the Setting global limits on the use of Hyper-V resources section
in the Veritas NetBackup for Hyper-V Administrator’s guide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure Hyper-V backup
policies for a manual and automatic virtual machine selection, and explain
the various backup options.
16
17
18
8. In the Clients tab, enter the name of server on which the NetBackup client software
is installed.
9. In the Virtual Machines for backup section, select Select Manually.
10. In the Browse for Virtual Machines dialog box, either select Browse for Virtual
Machines, or select Enter the VM display name. Select the virtual machine that
needs to be backed up.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
19
11. In the Clients tab, enter the name of the Hyper-V server. The NetBackup client
software must be installed on the host.
12. In the Virtual Machines for backup section, select Select automatically through
Hyper-V Intelligent Policy query.
13. To create a rule, make selections from the Query Builder pull-down menus.
• For the first rule, you can start with the Field pull-down, depending on the type of rule.
For the first rule, the only selections available for the Join field are blank (none), or
NOT.
• Select an Operator.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• For the Value(s) field, you can enter the value manually (enclose the value in single
quotes or double quotes). As an alternative, you can click the folder icon to browse for
values. Depending on the Field keyword, you can use the Value(s) drop-down to select
the value. Note that browsing with the folder icon may take some time in large
environments.
• Click the plus sign to add the rule to the Query pane.
• Create more rules as needed.
• To see which virtual machines NetBackup currently selects based on your query,
click Test Query. On the Test Query screen, the virtual machines in your current
environment that match the rules for selection in the policy are labeled INCLUDED.
14. To create queries manually (Advanced Mode) instead of using the pull-down menus,
click Advanced. The list of virtual machines is saved but the virtual machines are not
displayed in the policy's Clients tab.
20
21
22
The Primary VM identifier specifies the name by which NetBackup recognizes virtual
machines when it selects them for backup.
VM hostname: Specifies the network host name for the virtual machine.
• Note: For VMs in a Hyper-V server or cluster, the host name is available only when the
virtual machine is running. If you select VM hostname but the virtual machine is not running
at the time of the backup, the backup may fail.
• Note: On the policy Clients tab, if the Server Type is System Center Virtual Machine
Manager, NetBackup can back up VMs by their host name even if they are powered off.
VM display name: Specifies the name of the virtual machine as it appears in the Hyper-
V Manager console.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Note: NetBackup for Hyper-V does not currently support the virtual machine display names
that contain non-US-ASCII characters. If the display name contains such characters,
select VM hostname or VM GUID.
• Note: When virtual machines are included in a NetBackup policy, restrictions apply to the
characters that are allowed in the virtual machine display name.
VM GUID: Specifies the unique ID assigned to the virtual machine when the virtual
machine was created. In an SCVMM environment, the VM GUID is referred to as the VM
ID.
Note: If you create a policy and then change the Primary VM identifier, you may have to
delete the virtual machine selections on the Clients tab. Otherwise, NetBackup may no
longer be able to identify the virtual machines to back up.
23
For the VSS backup method, the Enable offline backup of non-VSS VMs option
determines whether or not NetBackup is allowed to perform an offline backup of a
virtual machine. This option is intended for the guest operating systems that do not
support VSS (such as Linux).
Note: Online vs. offline backup are Microsoft backup types and are not configured in
NetBackup.
If this option is enabled, NetBackup can perform an offline backup of a virtual machine.
In certain situations, if the virtual machine cannot be quiesced for an online backup, the
virtual machine must be placed in the Saved state. The backup is thus performed offline.
User access to the virtual machine may be interrupted during the backup. After the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup is completed, the virtual machine is returned to its original state. If this option is
disabled, NetBackup is not allowed to perform an offline backup of a virtual machine.
Only an online backup can be done (user access to the virtual machine is not
interrupted). If an online backup cannot be done, the backup job fails with status 156.
24
For the VSS backup method, for clusters on Windows server 2008 R2: This option
applies to backups of the virtual machines that are configured in a Windows Server
Failover Cluster that uses cluster shared volumes (CSV). The timeout determines how
long the backup job waits, in case another cluster node backs up the same shared
volume at the same time.
The default is 180 (wait for 3 hours). A wait of 3 hours is recommended if you have
multiple virtual machines on one CSV. The Windows 2008 R2 cluster node owns the CSV
for the entire duration of the backup. If you do not want NetBackup to wait for another
backup to release the shared volume, set the value to 0. If at the same time another
cluster node backs up a shared volume that this backup requires, the backup fails with
status 156.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The appropriate value for this timeout parameter depends on the following factors:
• The average backup job duration for the virtual machines that reside on the same
CSV. The job duration depends on the size of the virtual machines and the I/O speed.
• The number of virtual machines on the same CSV.
Note: On Windows server 2012 or later, cluster nodes can back up the same cluster-
shared volume simultaneously. As a result, NetBackup does not use the Cluster shared
volumes timeout option if the cluster is on Windows 2012 or later.
System: Uses
MS provider
Auto: Selects provider in the order Hardware: Uses
hardware, software, system hardware provider
25
The Hyper-V Advanced Attributes dialog box is displayed when Advanced is clicked in
the Hyper-V policy tab.
Policy type VSS:
1. Provider Type: The Provider Type configuration parameter determines the type of
VSS snapshot provider that creates the snapshot.
• Auto: Attempts to select the available provider in this order: hardware,
software, system.
• System: Uses the Microsoft system provider, for a block-level copy on write
snapshot. It does not need any specific hardware.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
3. Virtual disk selection: Determines the kind of disks on the virtual machine that
are included in the backup. This parameter can reduce the size of the backup,
but should be used with care. The following options are intended only for the
virtual machines that have multiple virtual disks.
• Include all disks: This is the default option. It backs up all virtual disks
configured for the virtual machine.
• Exclude boot disk: The virtual machine's boot disk (for example the C drive)
is not included in the backup. Any other disks (such as D) are backed up.
Consider this option if you have other means of recreating the boot disk,
such as a virtual machine template for boot drives. A VM restored from this
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup cannot start. Data files are available in the restored data disks.
• Exclude data disks: The virtual machine's data disks (for example the D
drive) are not included in the backup. Only the boot disk is backed up.
Consider this option only if you have a different policy that backs up the data
disks. When the virtual machine is restored from the backup, the virtual
machine data for the data disk may be missing or incomplete.
4. Existing snapshot handling: Determine the action that NetBackup should take if
it discovers a NetBackup snapshot before it has created a new snapshot for the
VM backup. Once the backup completes, NetBackup usually deletes this
snapshot.
• Abort if NetBackup snapshot(s) exist: If NetBackup previous created a
snapshot (checkpoint) for a WMI backup, NBU aborts the job for that VM
only.
After completing this topic, you will be able to configure Hyper-V backup
policies for a manual and automatic virtual machine selection, and explain
the various backup options.
28
29
Virtual machine backups can be initiated from a NetBackup policy. You can start the
backup manually from a policy, or have it run automatically according to a schedule that
is defined in the policy. To back up a virtual machine manually from an existing policy:
1. In the NetBackup Administration Console, click Policies under NetBackup
Management, select the policy name, and either click Actions > Manual Backup or
right click the policy and select Manual backup. The Manual Backup dialog box is
displayed.
2. Select the schedule that is to be used for the backup.
3. Select the client (virtual machines) that need to be backed up, and then click OK to
initiate the backup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
4. To view the progress of the backup job, click Activity Monitor in the NetBackup
Administration Console.
NetBackup for Hyper-V does not support the NetBackup Instant Recovery feature.
NetBackup for Hyper-V does not support VSS or WMI backup or restore of the vhdx files that are shared among
multiple VMs.
If the VM's virtual disk files reside in a volume or folder that is compressed, NetBackup cannot use the WMI
backup method to create a snapshot of the VM.
NetBackup for Hyper-V supports Windows NTFS file encryption and compression, for backup and restore. However,
it does not support NetBackup's compression or encryption options (in the NetBackup policy attributes).
NetBackup for Hyper-V does not support any type of compression or encryption for Linux or Unix guest OS,
whether they are set in NetBackup or in the guest OS
NetBackup for Hyper-V does not support any type of compression or encryption for Linux or Unix guest OS,
whether they are set in NetBackup or in the guest OS
If a policy is changed from manual selection to Intelligent policy (or vice versa), the next backup of the VM is a
regular full backup, even if a backup already exists for that VM.
30
The slide lists some limitations with Hyper-V backups. For more details visit, NetBackup
for Hyper-V notes and restrictions
https://www.veritas.com/content/support/en_US/doc/21357025-127305010-
0/v16705445-127305010
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure a restore job for a
standalone Hyper-V server.
31
Start > Programs > Veritas NetBackup > Backup, Archive, and Restore.
32
Restores are initiated from the Backup, Archive and Restore interface. Backup, Archive,
and Restore is the interface to the NetBackup client software on a computer. NetBackup
lets you back up, archive, and restore files, folders or directories, and volumes or
partitions that reside on your computer. The computer that needs the backup or restore
is the client. The computer that manages the backup and retrieval of the data is the
server. The Backup, Archive, and Restore interface must be configured to work with your
system. A restore retrieves the selected items from the backup images on the server
and restores the selected items to your computer. When you start a restore operation,
the client software on your computer requests the data from the NetBackup server. The
server then sends the data to the client so it can be restored. The backup images remain
on the server. To start the Backup, Archive and Restore interface on Windows, click Start
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
> Programs > Veritas NetBackup > Backup, Archive, and Restore. In a Linux/UNIX
environment, start the interface using the command
/usr/openv/netbackup/bin/jbpSA &. In the Login dialog box, enter the name
of the client where you want to perform the backup, archive, or restore. Enter the
username and password, and then login. If the Administration Console is installed on a
Microsoft Windows system, you can run the Backup, Archive, and Restore interface
directly from the console. This interface lets you log into a NetBackup Windows or UNIX
client to perform user-directed operations on that client.
33
If the NetBackup Administration Console is used to access the Backup, Archive and
Restore interface, click Actions > Specify NetBackup Machines and Policy Type. In the
Server to use for backups and restores, select the master server that performed the
backups. Select the source and destination client for restores, and in the Policy type,
select Hyper-V.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
34
To recover individual files and folders from the backed up virtual machines, in the
Restore Type dropdown, select Normal Backups. This is possible if Enable File Recovery
from VM backup was enabled during the backup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
35
For a Full VM recovery, in the Restore type dropdown, select Virtual Machine backups.
The Entire VM needs to be selected for the restore.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
36
The Restore Marked Files dialog box displays options on the basis of the backup
method: VSS or WMI.
Restore to original Hyper-V server: Restores the virtual machine to its original location
on the original Hyper-V server.
Restore to different location on the original or different Hyper-V server: Restores the
virtual machine to a different location on the original Hyper-V server, or restores it to a
different Hyper-V server.
Restore to staging location: Restores the virtual machine files to the staging location on
the server that you specify under Hyper-V server and Restore everything to different
directory. Use this option if:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure a restore job in an
SCVMM environment.
38
This is the Performing Hyper-V restores with the NetBackup Add-in for SCVMM topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
39
You can use the NetBackup Add-in for Microsoft System Center Virtual Machine
Manager (SCVMM) to recover virtual machines from NetBackup backup images. You can
use the add-in to do the following in the SCVMM console:
• Recover the full virtual machine to its original location or to an alternate location.
• Monitor the progress of recovery jobs that the add-in initiated.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
40
Select the VM identifier for the virtual machine that needs to be restored.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
Select the backup image to restore the virtual machine from. You can Select Another
Image to browse to other images of the selected virtual machine. The screen lists that
Virtual Machine Files in the selected image that will be restored.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
You can change the Hyper-V server and change the Restore location on the selected
Hyper-V server. You can also choose to Overwrite existing virtual machine.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Review settings
43
44
You can check the status of the recovery job by clicking on the Jobs workspace in the
left pane of the Virtual Machine Manager. Currently running jobs are displayed in the
Running screen, and the past jobs are displayed in the History screen.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
45
The History of all jobs that have run recently is displayed in the History screen.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– In this lesson, you learned how NetBackup works with Hyper-V for backups and restores.
– In addition, you learned how to configure backups and restores for a standalone Hyper-V server.
– Finally, you learned how to configure Hyper-V backups and restores in an SCVMM environment.
• Reference materials
– Veritas NetBackup™ for Hyper-V Administrator's Guide
– https://www.veritas.com/content/support/en_US/doc/21357025-127305010-0/v21357050-127305010
– Veritas NetBackup™ Add-in for Microsoft SCVMM Console Guide
https://www.veritas.com/content/support/en_US/doc/95632425-127283718-0/v101157876-
127283718
– Veritas NetBackup™ Administrator's Guide, Volume I
– https://www.veritas.com/support/en_US/doc/18716246-129889741-0/index
47
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support Web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
48
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. VSS
B. WMI
49
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. VSS
B. WMI
The correct answer is B. With the WMI method, block-level incremental and Accelerator backups can be performed.
50
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Manual selection.
B. Automatic selection through Hyper-V Intelligent Policy Query.
C. Enter VM names manually.
D. All machines on the Hyper-V server are backed up.
E. All machines that are powered on, on the Hyper-V server are backed up.
51
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Manual selection.
B. Automatic selection through Hyper-V Intelligent Policy Query.
C. Enter VM names manually.
D. All machines on the Hyper-V server are backed up.
E. All machines that are powered on, on the Hyper-V server are backed up.
The correct answer A and B. Machines can be either be selected manually or selected automatically on the basis of an
Intelligent query.
52
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
53
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
54
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
11-55
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Duplicating Backups Using Storage Lifecycle Policies lesson in the Veritas
NetBackup 8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Using storage lifecycle policies Create and initiate a storage lifecycle policy.
Additional Storage Lifecycle Policy Explain additional benefits and features of SLP, such as optimized
features and benefits duplication, Auto Image Replication, and Data Classification.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to identify backup duplication
concepts such as inline backups, manual duplication, basic disk staging, and
storage lifecycles.
Client data
Onsite
Backup Duplicate
was traditionally performed during business hours when the tape drives were idle. This
may be a solution if your environment has strict windows during which backups need to
complete.
Client data
Onsite
Backup
Multiple inline copies refers to creating simultaneous backup images at the time of the
backup. This strategy is very efficient because data from the client to the media server
only travels across the backup infrastructure once. This strategy also provides excellent
data protection because copies may be sent offsite immediately after the backup has
completed. The disadvantages of this strategy is that it requires additional resources
during backup time, and the overall backup speed is equal to that of the slowest media
to which data is being written. Also, features are restricted based on the lowest level of
the backup destination. For example, you cannot run a Granular Restore Technology
(GRT) based backup, which normally requires a disk destination, to both disk and tape.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Client data
Onsite Offsite
Vaulting generally refers to the movement of long term storage, normally tapes, to an
off-site location, or vault. The vault provides a level of site-redundancy, so that even if
there is a primary site failure, all the backup data can be restored from the secondary
site. In some cases, the backup software may assist with this process. In other cases,
ejecting tapes and managing tape rotation must be performed manually by the
administrator.
Traditionally, the term “vaulting” referred to the process of moving tapes offsite,
implying that the target location was similar to a protected, physical vault. In modern
parlance, “vaulting” refers to the process of getting backup images to an offsite location
that provides redundancy from primary site failure. In cases where this data is disk-
based, it normally involves sending the data through the network, and may not involve
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
In NetBackup, replication is copying data from one storage location to another, between
different NetBackup domains. Note that different backup and storage vendors may use
the term replication in different ways, which may or may not match the NetBackup
definition. Optimized duplication is NetBackup’s ability to take advantage of features
within the disk appliance to:
• Copy an image between appliances without sending data through a separate media
server.
• Reduce workload on the NetBackup media servers, which allows more backups to
be performed.
• Perform duplication faster, in the background, simultaneously with ongoing backup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
jobs.
• Used during duplication and replication jobs.
Optimized duplication takes advantage of NetBackup Open Storage Technology (OST) to
use the features available in the disk appliance to optimize the duplication or
replication. One of the main restrictions of optimized duplication is that the source and
target disk appliances need to support each other. In most cases, this means that the
technologies must be identical.
• Combine multiple features to meet service level agreement (SLA) and redundancy
requirements:
– Inline copies, duplications, and staging for onsite redundancy.
– Replication to remote sites for offsite redundancy.
– Duplication at remote site to provide vaulting without shipping tapes.
• NetBackup Storage Lifecycle Policies (SLP) are built to easily support a consolidated
approach.
Client data
Onsite Offsite
Vault
Backup
Replicate Duplicate
For many environments, choosing a combination of strategies is the best way to meet
service level agreements and redundancy requirements. NetBackup storage lifecycle
policies help to automate and provide flexibility in designing a disaster recovery strategy
for backup data that facilitates a combined approach. SLPs also support additional
NetBackup functionality, such as Replication Director and Auto Image Replication, and
can automate tape duplication on remote sites to avoid manually vaulting tapes. These
features are discussed elsewhere in this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
10
NetBackup has a number of features that support duplicating backups, many which
were introduced in different versions of the product. Some general strategies include:
• Manual duplications are performed in the NetBackup Administration Console or
with the bpduplicate command. Although this normally requires manual work, in
some cases a third-party scheduler can be used to automate these functions.
• Traditional inline copies are configured in the backup policy’s Schedule window.
This allows up to four simultaneous copies of a backup to be performed.
• Basic disk staging storage units (DSSU) provides a method to initially send backup
images to a disk and then later (as specified in the disk staging schedule) copy the
images to another media type. It provides little configurability, and the same backup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
destination folder, schedule, and retention are used for all duplication jobs.
• NetBackup Vault provides functionality for automated duplication of backups, and
ejecting of tapes, but does not support more sophisticated features such as inter-
domain replication, third-party snapshots, or NetBackup Data Classification.
• Storage Lifecycle Policies combine duplication features in one consolidated view
that provides inline copies, immediate or scheduled duplications, intra- or inter-
domain replication, support of some third-party snapshot technologies, and support
for NetBackup’s Data Classification feature. The only limitation with SLPs is that they
do not support BasicDisk storage units. SLPs are the focus of this lesson.
2
1
bpchangeprimary
bpduplicate –npc primary_copy –backupid backup_id
11
One backup in the NetBackup catalog is assigned as the primary copy. NetBackup uses
the primary copy to satisfy restore requests from the GUI. When using the command
line, it is possible to specify the copy to use. Normally, the first backup image created
successfully for a specific backup job is the primary copy. If the primary copy expires
first, the second copy is automatically promoted to become the primary copy. If the
primary copy is unavailable and you have created a duplicate copy of that backup, select
a copy of the backup and set it to be the primary copy. Setting a backup to be the
primary copy is a function of the image catalog only; it is not a function of the media. To
promote a backup copy to a primary copy:
1. In the object tree pane of the NetBackup Administration Console, select NetBackup
Management > Catalog.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
2. Set up the search criteria for the image that you want to promote to be a primary
copy. Note: When specifying your search criteria, ensure that you indicate a copy in
the Copies field and not Primary Copy.
3. Click Search Now.
4. Right-click the image that you want to promote and select Set Primary Copy from
the shortcut menu.
12
Who? What?
When? How?
Where? = Backups + Duplicates
Backup Storage
Storage unit Back up to tape, Duplicate to tape, retain 6
policy 1 1 1
lifecycle retain 1 month months
Backup
policy 2 Back up to disk, Duplicate to:
Storage
Storage unit
retain until • Disk, retain 2 months
2 2
lifecycle
Backup duplicated • Tape, retain 1 year
policy 3
13
A storage lifecycle policy is an automated, reusable backup storage plan. Combined with
features inherent in storage units, and additional features such as Data Classification
with AdvancedDisk storage, SLPs allow for greater control in basing your backup strategy
on the business value of the data. Storage lifecycle policies can also be called SLPs,
storage lifecycles, or lifecycles.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Reduced risk
• Automated duplication job restarts after failures.
• Less opportunity for administrative errors.
• Data does not expire until copy is successfully created.
More configurability
• Additional staging locations: All except for basic disk.
• Additional retentions: Fixed, capacity managed, staged, and expire after copy.
14
Storage lifecycles policies (SLPs) enable you to create a storage plan for similar types of
data. After an SLP is created and configured, it can be used as often as it is needed. This
reduces administration errors. SLPs also provide a single place to view the storage plan.
Prior to SLPs, administrators needed to look in several places to view similar
information. Using an SLP guarantees that all destinations in the lifecycle are written.
The destinations are retried as necessary until the SLP is satisfied or until the backup or
duplication is cancelled by the administrator. SLP images that have not been successfully
written do not expire, even if they have passed their retention, until all destinations
have been satisfied.
Using SLPs, you can now write the primary copy of the (temporary) staged image to all
supported disk types (except basic disk), including tapes and virtual tape libraries (VTL).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Additionally, each lifecycle destination can have its own retention. SLPs have the
following characteristics:
• Destinations: The location where the backup or duplication copy is sent.
• Destination type: This can be a backup, duplication, replication, snapshot, and
import, depending on the function that is desired.
• Retention type: Each destination in the lifecycle can be configured for a unique
retention and retention type (Fixed retention, Staged capacity managed, or Expire
after copy). Retention types are described in more detail elsewhere in this lesson.
After completing this topic, you will be able to create and initiate a storage
lifecycle policy.
15
4
Configure any
relevant host Such as data classifications.
properties
16
The slide displays tasks that must be performed before you create storage lifecycles.
1. Design a data protection strategy. Consider these best practices:
• Do not write capacity-managed images and fixed-retention images to the same
volume in a disk storage unit. The volume may fill with fixed-retention images
and not allow the space management logic to operate as expected.
• Do not write images to a volume in a disk storage unit within a lifecycle and to
the same volume (by the storage unit) directly from a policy.
• Mark all disk storage units that are used with lifecycles as On demand only.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Check any storage unit groups to ensure that fixed and capacity-managed
images cannot be written to the same volume in a disk storage unit.
2. Ensure that all physical resources have been recognized by the OS and configured in
NetBackup, including robots, tape drives, tapes, and disks.
3. Create and configure all of the logical resources, including volume pools, disk pools,
storage servers, storage units, storage unit groups, and server groups.
4. Configure the Maximum backup copies (only required in versions prior to
NetBackup 7.6.1) and Data Classification master server host properties before
creating storage lifecycles.
17
18
Complete the New Storage Lifecycle Policy by specifying the following and then click
Add:
Storage lifecycle policy name: Type the lifecycle name.
• Duplication job priority: Select the priority that the duplication jobs in the lifecycle
has in relationship to all other jobs. The range is: 0 (default) to 99999 (highest
priority).
• Data classification: Select the data classification for the storage lifecycle. The default
is No data classification.
Note: The data classification of the backup policy and the storage lifecycle must
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Disk
19
20
Note: To add a Duplication operation, a Backup operation in the Storage Lifecycle Policy
dialog box needs to be selected prior to clicking the Add button.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
create a complete backup image for the new backup image copy. Select this
checkbox to preserve the multiplexed image.
Note: To add a Duplication operation, a Backup operation in the Storage Lifecycle Policy
dialog box needs to be selected prior to clicking the Add button.
Customized windows
allow for start windows
and exclude dates
22
• Create new: Allows a new SLP window to be created within the New Operation
dialog box.
• Start Window: Similar to policy schedule windows, this defines the time during
which duplication jobs are allowed to start.
• Exclude Dates: Provides the capability to exclude specific days during which
duplications do not run.
23
• SLP versions:
– Allow SLPs to be modified safely any time.
– Tagged within a running job (and viewed using nbstl command).
Already running jobs continue to use the corresponding SLP version.
– Cleaned up per SLP Parameters host properties, when no longer used.
24
This slide discusses some SLP restrictions and additional information. Inline copies is the
process of writing a backup to multiple locations simultaneously. There is a limit of four
Backup storage destinations per storage lifecycle. NetBackup will not allow you to save
the SLP if it has more than four backup storage destinations. Similarly, all backup copies
must be directed to storage units on the same media server. The storage units may be
different, as long as they are on the same media server. If a storage lifecycle has more
than one backup destination configured, the multiple copies option is no longer needed,
and is therefore disabled in the policy schedule.
The ability to create SLP versions lets administrators safely modify a definition without
waiting until all of the copies that are associated with the SLP have been processed.
Each copy that an SLP manages is tagged with the SLP name and the SLP version
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
number. These two attributes are written into the image header, in the NetBackup
image catalog. Whenever an administrator creates or changes an SLP, NetBackup
creates a new version (between 0 and n). New jobs use the most recent SLP version.
When a new job is submitted, it is tagged with the most recent SLP version number. The
processing of a copy that is associated with a version remains fixed according to that
version of the SLP definition. It is fixed at job time and does not change, unless the
administrator uses the nbstl command to modify an existing version. Old, unused SLP
versions are cleanup up according to master server host properties > SLP Parameters.
(1 month)
master_msdp_stu
NetBackup master
Client data / media server
Backup
Backup Duplicate
master_advdisk_stu master_tape_stu
(Expire after copy) (3 months)
25
This slide illustrates a scenario in which a storage lifecycle policy is used. The following
steps describe the scenario:
1. Perform a backup of a client. In this scenario the backup image is written to an
AdvancedDisk storage unit, master_advdisk_stu. The backup image created on
master_advdisk_stu has an expire after copy retention.
2. Simultaneously, another copy of the backup image is written to the deduplication
storage master_msdp_stu. The retention of the backup image created there is 1
month.
3. After the backup job completes, the SLP causes a duplication of the backup image
that resides on master_advdisk_stu. This duplicate copy is written to a Media
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
To configure the scenario, the LAB12-console-test-slp1 backup policy uses the LAB12-
SLP1_test lifecycle policy storage. The LAB12-SLP1_test policy storage contains the
following destinations:
• A backup goes to the master_msdp_stu storage unit, with a fixed retention of 1
month.
• A backup goes to the master_advdisk_stu storage unit, with retention set to expire
after copy.
• A duplicate goes to the master_tape_stu storage unit, with a fixed retention of 3
months.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
177. Parent for both backup jobs: Requests all Backup operation resources
178. Primary backup job: Writes to primary Backup operation
179. Inline copy backup job: Writes to second Backup operation
180. Duplication job scheduled by SLP:
– Requests primary Backup and Duplication operation resources
– Even though the lifecycle policy name is Lab12_SLP1_test, the prefix “SLP_” always precedes it in the Job
Policy shown in the Activity Monitor.
– Job Schedule is the SLP window: Business_Hours.
181. Image cleanup: Removes any backups with retention Expire after copy
27
When LAB12-console-test-slp1 runs, the jobs shown in the slide are initiated.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
28
This slide shows a storage lifecycle policy in the NetBackup Administration Console, with
the corresponding output from the nbstl –L command. You can see from the output of
nbstl on this slide that the Backup operations have a Source listed of the client
directly. The Duplication operation’s source shows the operation from which it is to be
duplicated, based on the SLP hierarchy (in this case, Operation 1, the backup to
AdvancedDisk).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
29
* Caution: Will prevent dependent lifecycles, which may result in loss of backup copies.
30
Use the nbstlutil command to view and manage the duplication automation in
storage lifecycles. The slide shows some of the options that can be used with this
command:
• cancel: Cancels pending lifecycle operations on selected image copies. When you
cancel a specific destination, you also cancel the pending operations at destinations
that depend on the source copy from that destination. These images will not later
be considered for duplication by the lifecycle.
• inactive: Deactivates future lifecycle operations on the image copies, but retains
the image information so that processing can resume (similar to a suspend
function).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
31
Data for the SLP Backlog report is not real time, and is collected from the OpsCenter
database on a periodic basis. Because SLP processing generally takes hours, this typically
does not impact the report’s effectiveness. Most backlogs in a properly sized
environment are resolved eventually, so minute-by-minute monitoring is not a good
indication of general backlog issues. Consistent or growing backlog over the span of
days and weeks indicates that either too much data is in the SLP process, or that there is
not enough infrastructure to handle the amount of information.
After completing this topic, you will be able to explain additional benefits
and features of SLP, such as optimized duplication, Auto Image Replication,
and Data Classification.
32
This is the Additional Storage Lifecycle Policy features and benefits topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
33
The use of storage lifecycle policies (SLPs) also provide a number of other features and
benefits:
• Optimized duplication is NetBackup’s ability to take advantage of features within the
underlying storage or software to efficiently copy a backup image without having to
send all the image data, reducing the workload on the NetBackup media servers.
Optimized duplication relies on the source and target storage supporting each other,
which in most cases means the technologies must be identical. Although it can be
used in SLPs, it is also supported with other duplication features, such as the
NetBackup bpduplicate command.
• Auto Image Replication is a function of NetBackup SLPs which allow the replication
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
of backup images from one NetBackup domain to another. This feature takes
advantage of optimized duplication to use minimal bandwidth. Note that different
backup and storage vendors may use the term replication in different ways, which
may or may not match the NetBackup definition.
• Data Classification is an optional ranking that can be assigned to backup data
according to its business value or importance, relative to other backup data. Data
classification is defined in the master server host properties, as well as optionally
used in a backup policy. For more details, refer to the NetBackup Administrator’s
Guide.
34
To understand optimized duplication and how to configure it, you need to understand
the prerequisites, how to perform optimized duplication, and how to control its
behavior. These issues are discussed on the following slides. Ensure that the following
prerequisites are met:
• For most disk appliance types, the source and destination must be identical.
• For OpenStorage vendors that support optimized duplication, refer to the OST
supported vendor for their hardware and version restrictions.
• To configure optimized duplication, one or more media servers must have credentials
to both the source and destination storage. This could be either the source or target
MSDP storage server, or a media server that is separate from both disk storage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
appliances. The role of this media server is to initiate, monitor, and then finally verify
the copy operation.
35
To use optimized duplication, simply duplicate using a supported source and target
destination, using any of these duplication methods:
• A storage lifecycle policy (SLP)
• A NetBackup Vault policy
• The bpduplicate command
Because optimized duplication is used by default when the prerequisites are met, no
other specific configuration needs to be performed. When deciding to duplicate to
multiple destinations, the behavior depends on the duplication method:
• Storage lifecycle policies: In the case of SLPs, multiple optimized duplication jobs are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
36
• UNIX: /usr/openv/netbackup/db/config
• Windows: install_path\NetBackup\db\config
To configure the storage lifecycle policy wait period (the default wait period between
retries is 2 hours), modify the IMAGE_EXTENDED_RETRY_PERIOD_IN_HOURS SLP
parameter in the master server host properties.
37
Introduced in NetBackup 7.1, Auto Image Replication enables the replication of backup
images from one NetBackup domain to another. This feature is enabled by using Storage
Lifecycle Policies, or SLPs, with OpenStorage Technology (OST) based storage. Supported
storage includes NetBackup deduplication, such as Media Server Deduplication Pools
(MSDP) and NetBackup appliances, as well as storage vendors that support and are
qualified for OST.
Auto Image Replication uses Optimized Duplication, which allows NetBackup to
minimize the use of wide area network (WAN) bandwidth that is normally at a premium
between sites. Only new, unique data is transferred between sites. After an image is
duplicated to the target domain, standard duplication copies that backup image to tape.
In this way, a vaulted copy of the backup is created without having to ship tapes. Auto
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Image Replication supports various disaster recovery models, including simple one-to-
one, many-to-one and one-to-many replication. Targeted Auto Image Replication allows
selective replication of images. Refer to the NetBackup Administrator’s Guide, or the
NetBackup: Advanced Administration course.
* The use of the term “domain” in this topic refers to NetBackup domains.
38
is much preferred to the traditional, much slower method of having to re-catalog the
entire backup image.
4. Optionally, additional duplication jobs can be configured. These can be duplications
to local storage, or additional replication jobs.
5. Also, this image replication works in reverse manner (as well). Using Auto Image
Replication you can replicate this image from target domain to the source domain.
Storage lifecycles Storage > Storage Lifecycle nbstl -L Manage > Storage >
Policies Storage Lifecycle Policy
39
The table on this slide summarizes how storage lifecycle information can be displayed
using the NetBackup Administration Console, NetBackup commands, and OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
40
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Simultaneous copy
B. Inline copy
C. Storage life backup
D. Duplication backup
43
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. Simultaneous copy
B. Inline copy
C. Storage life backup
D. Duplication backup
The correct answer is B. An inline copy is when backup data is sent to multiple storage destination simultaneously during
a backup. In NetBackup, a duplication is when a backup image is copied to a new destination after the original backup
had already been completed.
44
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
45
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. 30 seconds
B. 1 minute
C. 5 minutes
D. Immediately
47
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. 30 seconds
B. 1 minute
C. 5 minutes
D. Immediately
48
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
12-49
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Managing and Protecting the NetBackup Catalog lesson in the Veritas
NetBackup 8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
List the steps that are required to recover from a disaster situation,
Disaster recovery strategies and recover the NetBackup catalog using the NetBackup Catalog
Recovery Wizard.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe the location, and
explain the importance of NetBackup catalog backups.
NetBackup Master
server
NetBackup
catalog
NetBackup catalogs are information stores that contain information about the
NetBackup configuration and backups, including records of the files that have been
backed up and the media on which the files are stored. The NetBackup catalogs reside
on the NetBackup master server and consist of the following components:
• The NetBackup database (NBDB) is a relational database that uses SAP SQL
Anywhere. The NBDB stores data for several NetBackup services, including media
and device data, backup image headers, authentication and authorization. Bare
Metal Restore (BMR) data is also stored in a Sybase database if the BMR option is
used. Because the first service to use the relational database was the Enterprise
Media Manager in earlier releases of NetBackup, the database is sometimes
referred to as the EMM database.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The NetBackup configuration files include policies, schedules, and other files used
by NetBackup. These are sometimes referred to as flat files because they are not
stored in a relational database, and are stored in simple files on the file system of
the NetBackup master server.
A critical NetBackup component is the image database, which stores backup image
metadata. This metadata is stored in two locations: the image header data is stored in
the relational database (NBDB), and the image file list is still stored as flat files in the
NetBackup configuration files. Because the image file lists contain the path to every file
backed up, this is usually the largest component of the NetBackup catalogs.
Although you can recover your data without the catalogs, doing so involves more work
than if the catalogs were available. Therefore, backing up the catalogs efficiently and
regularly is of paramount importance. To protect your catalogs:
• Make at least two copies of the catalog backup images.
• Store one copy of the catalog backup offsite.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The NetBackup database (NBDB) is created during the installation of the master server.
The NBDB stores information used by the master server, and runs on SAP SQL
Anywhere. The NBDB consists of database files, configuration files, and a transaction
log.
NetBackup database bp.conf or Registry entry
During installation, a VXDBMS_NB_DATA entry is created in the bp.conf file (UNIX) or
the Registry (Windows). This entry identifies the directory where NBDB.db and
vxdbms.conf are located as follows:
• bp.conf
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
VXDBMS_NB_DATA = /usr/openv/db/data
• Registry
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\
VXDBMS_NB_DATA
For more information about the NetBackup catalogs, attend the NetBackup: Maintain
and Troubleshoot course.
The configuration files consist of directories that also contain flat files located on the
master server disk. The directories that comprise the configuration files include the
following:
• altnames: Directory to determine which clients are allowed to perform restores
of data from other servers.
• class: Directory that contains the policy database.
• client: Directory that contains the client database.
• cloud: Cloud configuration files.
• cltmp: Contain temporary policy information.
• config: Contain information about host properties and data classification.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
images
winclient.example.com Client name Each backup has a filelist (.f) file
named using policy name,
1483000000 Creation timestamp timestamp, and schedule type
clients_to_master_bdisk_1483603201_FULL.f
clients_to_master_tape_1483548217_FULL.f
A critical NetBackup component is the image database, which stores backup image
metadata. The image metadata is stored in two locations:
1. The image header data is stored in the relational database (NBDB).
2. The image file list is still stored as flat files in the NetBackup configuration files area.
Because the image file lists contain the path to every file in every active backup
image, this is usually the largest component of the NetBackup catalogs.
The image files are located in the NetBackup DB in the images directory. Under the
images folder, there are subdirectories for each client that is backed up by NetBackup,
including the master server and any media servers, and additional subfolders named
after timestamps, as shown in the example on the slide. These folder contain the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
following files:
• Image .f files are files that are used to store the detailed information about each
file backup.
• The .lck files are files used to prevent simultaneous updates on images.
• The db_marker.txt file is used to ensure that access to the db directory is valid
when the NetBackup Database Manager starts. Do not delete this file.
After completing this topic, you will be able to describe the difference
between image retention and image expiration, and how to import, verify,
and expire images.
10
bpimmedia –U [-disk|-tape]
11
When a backup job is initiated, NetBackup selects the required piece of media based on
the parameters of that specific backup job. The policy and schedule dictate the required
storage unit, volume pool, and retention level. The Images on Media report lists all
backup images for a specific NetBackup client, or all clients. The corresponding Images
on Tape and Images on Disk reports can be used to narrow the search to a particular
tape or disk storage unit. These reports can be run using the bpimmedia command, as
shown on the slide.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Provides visibility
into the backup
image database
12
Select NetBackup Management > Catalog to search for backup images. You may want
to search for a backup image to:
• Verify the backup contents with what is recorded in the NetBackup catalog.
• Duplicate the backup image to create up to ten copies.
• Promote a copy of a backup to be the primary backup copy.
• Expire backup images.
• Import expired backup images or images from another NetBackup server.
You learn how to perform many of these operations in this lesson. Specify the exact
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
search criteria that NetBackup is to use to build a list of backups from which you can
make your selections.
ABC123
EOT
EOF
EOF
EOF
Image1 Image2 Image3
BH
BH
BH
• Read each block of the media
• Compare written image headers with NetBackup Catalog
NetBackup Catalog
NBDB NBDB Image database
(media ID) (header info) (.f file)
Image1 Image1.f
ABC123 Image2 Image2.f
13
NetBackup can verify the contents of a backup by reading the volume and comparing its
contents to what is recorded in the images catalog. This operation does not compare
the data on the volume with the contents of the client disk. However, it does read each
block in the image, thereby verifying that the volume is readable. NetBackup verifies
only one backup at a time and tries to minimize media mounts and positioning time.
Most modern tape drives have built-in read-after-write (RAW) verification.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpverify
14
4. Click OK to continue.
15
bpexpdate -backupid
16
disk image removes both the entry for the image in the NetBackup image catalog, and
the backup image itself, from the disk storage unit.
Alternatively, you can use the bpexpdate command to expire a backup image (or to
change the expiration date) of a single backup:
bpexpdate -backupid backup_id –d date | 0 | infinity
[-client client_name] [-copy number] [-force]
[-M master_server[,...,]]
Preparing to import
Performing an import
17
A NetBackup master server may not have any record of the data on a piece of backup
media. This may happen if the backup has reached its retention or if it was written by a
different NetBackup server in another NetBackup domain. To access data in these
situations requires the use of the import feature. Importing a backup refers to the
process of examining the backup on a media and importing the metadata into the
NetBackup catalog on the master server. This allows NetBackup to access and restore
from this data. Before performing an import operation, it is important to:
• Ensure that the media is available on the media server performing the import.
• Ensure the correct media ID is being used, if this is a tape. Doing a physical inventory
using the NetBackup vmphyinv command, which is described in the NetBackup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Commands Guide, determines the media ID by mounting the tape and reading the
tape header, as opposed to reading a barcode (which may be incorrect).
• Ensure that the file systems and volumes are mounted, for disk-based backups.
• Ensure that all tapes are present if a backup image spans multiple tapes. NetBackup
will not import a partial image.
In prior versions of NetBackup that are no longer supported, there was compatibility for
reading Veritas Backup Exec tapes. This functionality is no longer supported. For more
detail, refer to Article 100000926: Statement of support for the importing of Backup
Exec images in NetBackup 7.x using the Backup Exec Tape Reader at:
http://www.veritas.com/docs/100000926.
Disk
bpimport -create_db_info
18
During an import operation, NetBackup re-creates NetBackup catalog entries for the
backups on the imported volume. Use the following procedure to initiate the import:
1. In the Administration Console, expand NetBackup Management > Catalog.
2. Select Actions > Initiate Import. The Initialize Import dialog box is displayed.
3. Complete the Initialize Import dialog box by entering the following information:
a. In the Media Server field, specify the media server where the import will occur,
and that currently has access to the media with the images that are going to be
imported.
b. In the Image Type field, specify if it is Tape or Disk.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpimport
19
5. Click the Results tab to watch as NetBackup scans each image on the tape or disk to
determine if the image already exists or needs to be imported. The job is also
displayed in the Activity Monitor as an Import type. Select the import job log that
was just created to view the job results.
Note: Because it is necessary to mount and read the tape at this phase, reading the
catalog and building the list can take some time to complete.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpimport
20
During Phase II, you select and import images from the list of images that were
completed in Phase I.
1. In the NetBackup Administration Console, expand NetBackup Management >
Catalog.
2. Set up the search criteria to find imported images by setting the search action to
Import. Select a date range that includes the images you want to import and click
Search Now.
Note: The date range specified must encompass the date the original backup was
written, even if the image to be imported is a copy.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpimport
21
3. Select the images you want to import and select Actions > Import. The Confirm
Import dialog box is displayed.
4. Click OK.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
5. To view the log, click the Results tab, and then select the import job log that was
just created.
When importing backups that have fragments on multiple tapes, do not start the Import
(Phase II) until you have run the Initiate Import (Phase I) to read the catalog for all the
tapes containing fragments. If this is not performed, the import fails with a message
such as:
Unexpected EOF or Import of backup_ID failed, fragments
are not consecutive.
All copies of an image must be expired before the image can be imported. The import
reports that an image is bypassed if a copy already exists. When an image is imported,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
the new expiration date and time of the imported image is determined by adding the
retention period associated with the image to the current date and time. For example, if
an image with a two-week retention is imported on January 09, 2017 at 6:39 A.M, the
expiration date of the imported image is January 23, 2017 at 6:39 A.M.
23
The table on this slide summarizes the image-related tasks that you can perform. See
the NetBackup Administrator’s Guide for more information about these tasks.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
24
If the image database grows too large on a static UNIX partition, you can move the
image database to another partition as follows:
1. Back up the NetBackup catalogs, to ensure that you can recover image information
in case something is accidentally lost during the move.
2. Ensure that no backups are in progress using the Activity Monitor or enter:
/usr/openv/netbackup/bin/bpdbjobs
4. Create the new file system, and optionally create a directory for the image files. For
example:
mkdir /newvol/netbackup/db/images
5. Move the image database to the new location in the other file system.
25
If the image database grows too large on a static Windows partition, you can move the
image database to another partition as follows:
1. Back up the NetBackup catalogs to ensure that you can recover image information in
case something is accidentally lost during the move.
2. Ensure that no backups or restores are in progress by using the Jobs tab in the
Activity Monitor. If backup or other jobs are running, either wait for them to end or
stop them by using the Jobs tab in the Activity Monitor.
3. Stop the NetBackup services, for instance by running the bpdown command, to
prevent jobs from starting and the database from being modified while you are
moving the image database.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
4. Create the new file system and optionally any directories to which you intend to
move the image information. For example:
E:\NetBackup\alternate_db\images\client_name
5. Move all files and directories to the new location. Note that if you are planning to
use the ALTPATH method of setting an alternate location, you need to move the
image files for specific NetBackup clients into a folder for that client.
After completing this topic, you will be able to configure a catalog backup
policy.
27
Catalog backups
28
Backup data is vulnerable to loss during hardware and site failures, which can
compromise an organizations recovery objectives. To protect backup data, you can
configure multiple copies of your backups, and store some of these backups offsite. This
provides a level of redundancy that allows an organization to survive many types of
software, hardware, and site failures.
Additionally, the NetBackup infrastructure should also be protected, as it is critical in
being able to quickly restore the organizations data. This is best done by configuring
catalog backups, which are used to back up and recover the NetBackup catalog in the
event of NetBackup master server failure or corruption. Catalog backups can be run just
like normal backups, and can be run online, while NetBackup is performing other tasks
such as backups and restores. Catalog backups can run full and incremental backups,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• UNIX: /usr/openv/db/staging
• Windows:
install_path\NetBackupDB\staging
3. Back up
configuration
files
2 3
2. Back up
the NBDB
Staging
area NetBackup
configuration
1
1. Stage the NBDB, overwriting the
prior contents of the staging area
NBDB
29
The Veritas recommended best practice is to schedule catalog backups to run regularly,
in case of failures with the master server or its catalogs and databases. Additionally, run
manual catalog backups prior to and immediately after any upgrade, including patch
upgrades. This slide describes what happens during a catalog backup. After a parent job
starts to manage the entire process, the following additional jobs run:
1. A child job copies the NBDB files to the staging location, as shown on the slide.
During each catalog backup, the files in the staging area are overwritten. Until they
are overwritten, they can be used for disaster recovery.
2. A child job starts, which backs up the files from the staging directory to the storage
unit specified in the catalog backup policy. This job backs up the files in a single
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
stream.
3. Another child job starts, which backs up the flat file NetBackup Database (DB). This
includes the Image database, policies, configuration, and other catalogs on the
master server.
In previous versions of NetBackup, the files in the staging directory were deleted at the
end of the successful catalog backup. The NetBackup database truncates the NBDB
transaction log automatically during database checkpoints, separate from the catalog
backup schedule.
• Contains the Certificate Authority Certificate, Host ID and Hostname Certificate, encryption
keys, and database table unload data.
• Used to recover master server identity during disaster recovery.
DR package • Encrypted with DR passphrase.
• Available in NetBackup 8.1 and later.
• Example filename: NBU_catalog_1501149670_FULL.drpkg
30
Starting in NetBackup 8.1 when a NetBackup Catalog backup is performed two Disaster
Recover (DR) files are created: the DR file and the DR package.
• The DR file is the same file created in prior releases of NetBackup, and lists the
location containing the corresponding catalog backup, including locations for the
most recent Critical Policy backups.
• The DR package is included in NetBackup 8.1 and later, contains identity information
about the master server, and is used to recover a master server’s identity in the event
disaster recovery needs to be performed. Without the DR package,
A NetBackup catalog policy can be configured to email these files as an attachment. If
the master server is re-installed as part of disaster recovery, the DR package is required
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
to bring back the identity certificate of the master server that was in place at the time
the catalog backup was performed. This restores the trust relationship between the
master server and all other hosts in the NetBackup domain. Due to the secure nature of
this process, a DR passphrase must be configured in NetBackup, and must be supplied
during the disaster recovery process. For new NetBackup installations that passphrase
must be set before creating a NetBackup catalog policy or when upgrading NetBackup
the passphrase must be set prior to initiating a NetBackup catalog policy or it will fail.
31
NetBackup does not validate the passphrase at the time of creation so it is strongly
recommended to use the nbhostidentity -testpasspharse command to test the validity
of the DR package and DR passphrase after the first catalog backup and any time after
changing the passphrase. The output of the command will either display “valid” or
“invalid”. For more details, refer to Article 100040029: About NetBackup catalog
passphrases at: http://www.veritas.com/docs/100040029.
32
The passphrase can be changed at any time. However, when changing a DR passphrase
Veritas recommends that you keep track of which passphrase belongs to which DR
package as NetBackup does NOT keep record of this. The correct passphrase is required
to restore the DR package at the time the DR package was created.
During a disaster recovery of the master server, if the passphrase is lost then the
identity certificates need to be regenerated for all hosts in the NetBackup domain to re-
establish the trust connection. This is accomplished through command line. For details
on this process, refer to Article 100033743: Getting your environment up and running
after a disaster when the disaster recovery package passphrase is lost at:
http://www.veritas.com/docs/100033743.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note: For security reasons NetBackup catalog backups do not backup the DR package,
DR passphrase or any identity information.
33
To create a NetBackup catalog backup, create a standard backup policy, selecting NBU-
Catalog from the Policy Type drop-down list. Select the desired storage unit from the
Policy storage drop-down list. Note that if a disk target is used, it should not be a
deduplication disk target and should not reside on the master server. This way, if
NetBackup or the master server is inaccessible, you are not prevented from getting to
your catalog backup.
Notice that selecting a policy type of NBU-Catalog results in a policy with three tabs:
Attributes, Schedules, and Disaster Recovery. The Clients tab is not needed because we
are backing up the catalog from the master server. Additionally, the Backup Selection
tab is not required because we know what is being backed up - the NetBackup catalogs.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
34
Create schedules under the Schedules tab. Full backup schedules are created as normal.
Incremental backup schedules have most of the normal options, however have an new
schedule type in addition to the Calendar and Frequency based schedules: After each
backup session. A backup session is a period of continuous backup activity, and ends
when all backup activity ceases for some period of time. This allows a catalog backup to
occur every time a set of backup jobs have completed.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
35
The Disaster Recovery tab provides the ability to set catalog backup settings. Creating a
catalog backup involves creating disaster recovery (DR) files that provide information
about how to perform recovery, and what media is involved in that recovery. Enter the
Path where each disaster recovery image file and package can be saved on disk, and
additionally enter the logon and password information if the disk location is on a
network file system.
Note: Veritas recommends saving the DR files to a network share or a removable device,
as opposed to a location on the local machine.
Optionally enter any email addresses to send recovery information to, using a comma-
separated email list if there is more than one email address. Additional steps are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
36
The screen shot on this slide shows NetBackup Activity Monitor with the catalog backup
jobs that have just completed. Also notice that in regards to the Image Cleanup job
status, if a catalog backup is not configured, the image cleanup returns a status code of
1 (partially successful). When a catalog backup job is configured, the image cleanup
returns a status code of 0 (successful). This was put in place to give customers adequate
warning when catalog backups had not been configured.
The image cleanup job that runs periodically and returns a partial success status code of
1 should have the following text in the job details to provide this warning:
Warning bpdbm (pid=process_ID) Hot catalog backup is not
configured for ‘master_server_name', catalog cleanup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to list the steps that are
required to recover from a disaster situation, and recover the NetBackup
catalog using the NetBackup Catalog Recovery Wizard.
37
38
master server clustering with products such as Veritas Cluster Server, or virtual
machine high availability. For additional information, refer to the NetBackup in
Highly Available Environments Administrator's Guide.
39
The table on this slide shows the high-level procedure to follow to recover your
environment after a disaster, such as a full site failure. This procedure makes the
assumption that the backup data has been restored to the site, either from tapes that
have been vaulted and brought back to the primary site, or similar disk backup storage
has been made available. This includes the following steps:
1. Reload a minimal operating system to the new systems, including the master and
media servers that are to be used to restore application and server backup data.
2. Install the DR software package on the master server. It prompts for the DR package
installation, and need to select the package for the installation process.
3. Reinstall NetBackup software to the new media and client servers and ensure that
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
the exact same catalog paths are used on the master server including recreating the
directory structure if the paths were altered (symbolic links) or if the catalog was
moved (nbdb_move).
4. Configure devices and media on the new NetBackup servers, so that they can now
access the backup storage where first, the NetBackup catalogs are stored and can be
recovered, and later, the rest of the environment data can be restored.
5. Recover NetBackup catalogs, so that the new master server has all the prior
knowledge of the previous master server, and can now restore all the available
backup data. Media server overrides may need to be configured unless media server
failover was previously configured. Additionally, Veritas recommends deactivating
any policies that should be inactive during this recovery period (to prevent
scheduled backups from starting).
Command line
Use the bprecover -nbdb command to recover only NBDB.
40
This slide shows two functionally equivalent methods for performing catalog recovery.
This topic covers performing a catalog recovery using the Netbackup Catalog Recovery
Wizard. Here are some important points regarding disaster recovery:
• Catalog recovery relies on disaster recovery information generated during the online
catalog backup. Save the disaster recovery files created by the online catalog backup
to a network share or removable device.
• Configure the online, hot catalog backup policy to send an email copy of the disaster
recovery information as part of every catalog backup.
• Specify the most recent disaster recovery file available, unless some form of
corruption occurred and you want to restore to an earlier state of the catalog.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• If the most recent catalog backup was an incremental backup, use the disaster
recovery file from the incremental backup. There is no need to restore the full
backup followed by the incremental backup.
• To read the media that contains the catalog backup, first configure a robot and drive
and perform a robot inventory.
• If the catalog backup media is on a remote media server, restart NetBackup on the
remote media server after the master server has been reinstalled (after the
recovery).
41
Recover the entire catalog by using the NetBackup Catalog Recovery Wizard as follows:
1. To start the NetBackup Catalog Recovery Wizard from the NetBackup
Administration Console, click Recover the Catalog. The Welcome panel is displayed.
2. Click Next on the Welcome panel to display the Catalog Disaster Recovery File
panel.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
3. Specify where the disaster recovery file is stored by entering the fully qualified path
to the disaster recovery file.
Obtain the disaster recovery file path information from the disaster recovery email.
In most cases, you specify the most recent disaster recovery information file
available. If the most recent catalog backup is an incremental backup, use the
disaster recovery file from the incremental backup. There is no need to first restore
the full backup and then follow with the incremental backup. If some form of
corruption has occurred, you may want to restore to an earlier state of the catalog.
If the DR file is not available, refer to Article 100037884: How To: Recover the
catalog without a DR file at: http://www.veritas.com/docs/100037884.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Click Next. The wizard waits while NetBackup searches for the necessary media
sources. The wizard then informs you if the necessary backup ID of the disaster
recovery image is located. If the media is not located, the wizard lists which media is
needed to update the database. If necessary, follow the wizard instructions to insert
the media that is indicated and run an inventory to update the NetBackup database.
The information that is displayed on this panel depends on whether the recovery is
from a full backup or an incremental backup.
43
4. When the required media sources are all found, click Next to display the Disaster
Recovery Method panel.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
44
6. If desired, select a Job Priority and click Next to initiate the recovery of the entire
NetBackup catalog.
45
NetBackup restores the entire NetBackup relational databases. The wizard displays the
recovery progress and lets you know when the catalog has been recovered. When the
recovery job is finished, each image file is restored to the proper image directory and
the NetBackup relational databases have been restored and recovered.
7. Click Next to continue to the final panel.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
bpmedia -unfreeze
47
After the catalogs have been recovered, NetBackup freezes the media containing the
catalog backup. This is to prevent accidental overwriting of the final catalog backup
image. After a successful catalog recovery, you can unfreeze media using the
Administration Console as follows:
1. Under Device and Media Management, select Media.
2. In the details pane, right-click the frozen media.
3. Select Unfreeze.
You can also use the command line to unfreeze media. Display frozen media in the
CatalogBackup volume pool by using the available_media script. The status of the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
volume in the CatalogBackup volume pool is FROZEN. Enter the following command to
unfreeze the media:
bpmedia -unfreeze -m media_id -h nbu_server
• Reconfigure devices, if the device configuration differs from the restored configuration
• Configure media server override or media server failover, if necessary
– Configure master server host properties > Restore Failover
– Configure master server host properties > General Server > Media Host Override
• Deactivate any policies with automatic schedules that you do not want to have run
during recovery operations
Select all policies under NetBackup Management > Policies > Summary of All Policies, and select Action >
Deactivate
48
The slide lists some additional steps that may be useful after recovery of the NetBackup
master and media servers, and prior to the recovery of application and server backup
data.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Automated replication of backup images from one NetBackup domain to another using
storage lifecycle policies (SLP)
• Assists in designing a disaster recovery (DR) solution:
– Provides the ability to automatically vault backups offsite
– Uses optimized duplication to minimize network use
– Allows the elimination of shipping physical tapes
– Supports hub and spoke model data centers where remote offices send data to a central data center
– Combined with catalog backups, allows for easily maintained off-site copies of the catalog, to help
facilitate disaster recovery
49
Auto Image Replication is a NetBackup feature that enables the replication of backup
images from one NetBackup domain to another. This feature is enabled by using storage
lifecycle policies (SLPs) with OpenStorage Technology (OST)-based storage. Supported
storage includes:
• NetBackup deduplication: Media Server Deduplication Pools (MSDP) and NetBackup
appliances
• Storage vendors that support and are qualified for OST
After an image has been replicated to the target domain, standard duplication can be
used to copy that backup image to tape. In this way, a vaulted copy of the backup is
created without having to ship tapes. Auto Image Replication supports the ability to
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
create “hub and spoke” data centers, where remote offices send data to a central
location, as well as other DR models.
50
Media used for catalog Reports > Tape Reports > bpimagelist
backups Tape Summary –media
Search on the –policy
CatalogBackup volume catalog_policy_name
pool. -L
51
The table on this slide summarizes catalog-related information using the NetBackup
Administration Console, NetBackup commands, and OpsCenter.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Key points
– In this lesson you learned where the catalog backups reside and why catalog backups are important.
– You also learned the difference between image retention and image expiration, and how to import
expired images.
– Additionally, you learned how to back up your NetBackup catalogs, and how to recover them, using the
NetBackup Catalog Recovery Wizard.
– Finally, you learned know how to diagnose common catalog-related issues.
• Reference materials
– NetBackup Administrator’s Guide, Volume I and Volume II
– NetBackup in Highly Available Environments Administrator's Guide
– NetBackup Commands Reference Guide
– NetBackup Troubleshooting Guide
– http://www.veritas.com/support
52
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
53
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
54
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. According to frequency
B. According to calendar
C. After each backup session
D. All of the above
55
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. According to frequency
B. According to calendar
C. After each backup session
D. All of the above
The correct answer is D. NetBackup catalog backups can be schedule as a frequency- or calendar-based, as well as after
each backup session. Session end means that no backups are running (excluding catalog backup jobs).
56
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
57
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
A. True
B. False
The correct answer is B. During a catalog backup, the configuration files are backed up directly to the storage unit,
however a copy of the NBDB is first placed in a staging location on the master server prior to being backed up.
58
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
59
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is C. NetBackup performs online catalog backups, which can be sent to disk or tape, and the backup
can span multiple tapes if necessary. The catalog files that are sent to the staging location are no longer deleted after a
successful catalog backup (although prior versions of NetBackup did delete the staging files after a successful catalog
backup).
60
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
13-61
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Optimizing File System Backups lesson in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Optimizing file system backups Enable NTFS and VxFS change logs, and synthetic full backups to
optimize file system backups.
Optimizing file system backups with Configure and manage NetBackup Accelerator.
NetBackup Accelerator
Using multiple data streams Configure a policy to take advantage of multiple data streams.
Optimizing tape drive performance Configure backups for optimum tape drive performance using
using multiplexing multiplexing.
Handling busy files on UNIX and Configure the way that NetBackup handles busy files on UNIX and
Windows file systems Windows.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to discuss solutions for today’s
backup challenges.
This slide lists some of the common backup and restore challenges that administrators
face and the solutions that NetBackup has to offer. Some of these solutions are
discussed in the topics of this lesson. Some topics may be covered in more detail
elsewhere, such as the appropriate NetBackup documentation for that respective
feature and the NetBackup Advanced Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Restores the files that existed in the folders, during a TIR restore
– TIR does not restore deleted files.
– Normal restores will restore files that were deleted but had existed in the prior full or prior incremental
backups.
• Makes a list of the files that are in each directory at the time of backup.
• Places list in a separate TIR file, which is backed up with the backup image.
• Supported policy types: MS-Windows, Standard, NBU-Catalog.
• Can be enabled with move detection.
The purpose of True Image Restore (TIR) is to ensure that when a full restore is
performed (which includes the last full backup plus all incrementals up to the recovery
point), NetBackup restores only those files that were present in the file system at the
time of the last backup. In other words, files that were deleted prior to the last backup
in the selected backup set, will not be restored. A normal restore would restore those
files.
TIR guarantees that the restore will not overflow the file system during the restore. A
normal restore may try to restore more files that ever existed in the file system at one
time, since it includes deleted files. Additionally, users will not find files that they had
previously deleted. NetBackup achieves this by making a list of the files that are present
in the file system during the backup. This list is stored on disk for 24 hours (which is
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
configurable) as well as stored with the backup image itself on the backup destination. If
the disk copy of the list does not exist during restore time, this list of files is read first
from the backup image to assist in the true image restore of the backup.
The TIR attribute can only be selected for MS-Windows and Standard policy types. It is
automatically selected and cannot be disabled, for the NBU-Catalog policy type. TIR can
be enabled with and without move detection, which is described in a following slide.
The example on the slide shows a series of backups starting with a full backup on
Sunday followed by daily incremental backups. The files listed in each daily column
show the files in the file system and the actions performed on the file: modified,
deleted, created or left unchanged. In the TIR information table, each column contains a
list of the files that are present in the file system at the time of each backup. These are
the files that will be included in the TIR file for that backup.
On Saturday you are asked to perform a full restore of the file system with Friday as the
recovery point. To do this you will need the Sunday full backup and each of the
incremental backups through Friday. If you select the Normal Backups restore type, the
files shown in the first column (Recovery point without TIR) are the files that would be
restored without using TIR. The files that are restored include files that were deleted
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
prior to the backup on Friday. If you select the True Image Backups restore type, the
files shown in the second column (Recovery point with TIR) are the files that would be
restored using TIR. The files that are restored are those that were listed in the TIR file
for the Friday backup. Any files that were not present in the file system on Friday will
not be restored.
After completing this topic, you will be able to enable NTFS and VxFS
change logs, and synthetic full backups to optimize file system backups.
Even though an incremental backup backs up only those files that have changed,
NetBackup still has to examine every file in the file system to determine which files have
changed. This may involve examining millions of files to determine that only one file
needs to be backed up, which is unnecessarily time consuming.
One way to optimize incremental backups is to take advantage of change tracking logs,
which are offered as a feature by some file systems. These logs record which files have
been modified or added since the last backup. With the log in place, NetBackup no
longer has to examine each file, instead it looks at the log file and backs up only those
files listed in the log.
The Windows NTFS change journal, also known as the Update Sequence Number (USN)
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
change journal, is a disk file that records information about the changes made to a file
or directory within a specific volume. By reading this file, backup programs can quickly
determine which files need to be backed up during an incremental backup, thereby
eliminating the need to scan each file on the volume and speeding up the backup
process. The change journal is created on a volume by using the Windows fsutil
command:
fsutil usn createjournal [m=max_value] [a=alloc_delta]
volume_pathname
Here is a sample command:
fsutil usn createjournal m=1000 a=100 C:
11
NetBackup can be configured to monitor the Windows Change Journal and use the
information discovered within the Change Journal during backups. To do this,
NetBackup will create and maintain its own databases with data mined from the Change
Journal. NetBackup will then use its databases to assist in the discovery of files and
directories that have been changed between backups.
To configure NetBackup to monitor the Change Journal, from the Client Properties for a
client, expand Windows Client and select Client Settings. Select the Use Change
Journal check box. This needs to be done individually for each NetBackup Windows
client. After enabling Use Change Journal, there will be a period of time before the
Windows Change Journal data can actually be used during backup. NetBackup requires a
brief period of time to establish its own change journal databases. If a backup is
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
executed during this time, error messages will be logged to the ‘Job Details’ indicating
the reason why the change journal data could not be used. This option works together
with the Use accelerator policy attribute and the Accelerator forced rescan schedule
attribute, discussed elsewhere in this lesson.
Week 1 S M T W Th F Sa
Week 2 S M
Synthetic full generation takes place on the media server, any
time before the next incremental on Monday night.
Client + =
Backup 1. Baseline 2. Incremental 3. Synthetic full
schedule: full backup backups backup
Mon 21:00 Fri 21:00
Time of Mon 07:30
Tue 21:00 Sat 21:00
backup: Sun 21:00 Wed 21:00 Sun 21:00 (Recorded time:
Thu 21:00 Sun 21:00:01)
12
The synthetic full backup feature eliminates the need to perform full backups of a client
machine for supported resource types.
1. During week one, perform a full backup, also known as a baseline backup. This is a
normal full backup operation.
2. Between this first full backup and the schedule for the next full backup, perform
incremental backups on the changes that occur. This is a normal backup procedure
and is usually performed daily.
3. During the next schedule for a full backup, instead of running a normal full backup,
run an incremental backup. In the example on the slide, instead of running a full
backup on the second Sunday at 9 P.M., an incremental backup was run.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
4. Some time between this last incremental backup (on Sunday night, in the example)
and the next incremental backup (on Monday night), a synthetic full backup is run.
The synthetic full backup operation occurs on the media server, leaving the client free.
Because the synthetic full backup is executed on the media server without accessing the
client machine, it can be performed outside of the time-critical backup window,
reducing the overall backup window and associated network bandwidth requirements.
The newly created synthetic full backup replaces the baseline full backup and becomes
the baseline full backup for subsequent synthetic full backup operations.
Set Collect true image restore information with move detection on the
policy:
2. Configure TIR
13
synthetic backup is the combination and synthesis of the original full backup
with the incremental backups.
Optimized synthetics
Note that because synthetic backups involve taking the prior full backup and applying
all the incremental changes, using a deduplication storage destination may have
additional benefits in that the new synthetic full will require very little data copy
operations when creating the new full data. This is known as an Optimized Synthetic
backup in NetBackup, and is described in Article 100022690: Configuring Optimized
Synthetic Backups to NetBackup Deduplication Pools at:
http://www.veritas.com/docs/100022690.
After completing this topic, you will be able to configure and manage
NetBackup Accelerator.
14
This is the Optimizing file system backups with NetBackup Accelerator topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
15
NetBackup Accelerator is a licensed NetBackup feature that increases the speed of full
backups by using platform-agnostic file system change tracking track logs on the client
to identify changes that have occurred since the last backup. During an accelerator
enabled backup only the changed data are transferred to the deduplication storage.
On the storage, a new optimized synthetic full backup is created by combining the
changed data with pointers to the unchanged data from previous backups. This process
removes the need to transfer all the client data across the network. This methodology
uses less network bandwidth and reduces the overhead on client resources such as
CPU, memory, I/O and file system cache. Note that although not required, NetBackup
client-side deduplication can add benefits related to better bandwidth usage, and is
often used together with NetBackup Accelerator. NetBackup Accelerator should be
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Versions NetBackup 7.5 or later for master servers, media server, and clients
16
This slide lists the requirements for NetBackup Accelerator. The feature is supported
starting in NetBackup 7.5 and later, and requires that all servers in the backup path
(master servers, media servers, and clients) are running a minimum of NetBackup 7.5.
Although the Windows Change Journal is not required, it can configured to work with
NetBackup Accelerator and additionally improve performance.
Note that OST vendors qualified for NetBackup Accelerator support are listed in the
Hardware Compatibility List. Refer to the NetBackup Master Compatibility List at:
https://www.veritas.com/content/support/en_US/article.100040093.html. Those that
support Accelerator for file and folder backups will show ”Accelerator”, and those that
support Accelerator for VMware will show “Accel_VMware”. Recent versions of
NetBackup also support Accelerator for additional data types, so you may also see
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
17
During the first backup - After setting the Use Accelerator option in the policy
attributes, the next backup of that policy will be a full backup. At that time, a client track
log will be created on the client, which will identify the master server, the storage
server, the client, the policy and the files that were backed up as well as the segments
which make up each file. During successive backups the following steps are performed:
1. File and directory meta data are compared with the track log to identify files that
have changed. The following criteria are used:
• NFS (Network File System): Normally used on Unix clients, Accelerator uses
mtime, ctime, and inode number, file size.
• CIFS (Common Internet File System): Normally used by Windows client,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• Uses checksums of the file contents during the backup for change
detection to establish a new baseline for the next Accelerator backup.
Accelerator
forced rescan ✓ ✓ • Results in a slower backup.
• Enabled with the Accelerator forced rescan option under the policy
Schedules tab.
19
The standard operation mode uses the client track log to identify which files have
changed and exactly which segments of those files have changed. This functionality is
enabled by selecting the Use Accelerator option under the backup policy attributes tab.
NetBackup 7.5 introduced a new client property called Use Change Journal to be used
in conjunction with the Accelerator feature. When this option is enabled, bpinetd.exe
generates a custom Change Journal Database which depends on the Windows NTFS or
ReFS change journal. The NetBackup generated database files are located on the root of
each lettered volume. These files are used to quickly identify which files have changed
since the previous backup. The use of the change journal is enabled by going to the Host
Properties on the master server and selecting Clients > Windows Client > Client
Settings and selecting the Use Change Journal option.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
The accelerator feature is enabled for a policy by selecting the Use Accelerator option in
the policy attributes. During the first backup after the feature has been enabled, a track
log will be created on each of the clients configured in the policy. The track log will be
specific for the policy, client, and backup selections.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
21
When the Use Change Journal option and the Use Accelerator are enabled together,
bpinetd will create the NetBackup change log databases to monitor the Windows NTFS
or ReFS change journal for changes in the file system metadata and to determine which
files are to be included in the backup. The bpbkar32 process will use this information to
create the list of files that need to be backed up, eliminating the need to examine each
file in the volume and this speeds up the backup. This behavior is discussed in more
detail in a prior topic. This option works together with the Use accelerator policy
attribute and the Accelerator forced rescan schedule attribute.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
During a backup, the Detailed Status report in the Job Details will display various
messages depending on what feature is or is not enabled for that backup. The slide
shows the messages displayed when:
1. Neither the Use Accelerator nor the Use Change Journal features are enabled.
2. Only the Use Accelerator feature is enabled.
3. Both the Use Accelerator and Use Change Journal features are enabled.
Additional messages will be displayed if errors are encountered during the backup. An
example of a the full Job Details from an incremental backup job with both NetBackup
Accelerator and the Use change journal setting, is provided here, and continues on the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
next page:
Dec 14, 2016 1:42:22 PM - Info nbjm (pid=2981) starting backup job (jobid=145)
for client console.example.com, policy LAB14-test-accelerator, schedule diff
Dec 14, 2016 1:42:22 PM - Info nbjm (pid=2981) requesting STANDARD_RESOURCE
resources from RB for backup job (jobid=145, request id:{0C9B33A2-C22D-11E6-
A149-9851E32BCF38})
Dec 14, 2016 1:42:22 PM - requesting resource master_msdp_stu
Dec 14, 2016 1:42:22 PM – requesting resource
lnxmaster.example.com.NBU_CLIENT.MAXJOBS.console.example.com
Dec 14, 2016 1:42:22 PM - requesting resource
lnxmaster.example.com.NBU_POLICY.MAXJOBS.LAB14-test-accelerator
Dec 14, 2016 1:42:22 PM - granted resource
lnxmaster.example.com.NBU_CLIENT.MAXJOBS.console.example.com
Dec 14, 2016 1:42:22 PM - granted resource
lnxmaster.example.com.NBU_POLICY.MAXJOBS.LAB14-test-accelerator
24
After the Use Accelerator feature is enabled in the NetBackup policy it is necessary to
run a full backup. This full backup will be a standard full backup. During the backup a
client track log will be created and information about all of the files in the full backup
will be logged in the track log. Subsequent backups will use the track log to determine
what file segments have changed and need to be backed up. Also, the track log will be
used to determine what file segments have not changed, and this information will also
be transferred to the storage. The information about what has changed and what has
not changed will be used to create the optimized synthetic backup.
The track log is located on the client in the netbackup directory and is unique for each
client, policy and backup selection for that policy. Because of this, if a client is in more
than one policy, a track log will be created for each instance of that client in the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
different policies. The file path for the track log ensures that the track logs are unique.
The slide shows the full track log path for UNIX and Windows clients. The size of the
track log will vary depending on the number of files and the total amount of used disk
space. The slide shows a formula for estimating the size of a client track log. To change
the track log location, refer to Article 100038114: How to redirect the NetBackup
Accelerator track log to a different location at:
http://www.veritas.com/docs/100038114.
25
(GRT) for coordinated application protection in a VM backup. GRT requires a full backup
of the VM with application protection enabled in the NetBackup policy. NetBackup
Accelerator does provide the same excellent performance enabled by CBT tracking, and
because it is performing a full backup, additionally provides application protection with
GRT. The requirement for Accelerator is that the destination storage in the policy
supports optimized synthetics. Essentially the storage must support deduplication. A
check is made by NetBackup when the Policy Storage is selected. If the storage does not
support optimized synthetics, you will not be able to select the Use Accelerator
checkbox.
• Enables backups of raw partitions with the ability to restore individual files.
– Reads the entire disk, block by block, whether they contain data or are empty disk blocks.
– Works best when the file system contains a large number of files, and is predominately full.
• Configured with FlashBackup and FlashBackup-Windows policy types.
26
FlashBackup is a policy type that combines the speed of raw-partition backups with the
ability to restore individual files. The features that distinguish FlashBackup from other
raw-partition backups and standard file system backups are:
• Increases backup performance as compared to standard file-ordered backup
methods. For example, a FlashBackup of a file system completes faster than other
types of backups when the file system contains a large number of files, and if most
of the file system blocks are allocated.
• Enables restore of individual files from raw-partition backups.
• Backs up the following file systems: VxFS (Solaris, HP, Linux, AIX), ufs (Solaris), Online
JFS (HP), and NTFS (Windows).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Compatibility Broad file system support More restrictive file system support
27
Both NetBackup Accelerator and NetBackup FlashBackup may significantly improve the
performance of large file system with many files. The question of which feature to use
may arise. The answer to that question will depend on the characteristics of your client
and file system. The slide covers some general guidelines based on file system
properties:
• Backup capacity: NetBackup Accelerator simply tracks and backs up changed files.
FlashBackup, however, backs up the entire raw device, which means even empty
blocks in the file system are backed up. File systems that are not relatively full may
require long backup times due to these empty blocks.
• Compatibility: NetBackup Accelerator has broad file system support. FlashBackup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
has more restrictive support, and does not support encrypted file systems such as
deduplicated NTFS, and ReFS.
• Change rate: Although NetBackup Accelerator works well for normal file change
rates of file systems, for file systems with very high change rates FlashBackup may
work more efficiently.
• Full recovery: NetBackup Accelerator does not provide any advantage to full
recovery, as it is impacted by restoring the metadata for individual files, and
therefore time consuming when restoring all files. FlashBackup does have an
advantage in that raw data recovery is extremely fast, when restoring the entire data
set.
After completing this topic, you will be able to configure a policy to take
advantage of multiple data streams.
28
Client
File system 1 Job #1
29
Multiple data streams is a policy setting which allows NetBackup to create separate
backup jobs for entries in the backup selection list. This functionality is enabled by
selecting the Allow multiple data streams check box on the policy’s Attribute tab. The
jobs are in separate data streams and can run concurrently.
Whether multiple backup jobs start for each client and how the backup selections are
divided into separate jobs is determined by the directives that you specify in the backup
selections list. The total number of streams and how many can run concurrently are
determined by the number of available storage units, multiplex settings, and the
maximum jobs parameters.
There are two main advantages to multiple data streams: independent data streams and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
increased backup speed. Because each stream is treated as a separate job, the data
streams are independent. If one of the streams or jobs fails, the other job is unaffected
and can still complete successfully. Only the failed jobs need to be restarted. The other
advantage of multiple data streams is increased backup speed, which occurs when the
multiple jobs can run concurrently. This means that, in theory, twice the amount of data
can be backed up in half the time. However, a reduction in backup speed is also
possible, for example, when the jobs are both running concurrently and accessing the
same source disks.
30
By default, NetBackup allows only one job to run at a time for an individual client. In the
case, where two backup policies run simultaneously for the same client, this may
protect you from disk thrashing that would cause bad performance. However, if you
want to take advantage of performance benefits by having multiple data streams, you
will need to override this default behavior.
The Maximum jobs per client setting (found in the master server host properties under
the Global Attributes tab) has a default value of 1. Change this value to be the
maximum number of concurrent jobs you want to allow for any client in your
environment. To change the number of jobs for an individual client, modify the
Maximum data streams setting, which is found under the master server host properties
under Client Attributes. Add the client to the Clients list, and then modify the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Maximum data streams parameter by checking the box, and then setting the desired
value.
UNIX client:
Job 5 (Parent job)
Job 6
Job 2 Job 7
Job 8
31
Parallel backup streams from a single client can significantly improve backup
performance. Parallelism is enabled by selecting Allow multiple data streams in the
policy attributes. Parallel data streams are managed within the backup selections list
definition. The number of data streams that can be created and queued depends on
the:
• Directives included in the Backup selections list of the policy.
• Limit jobs per policy parameter for the policy.
• Maximum jobs per client global attribute. Note: You can override this attribute on a
per-client basis by using the bpclient -max_jobs number command
option.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The number of jobs that are displayed in the Activity Monitor is one for each stream for
a specific client, as well as a parent job that manages the streams for that client.
• When different backup selections share the same physical disk, as multiple
data streams may decrease performance.
• If network or drive performance is affected adversely.
32
Multiple data streams can reduce the time for large backups. The reduction is achieved
by splitting the data to be backed up into multiple streams, and then processing those
streams concurrently by the same, or different, backup storage destinations. Additional
benefits are reduced retry times in the case of failures, as each backup selection can be
sent as a separate stream, and an individual backup stream failure does not impact the
other backup streams.
As you fine-tune multiple data streams, it is very easy to reduce performance instead of
improving it by inadvertently enabling multiple data streams for multiple data sets that
reside on a single disk. This results in the disk “thrashing” as the backups are performed.
Overall performance in this case is often worse than if the systems on the disk were
backed up sequentially. Enabling multiple data streams produces more concurrent
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
backup jobs, which in turn use additional network bandwidth and require more tape
drives (or a higher level of multiplexing). Use caution you do not overwhelm your
network environment.
Note that if you want to take advantage of independent data streams for individual
backup job restarts, but do not want parallel backup jobs, simply limit the number of
concurrent jobs using the maximum jobs per policy, or the storage unit settings.
3 disk drives
Windows
client
C:\ E:\
4 jobs
L:\ 225 – Parent
226 – Child with C:\Data
227 – Child with E:\Data
228 – Child with F:\Data (waiting for drive)
33
The number of data streams can be established using a list of file paths, optionally with
wild cards. Each path defined or expanded by a wild card is placed in its own data
stream. In the example on this slide, the Allow multiple data streams check box is
selected under the Attributes tab. The Backup Selections list contains three disk drives:
C:\, E:\ and L:\. The Allow multiple data streams option together with the list of three
disk drives will generate four jobs in the Activity Monitor: one parent job and one job
for each drive or mount point.
Auto-discovery streaming mode is invoked if the Backup selections list contains either
the ALL_LOCAL_DRIVES directive or wildcards (without the NEW_STREAM directive). In
this mode, the Backup selections list is sent to the client, which preprocesses the list
and splits the backup into streams as follows:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• For ALL_LOCAL_DRIVES directive, NetBackup backs up the entire client, with each
drive volume (Windows) or mount point (UNIX) into its own backup stream.
• If wildcards are used, the expansion of the wildcards results in one stream per
wildcard expansion.
If the Backup selections list contains neither ALL_LOCAL_DRIVES nor wildcards, auto-
discovery mode is not used. In this case, the server performs the preprocessing (rather
than the client) and each Backup selections list entry becomes a separate stream.
NEW_STREAM directive
Windows
client
C:\ E:\
3 jobs
L:\ 229 – Parent
230 – Child with C:\Data and E:\Data
231 – Child with L:\Data
34
In the previous example we backed up three drives in three separate streams. If C:\ and
E:\ were logical partitions on the same physical disk you would not want to back them
up in separate streams. Doing so could cause excessive head movement on the drive as
it attempts to satisfy simultaneous read requests from different drive locations and
possibly result in poorer backup performance. The better method would be to put
drives C:\ and E:\ into one stream and the L:\ drive in a separate stream. This is referred
to as administrator-defined streaming mode, and can be accomplished by using the
NEW_STREAM directive. Use of the NEW_STREAM directive follows these rules:
• The first use of this directive must be on the first line of the Backup selections list.
• A backup is split into a separate data stream at each point in the backup selections
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
list where the NEW_STREAM directive occurs. All file paths defined between
NEW_STREAM directives appear in the same data stream. The end of each stream is
defined by the start of a new stream (the NEW_STREAM directive).
• The last stream in the list is terminated by the end of the Backup selections list. A
NEW_STREAM directive is not required.
ALL_LOCAL_DRIVES
Windows directive
client
10 jobs
232 – Parent
C:\ H:\
233 – Shadow Copy Components
E:\ I:\ 234 – C:\ 238 – I:\
F:\ J:\ 235 – E:\ 239 – J:\
236 – F:\ 240 – K:\
G:\ K:\ 237 – G:\ 241 – H:\
(All drives on client)
35
The example on the slide shows a backup using the Allow multiple data streams option
combined with the ALL_LOCAL DRIVES directive in the Backup Selections list. The client
has nine local drives, each of which is backed up in a separate stream. The
ALL_LOCAL_DRIVES directive backs up all local and SAN attached disk drives (Windows)
and mounted file systems (UNIX). Drives using removable media are automatically
excluded as are NFS mounted file systems. Using the ALL_LOCAL_DRIVES directive
ensures that all of a client’s disks and file systems are backed up even if new disks are
added between backups.
Using ALL_LOCAL_DRIVES and Allow multiple data streams follows these rules:
• Can only be used for Standard and MS-Windows policy types.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• A new stream (backup job) is created for each disk drive or file system present on
the client.
• On Windows: An additional, separate stream is created to back up the System State
or Shadow Copy Components (depending on the client’s Windows version).
• File systems that are in a client’s exclude list may cause a backup job to appear in
the Activity Monitor but no files will be backed up. Refer to Article 100000779 for
details at: http://www.veritas.com/docs/100000779.
After completing this topic, you will be able to configure backups for
optimum tape drive performance using multiplexing.
36
Disk
Media server
Client B Removable media
Disk
Client C
MH BH BH BH
Disk
Tape contains media header (MH), backup headers (BH),
and multiplexed (interleaved) images from each client.
37
NetBackup multiplexing sends concurrent backups from one or several clients to a single
storage device. NetBackup multiplexes the backups onto the media. Multiplexed and
unmultiplexed backups can reside on the same volume. No special action is required to
restore a multiplexed backup. NetBackup locates the media and restores the requested
backup.
• Slow networks and slow clients. The parallel data streams take advantage of
whatever network capacity is available.
• Many short backups (for example, incremental backups). In addition to providing
parallel data streams, multiplexing reduces the time each job spends waiting for a
device to become available, and, therefore, better uses the transfer rate of storage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
devices.
It is important to note that multiplexing can have an effect on restore times. This effect
can be positive or negative depending on the number of interleaved images, the type
and number of restores, and whether those restores are being performed concurrently.
Ensure that you use testing to determine the maximum effective multiplexing level that
still supports your backup and restore requirements.
Storage Unit > • Fast device that handles many jobs concurrently
Maximum streams per
• Prevent “shoe-shining” on the tape drive
drive
• Many slow clients; many short backups
Schedule >
• Prevent multiplexing for this backup or schedule,
Media multiplexing
if not desired
38
Multiplexing must be set in two places in the NetBackup configuration: the storage unit
and the policy schedule. Note that if you change these values, the changes do not take
effect until the next time a schedule runs.
• The Maximum multiplexing per drive setting for a storage unit specifies how many
backups NetBackup can multiplex onto any single drive in the storage unit. You set
this value for each storage unit. The number can range from 1 through 32, where 1
is the default and specifies no multiplexing. The maximum number of concurrent-
backup jobs that NetBackup is allowed to attempt equals the sum of the concurrent-
backup jobs that can run on the storage units. Choose a value based on the ability of
your media server to handle parallel jobs. Testing may be required to find an
optimum value.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• The Media multiplexing setting on a policy’s schedule also limits how many streams
can be interleaved for a multiplexed job, where the default is set to 1 (no
multiplexing). This allows you to set the multiplexing ability at the storage unit, but
restrict it for specific backup policies and schedules.
To reduce the impact on restoring individual files from multiplexing backup, set a
fragment size on the storage unit. This is set in kilobytes (KB). A rule of thumb can be
the amount of data a drive can write in 10 minutes.
After completing this topic, you will be able to configure the way that
NetBackup handles busy files on UNIX and Windows.
39
This is the Handling busy files on UNIX and Windows file systems topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bp.conf options:
BUSY_FILE_PROCESSING
BUSY_FILE_ACTION
40
During backups, NetBackup may encounter what is referring to as busy files. On some
operating systems, a busy file – a file that is currently in use by an application or process
– may prevent copying and backing up the data. On UNIX and Linux, busy files do not
normally cause issues, however there are features in NetBackup to customize the
behavior when encountering files that cannot be backed up. Configure busy-file settings
for UNIX clients using the NetBackup Administration Console under client host
properties > UNIX Client > Busy File Settings. Set the appropriate actions. Alternatively,
you can configure busy-file processing as follows:
1. Add the BUSY_FILE_PROCESSING option to the client’s
/usr/openv/netbackup/bp.conf file on the master server. This enables
busy-file processing.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
2. Add other busy-file options to control the processing of busy files. These other
options can exist in both the client’s bp.conf file and the user’s
$HOME/bp.conf file. The user’s bp.conf file takes precedence when the
options are in both places. Different users on the same client can have different
configurations for that client. In this case, these configurations are saved in the
$HOME/bp.conf file.
Add clients to
customized settings
41
On Windows, busy files can often cause NetBackup to not have access to a file, and
result in status code 1 errors for backups. Open file backup options, which allow for
busy file processing, are set for each client in the Client Attributes section of the master
server host properties. List the clients for which you want to control the open file
backup options in the Clients section of this dialog box. After the client is added to the
Clients list, you can manipulate the settings. Note that by default no clients appear in
this list, and it is the responsibility of the administrator to add clients here manually.
In current versions of NetBackup, the default snapshot provider used for Microsoft
Windows clients is Volume Shadow Copy Service (VSS), which is provided by Microsoft.
Snapshot usage and error control settings are set here. Individual drive snapshot usage
takes a snapshot of each item in your files list individually. Global drive snapshot usage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
takes a single snapshot of all items in your files list together. When using VSS, consider
how snapshots of drives are taken for each client when making this setting. Snapshot
error control can be set to either abort a backup when a snapshot fails, or disable the
snapshot for that backup and continue when a snapshot operation fails.
NetBackup versions prior to version 7.x used the Veritas Snapshot Provider (VSP) as the
default method of backing up open and active files on Microsoft Windows clients. Refer
to the appropriate NetBackup documentation for information on VSP or using it with
older Windows versions that do not support VSS.
42
Microsoft Volume Shadow Copy Service (VSS) is supported on systems running Windows
Server 2003 and later. VSS runs on various Windows client operating systems, but
cannot be configured or customized on all Windows versions. Third-party software
vendors provide additional components that work in conjunction with VSS.
Specifications for configuration and use of VSS differ according to the nature of the
hardware on which it is running, the purpose of the machine, and many other
configuration factors.
VSS shadow copies for different volumes are set through the Disk Management utilities
of the Windows server on which they are installed. An example of the Shadow Copies
settings are shown on this slide. Shadow Copy settings can also be made from the
command line using the vssadmin utility. The vshadow utility is also included in
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Software Deployment Kits for Windows Vista and later versions, such as Windows 2008.
Either of these utilities can be used from the command line to configure VSS. It is not
possible to make general recommendations for the configuration and use of VSS, but
the following are useful general tips:
• Create the shadow copy for a particular volume on a separate volume. This is so that
a shadow copy does not fill up its own volume.
• Do not set a Maximum size limit for the shadow copy volume. After a volume fills
up, VSS automatically deletes expired shadow copy images.
• Key points
– In this lesson, you learned how NetBackup provides solutions to some of today’s backup challenges.
– You also learned the benefits of the NTFS and VxFS change logs, and how to enable NetBackup
Accelerator.
– Finally, you learned how to configure a policy to use multiple data streams and the benefits of handling
busy files and using VSS.
• Reference materials
– NetBackup Administrator’s Guide
– NetBackup Commands Reference Guide
– NetBackup Snapshot Client Administrator’s Guide
– http://www.veritas.com/support
43
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
44
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
45
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is D. The NTFS change journal is an optional feature that can enhance the speed of a NetBackup
Accelerator backup; but it is not required. Veritas File System (VxFS) is not yet supported as a change log type with
NetBackup Accelerator. TIR is not a required feature with NetBackup Accelerator.
47
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
48
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is A. Because when different backup selections are on the same disk.
49
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
14-50
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Collecting Logs and Diagnostic Information lesson in the Veritas NetBackup
8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Using the support utilities Use the NBSU and NBCPLOGS utilities, and describe the Logging
Assistant.
Using NetBackup support resources Identify available resources for NetBackup troubleshooting.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to perform very basic
troubleshooting for NetBackup environments.
If the Activity Monitor shows a failed job, use this checklist to investigate the cause of
the failure.
1. Define the problem: Note the status code, examine the Detailed Status report in the
Job Details, and identify the servers involved in the backup.
2. Examine the NetBackup reports.
3. Confirm that all services or daemons are running.
4. Answer the question “Is this the first attempt?” What appears to have caused the
error.
• If yes, check the configuration for errors that may have caused this issue.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• If no, review and note any changes made to the NetBackup configuration or
system environment.
5. Discuss problem with relevant internal groups (DBA,s network or storage group).
6. Note any patterns to the failure: time of day? Network segment? operating system
type? Storage unit?
These steps should be undertaken before calling support. If the problem persists, open a
case with Veritas Technical Support. Gather all known details about the problem and be
prepared to collect debug logging information.
A place to start your investigation of a failed job is in the Detailed Status report in the
Job Details. This report will show the processes (and PIDs) involved in the backup as
well as other useful details. In this example the job failed with status code 58: Can’t
connect to client. The bpbrm (backup and restore manager) process on the media server
was unable to connect to the bpcd (client service) process on the client. These
processes will be discussed later in this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Use the Reports utility in the NetBackup Administration Console to generate reports to
verify, manage, and troubleshoot NetBackup operations. NetBackup reports display
information according to job status, client backups, and media contents. The reports
draw upon a variety of sources including various NetBackup databases and logs. This
lesson focuses on the Status of Backups report, the Problems report, the Media Logs
report and the All Log Entries report. These reports come from the error catalog located
in install_path\netbackup\db\error on Windows and under
/usr/openv/netbackup/db on UNIX. The first three reports are subsets of the
entire catalog and are created by using filters to select only certain parts of the entire
catalog.
The All Log Entries report will display the entire catalog contents. The catalog is a log,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
which is automatically setup and enabled at installation. Error logs are created on a 24-
hour cycle. At midnight each day, the daily log is closed and a new one is opened for the
next days events. By default the logs are kept for 28 days. This can be configured in the
master server host properties under the Clean-up tab. See the NetBackup Commands
Reference Guide for more information about running commands.
The All Log Entries report displays logging information captured by NetBackup. The
information in this report is derived from the error catalog on the master server. Unlike
the detailed debug logs, the logging recorded to the error catalog is always active;
therefore, information is always available in this report. This report displays all the
information in the error catalog, including routine messages, events, and problems.
When possible, NetBackup displays a severity for each message. To access the
information in this report from the command line, type: bperror -all -U
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Status of Backups report shows status and error information about the jobs that
completed within the specified time period. If an error occurred, a short explanation of
the error is included in the report. The format is similar to that presented in the Activity
Monitor, however, the two are independent. Deleting a job from the Activity Monitor
will have no affect on the output of this report. Additionally, the Status of Backups
report does not have any job details for each job attached, as the Activity Monitor does.
The report can be filtered by specifying a time and date range, the media server, the
client or the job ID. To access the information in this report from the command line,
type: bperror -backstat -U
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
10
The Problems report displays logging information from the error catalog on the master
server. The Problems report is basically a filter for the All Log Entries report. The
Problems report only displays messages that appear to be errors or problems; routine
messages are not displayed. This report can be very helpful in troubleshooting failed
jobs because there is less output to sort through, and the output is more likely to be
relevant. The report can be filtered by specifying a time and date range, the media
server, the client or the job ID.
To access the information in this report from the command line, type: bperror -
problems -U
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
11
The Media Logs report displays errors that are specifically related to backup media. For
example, physical errors related to tape or disk media. The Media Logs report is another
filter of the All Log Entries report, and derives its information from the error catalog on
the master server. Note that there are also separate reports for Tape Logs and Disk
Logs, which filter the results to display only errors related to tape or disk media,
respectively. Having separate reports for tape and disk enables you to identify problems
quickly without sorting through a large amount of information. It is also convenient if
the responsibility for disk backups and tape backups are assigned to different operators.
The report can be filtered by specifying a time and date range or the media server. To
access the information on this report from the command line, type:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bperror -media -U
Windows
Unix
12
There may be times when you would like to have a copy of a report outside of the
NetBackup administration console. The Export option allows you to export a copy of the
report to a text file on disk. From there the report can be printed, imported to a
different application or distributed to other interested stakeholders. The slide shows the
process on both UNIX and Windows master servers.
From the File menu, select Export. Name the export file and specify where the file is to
be saved. You can achieve a similar result from the command line by redirecting the
output to a file: bperror -media -U > file.txt
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to identify and manage the
NetBackup services, daemons and processes that run on NetBackup master
servers, media servers, and clients.
13
14
In multitasking computer operating systems, there are some computer programs that
run in the background and are always active. On UNIX, these are often referred to as
daemons. On Microsoft Windows systems, these types of programs are called services.
In NetBackup, daemons/services can be found on the master server, media servers and
clients. Because of the many administrations tasks and backup operations performed on
the master server you will find a large number of daemons/services running there. The
media servers and clients will have far fewer daemons/services running.
The term process refers to a program that is inactive until summoned by a
daemon/service. Unless a specific distinction is required, the term process is frequently
used in the general sense to denote both daemons/services and processes.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
15
You can use the NetBackup Activity Monitor to monitor the services/daemons which are
currently running:
1. Start the NetBackup Administration Console.
2. Verify that you are monitoring the master server.
3. Click Activity Monitor in the object tree area.
4. In the details pane, click the Daemons tab.
From here, you can view the details of the active services and daemons.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
16
17
On Windows servers, the Windows Services tool (also started with services.msc) shows
persistent NetBackup services configured for the NetBackup host. The master server
services, with the associated executable name, most closely associated with backup
operations include:
Service name Executable name
NetBackup Request Manager bprd
NetBackup Jobs Manager bpjobd
NetBackup Data Base manager bpdbm
NetBackup Proxy Service nbproxy
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
18
NetBackup provides a command line utility called bpps that displays active NetBackup
processes. The ps part of bpps indicates that it runs similarly to the UNIX ps
command.The bpps utility is located in the following directory:
• Windows: install_path\NetBackup\bin\bpps
• UNIX: /usr/openv/netbackup/bin/bpps
The command options for bpps depend on the operating system platform. Examples of
some command options are listed on the slide. There is also a similar command for
Media Manager processes on UNIX, vmps.
The Windows version of bpps is quite powerful, similar to a resource kit utility for the
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
amount of information it can reveal about processes. For more help on bpps for
Windows, type: bpps -?
Run bpps on the system when it is idle and then again when a backup is running to
determine which processes become active for the backup. For more details, refer to
Article 100002166: How to verify the required NetBackup daemons/services are up
running on a master server at: http://www.veritas.com/docs/100002166.
19
The master server has many NetBackup daemons which run persistently. The slide
shows a subset of these, including important processes such as bprd, bpdbm, nbpem,
and so on. The number of NetBackup daemons that run on a media server is highly
dependent on what devices have been configured for that media server. When first
installed, a media server has far fewer active services than a master server. These initial
services include:
Service name Executable name
NetBackup Client Service bpcd
NetBackup Volume Manager vmd
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
This slide displays a number of additional daemons on the media server. These daemons
start running after tape devices are configured, and include:
Service name Executable name
Logical Tape Interface Daemon ltid
Tape Library DLT (Robot) Control Daemon tldcd
Tape Library DLT (Drive) Daemon tldd
Automatic Volume Recognition Daemon avrd
Note that the name for the tldcd and tldd process depends on the type of library and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
drives configured, and you may see more than just the one process if you have multiple
different devices configured. For example, some LTO drives are configured with the
NetBackup “Half-inch” designation, and would result in the tlhcd and tlhd processes.
21
This slide displays a number of additional daemons on the media server. These daemons
start running after a Media Server Deduplication pool is configured, and include:
Service name Executable name
NetBackup Deduplication Manager spad
NetBackup Deduplication Engine spoold
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpbrm
bptm
22
During some operations you will see additional processes. For example, during a simple
backup you may see the following processes on the media server:
Service name Executable name
NetBackup Backup and Restore Manager bpbrm
NetBackup Tape Manager bptm
Note that although the process has the name “Tape Manager”, it is used for backups
that go to disk storage units as well.
During a backup, you will also see this process on the client:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Stop all processes, daemons, and console processes bp.kill_all (UNIX only)
Start all processes, daemons, and console processes bp.start_all (UNIX only)
23
After completing this topic, you will be able to describe legacy and unified
NetBackup logs.
24
25
The following slides are designed to help you understand how NetBackup logging works
so that you can better assist Veritas Technical Support in the resolution of your
NetBackup problem. In order to investigate the problem support may request debug
logs of the processes associated with the problem. In addition, support may request the
output of certain NetBackup utilities such as nbsu. Other evidence such as operating
system files and logs may also be requested.
The process of log collection can be facilitated if you understand how NetBackup logging
works. In the following slides you will learn how to enable, configure and collect
NetBackup logs. NetBackup customers are not expected to read and interpret logs. That
is the job of the support engineer who is working your case. They have the knowledge,
skills, tools, and experience to examine and process the logs. The number of logs
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
requested will depend on the nature of the problem. If the problem is ill-defined or the
source of the problem is not readily obvious, more logs may be requested. If the
problem is well defined and specific, fewer logs will be required.
26
Every NetBackup process (including daemons and services) has a detailed debug log
associated with it. This is in addition to the default information that NetBackup logs to
the error catalog on the master server. Each log is a text-based file containing detailed
output from its associated process. In NetBackup, there are two kinds of processes,
each using a different logging method:
• Most NetBackup processes and components that have been added to NetBackup
since the NetBackup 6.0 release use unified logs. In general, these include processes
that begin with nb, and components that use the Private Branch Exchange (PBX) to
communicate. These logs are turned on all the time and are configurable.
• Processes that existed prior to the NetBackup 6.0 release and continue to be used
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
today are referred to as legacy processes. These processes often start with bp (for
example bprd or bptm). The debug logs for these processes are referred to as legacy
logs and are not active by default. Legacy logs are less configurable than the newer,
unified logs, but are still very useful for troubleshooting. As a best practice only
activate these logs when needed for troubleshooting purposes. They can grow very
large and can also affect performance.
There is one process, nbproxy, which uses legacy logs even though it is not a legacy
process.
27
Enabling NetBackup logs depends on the type of logs you are managing. The slide
discusses both methods.
Legacy logs: Legacy debug logs provide a record of NetBackup activity related to specific
services and processes. The table on this slide shows the general process for enabling
legacy logs.
1. Legacy debug logs are created by a process only if a subdirectory for that process
has been created. In general, these directories have the format:
• UNIX: /usr/openv/netbackup/logs/process_name
• Windows: install_path\NetBackup\logs\process_name
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Legacy logging processes creates one or more debug log file per day, with the
format:
• UNIX: username.mmddyy_seqnum.log
• Windows: domainname@username.mmddyy_seqnum.log or
ALL_ADMINS.mmddyy_seqnum.log
The mklogdir script, found in the logs folder, can be used to create some, or all
the legacy logging directories. Because this script can creates log directories for all
possible daemons and processes and increase disk I/O, it is instead recommended
to run the command with the named directory as an argument.
Note: Earlier versions of NetBackup used a different naming convention, which did
not include the username.
nbsetconfig
29
The Logging host properties apply to currently selected master servers, media servers,
and clients. The available properties differ between a server and a client. Access the
host properties from within the NetBackup Administration Console for the host, and
select the Logging tab. The Global logging level setting is used for setting the debug
level for all legacy debug logs. Alternatively, Process specific overrides can be used to
specifically set levels for some individual processes, different from the global level.
It is possible to change logging level in the host properties, or by modifying the
bp.conf configuration file in UNIX. Check your specific version of NetBackup for
supported logging levels in the host properties and the bp.conf file. Eight logging
levels are supported in NetBackup 7.7: no logging (-2), minimum logging (-1), same as
global level (0), or low to maximum debugging (1-5).
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Logging for critical processes creates logs for critical NetBackup processes automatically
by creating the appropriate log directories. Check your version of NetBackup for a
specific list of processes. NetBackup 8.0 lists processes for the master server (bprd,
bpdbm), media server (bpbrm, bptm, bpdm) and the client (bpfis), as long as they are
running NetBackup 7.7 or later.
30
The vxlogcfg command is used to change the logging settings. Settings can be
changed for individual processes which are identified in the command by their
originator ID (OID). The OID can be in the form of a name (nbpem, nbjm, etc) or a
number (116, 117, etc.). A list of OID name and numbers can be found in the NetBackup
Troubleshooting Guide.
Similarly, the nblog.conf configuration file, which is located in the
/usr/openv/netbackup (UNIX) and install_path\NetBackup (Windows)
directories, can be used to identify originator IDs and the short names for processes.
Note that this file should only be changed using the vxlogcfg command. Do not edit
it manually. Some sample lines from nblog.conf showing the OID and settings for
nbjm are as follows:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note: Generally, when you are actively troubleshooting, it is safe to have vxlogs. Otherwise,
minimize the logging levels to have some information if the troubleshooting is required.
31
Unless you are actively trying to capture a failure scenario, it is recommended to keep
logging at a minimum. Logs can have a tremendous impact on NetBackup performance
and disk space on the volume where logs exist. Disable and purge legacy NetBackup logs
by deleting the folder for the corresponding logs in the NetBackup logs directory. The
AltPath and user_ops folders, if present, are part of normal NetBackup operations,
and they must not be deleted. Also, do not delete the mklogdir script.
Unified logs cannot be completely disabled, but the amount of detail logged and the
corresponding performance overhead varies based on the verbose settings.
The following commands revert debug and diagnostic unified log messages to
their default verbosity levels:
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
32
The most efficient way to enable logging in NetBackup and to quickly gather the
required information from debug logs is to understand how NetBackup inter-process
communication works, and the direction of communication and data within the
NetBackup architecture. This information is best garnered over time and with
experience, but can be assisted by attending the Veritas NetBackup Advanced
Administration and Veritas NetBackup: Maintenance and Troubleshooting courses, by
reviewing the NetBackup Troubleshooting Guide, and by contacting Veritas Technical
Support.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Media Communications
Device Manager Backup/Restore (bpcd) Client
server Communications
(ltid) Manager
(bpcd)
(bpbrm)
Metadata
Backup and Archive
Tape Manager Client (bpbkar)
or
(bptm) Data
Client’s data
33
This slide shows the connections among the major processes of the master server, the
media server, and the client, during a standard backup job. By understanding this
architecture, you can get a better idea of where to apply logging. For example, if you
believe that NetBackup is having a communication or authentication problem during
backups, applying logging to the bpcd, bpbrm, bpbkar, and bptm processes may make
sense. If you think that NetBackup is having problems allocating media or devices during
a backup, logging of nbrb, nbemm (which is part of NBDB), and nbjm would be
appropriate.
In the diagram on the slide, some processes have been colored slightly differently to
show that they are persistently running while NetBackup is running. In NetBackup these
are also known as daemons or services: bprd, bpdbm, nbpem, nbjm, nbrb, nbemm,
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
bpcd, and ltid. Other more transient processes, represented by boxes with a dashed
outline, only start running when a backup job occurs: bpbrm, bptm, and bpbkar. In
addition, the dashed lines represent the flow of data, the dotted lines represent the
flow of metadata, and the solid lines represent the flow of communication to complete
a backup job.
For additional information, see the NetBackup Troubleshooting Guide and attend the
Veritas NetBackup: Maintain and Troubleshoot course.
After completing this topic, you will be able to use the NBSU and NBCPLOGS
utilities, and describe the Logging Assistant.
34
• Collects information about the operating system, network, and NetBackup environment
• Runs various operating system and NetBackup commands, based on switches and
NetBackup host role
• Frequently requested by Support
• Located in:
UNIX /usr/openv/netbackup/bin/support
Windows install_path\NetBackup\bin\support
35
The NetBackup Support Utility (NBSU) is a Veritas utility used to gather diagnostic
information. By default, NBSU gathers appropriate diagnostic information based on the
operating system and NetBackup environment. The amount of information gathered by
NBSU can be qualified using command-line switches. The path to the NBSU command is
shown on the slide. NetBackup support may request for the output of NBSU to be
emailed or submitted to them.
NBSU results are written to the following directories:
• UNIX: ./output/nbsu/hostname-role-YYYYMMDD_HHMMSS
• Windows: C:\Users\username\output\nbsu\hostname-
role_YYYYMMDD_HHMMSS
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The output can be redirected to a different output directory by using the command:
nbsu –odir destination_directory
36
NBSU switches enable the collection of selective information. The following table
describes the switches used in the examples in the table on the slide:
Switch Description
-l List the diagnostic commands that are selected to run.
-d name Run the specified diagnostic commands or procedures. Use nbsu -l
to obtain a list of commands and procedures.
Note: Multiple -d options can be listed, for example:
-d OS_general -d OS_env
See the online help provided by nbsu –H for details on usage and nbsu –L for the
complete list of diagnostics and commands.
Sample of registry
information collected
37
This screenshot shows the text files which are packed into the CAB file. The names of
the individual files suggest the type of information collected. This screenshot shows the
contents of one of these files. The example displayed shows the values collected for the
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows
NT\CurrentVersion registry key.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
38
This screenshot shows the text files which are packed into the compressed (.tar.gz)
file. The names of the individual files suggest the type of information collected. This
screenshot shows the contents of one of these files. The example displayed shows some
operating system environment information.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
39
When you open a case with Veritas Technical Support, support may ask you to collect
various logs to help debug the issue. The requested logs, such as legacy logs, Unified
logs, and so on, may be in many places. Examples include the NetBackup relational DB
logs (NBDB logs), Activity logs (used to generate NetBackup reports), Legacy logs, PBX
logs, True Image Restore (TIR) information, Jobs try logs, NetBackup Vault logs, Media
Manager logs, VM mapping logs (file mapping for virtual machine backups), Unified
logs, Webserver logs, Windows Event logs, and VxFI logs (logs for snapshot providers).
nbcplogs is a NetBackup utility which makes the collection of these logs much easier.
nbcplogs gathers NetBackup and system logs into a tar format file and then compresses
them to facilitate the uploading of the tar bundle to the Veritas Evidence Server. By
default, nbcplogs searches for all logs generated during the last 24 hours. There are
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
With start and end date nbcplogs --start MM/DD --end MM/DD path
40
This slide shows a sample of the nbcplogs command line syntax. The variable path
signifies the folder or directory used. For more details refer to the NetBackup
Commands Reference Guide. All NetBackup documentation can be downloaded from
the SORT website at: https://sort.veritas.com/netbackup.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
41
This slide shows the output generated by running the nbcplogs command on both
UNIX and Windows. This command collects all logs and also runs the nbsu utility. The
output is written to the destination directory, as defined in the command.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
42
The Logging Assistant is a helpful tool that can shorten the time required to set up and
collect debug logs and other information. Because Logging Assistant automatically
performs a number of functions, you can avoid the problems that are associated with
manually logging into NetBackup hosts, creating log directories, and changing logging
levels. The Logging Assistant uses a series of wizards to help quickly troubleshoot a
problem. Depending on the category of NetBackup problem, the tool suggests the
possible hosts that may be involved in the problem and the logs that should be enabled
on those hosts. The tool also collects NetBackup debug logs, nbsu diagnostic
information, as well as additional evidence such as operating system files related to
troubleshooting.
To use the Logging Assistant, make sure that NetBackup (7.6 or later) is installed on all
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
NetBackup hosts involved in the process. No special licensing is required. However, you
must have root permissions for UNIX, and administrator privileges for Windows, to use
the Logging Assistant. For more details, refer to the NetBackup Administration Guide.
Note: With NetBackup 8.0, the feature for uploading logs to the FTP server has been
removed from the nbsu and nbcplogs utilities and the Logging Assistant. Logs that have
been collected by the Logging assistant and the other support utilities can be manually
uploaded to the Veritas Evidence Server. For more information, refer to Article
100028985: Logging Assistant FAQ at: http://www.veritas.com/docs/100028985.
After completing this topic, you will be able to identify available resources
for NetBackup troubleshooting.
43
44
NetBackup has a rather extensive set of documentation. The entire documentation set
can be downloaded through the NetBackup SORT website at:
https://sort.veritas.com/netbackup.
Three guide books are particularly useful for troubleshooting. These are the NetBackup
Status Code Reference Guide, the NetBackup Logging Reference Guide and the
NetBackup Troubleshooting Guide. The NetBackup Troubleshooting Guide is very useful
in learning how NetBackup works under the covers. Understanding how NetBackup
inter-process communication works, and the direction of communication and data
within the NetBackup architecture is key to troubleshooting problems within
NetBackup. This information is best garnered over time and with experience, but can be
assisted by reading the available documentation and by attending the Veritas NetBackup
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Contacting support
1. If problem persists, open a support case:
• Go to https://support.veritas.com
• Sign in or register
• Create a new case or manage an existing case
2. Be prepared to collect debug logging information
3. Upload requested logs and data to support
For information about support policies and options refer to Support Fundamentals:
https://www.veritas.com/content/support/en_US/terms/support-fundamentals.html
45
The slide lists some simple steps when contacting NetBackup support.
1. If you cannot resolve the problem on your own, open a support case. First go the
Veritas Support web site at https://support.veritas.com. Sign-in or register for a new
account, and then create a new case or manage an existing case.
2. Be prepared to collect debug logging information.
3. Upload the debug logging information for support.
Information about support policies and options can be found online at:
https://www.veritas.com/content/support/en_US/terms/support-fundamentals.html.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
46
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
47
The slide shows the objectives for the lab associated with this lesson. Refer to the
corresponding lab guide for specific instructions and lab steps.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
48
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
49
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is A. None of the other commands are valid on a Windows NetBackup host, although some are valid
on a UNIX NetBackup host.
50
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
51
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is D. The unified logs are not stored in plain text. Legacy logs are created in plain text and can be
viewed in any text editor, like Notepad. You can set the logging levels in NetBackup Administration Console. OpsCenter is
used to generate reports and monitor NetBackup.
52
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
53
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. The nbcplogs utility collects a variety of log files. For example, nbcplogs collects unified logs,
legacy logs, NBDB logs, TIR info, PBX logs, web service logs and more.
54
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
15-55
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Introduction to Application and Database Backups appendix in the Veritas
NetBackup 8.2: Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Introduction to enterprise Discuss options for backing up and restoring Exchange, Active
application backups Directory, SharePoint, and Enterprise Vault.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to discuss application backup
types, and the features of Granular Restore Technology (GRT) and Block
Level Incremental Backups (BLIB).
Scheduling
• Who is initiating the backup: NetBackup or the application?
• Are there restrictions on when the backup runs?
Automation
• How is the application put into and out of a backup state?
• What additional automation or notification is required?
This slide describes the high level concerns you need to consider when preparing for
application backups. At a minimum, you should ask and answer the questions shown on
the slide. For many of the popular databases, such as Oracle, Microsoft Exchange, and
Microsoft SQL, there are NetBackup agents that answer these questions and simplify
the configuration and running of backups and restores of these databases.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Manually
• Sometimes referred to as immediate backup
• Run manually from the NetBackup Administration Console, OpsCenter, or command line
• May be automated with a script, cron (UNIX), Task Scheduler (Windows), or a third-party job
scheduler
also be run by schedulers outside of NetBackup, such as scripts, the cron utility, or
the Windows Task Scheduler.
• Application or user schedules, including user backups and archives, are client-
requested backups that enable the end-user or application on the NetBackup client
to control when a backup runs and which information is contained in the backup. By
default, users and applications on the client do not have permission to request
backups: the NetBackup administrator must create specific schedules to allow this,
and may choose to limit client requested backups to specific hosts or at specific
times of the day. Client requested backups do not use the policy’s Backup Selections
list; the user or application always chooses what is to be protected at the time the
backup runs. Some application backups may be initiated by special automatic
schedules by the NetBackup scheduler.
As shown on the slide, there are many policy types in NetBackup, which correspond to
different ways of handling different types of data:
• File system data
File system backups tend to use either Standard or MS-Windows policy types to
back up UNIX or Windows file systems, respectively.
• NetBackup data
The NBU-Catalog policy type is special, and used specifically to back up the
NetBackup master server configuration, databases, and catalogs.
• Offsite data copies
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The Vault policy type is used with the NetBackup Vault feature, for making and
tracking offsite copies of data for disaster recovery purposes.
• Databases, applications, and virtual machines
Many of the other policy types are used to back up specific applications, file
systems, or virtual machines. The policy type helps NetBackup determine how to
communicate and collect data. It performs this in coordination with the application,
sometimes with the goal of higher availability or automation of tasks, such as
controlling the starting and stopping of services, log truncation, or enabling online
backup methods.
Backups Restore
Database backups are divided into three types: bpbkar-based and script-based. Some
examples of bpbkar-based database backups are Exchange, SharePoint, Lotus Domino,
and Enterprise Vault. The backup process flow for bpbkar-based database backups is
similar to other standard file system backups.
Script-based backups can be split into two different types, stream based and Intelligent
Policy. Both types use a script. Stream based use a script that is written using the
database backup and restore utilities. Examples of script-based database backups are
Oracle, Sybase, Informix, DB2, and SQL Server.
Intelligent policies still use a script but the script is generated at run time using the data
that is entered in the NetBackup policy. Examples of intelligent policies are Oracle and
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
SQL Server. The process flow for stream based and intelligent policy backups are
significantly different from the standard backup process flow.
This slide compares and contrasts the schedules for bpbkar-based backups, script-based
backups and intelligent policies. In general, bpbkar-based backups are scheduled as
normal file system backups. They can be controlled automatically with a frequency- or
calendar-based schedule that NetBackup initiates, or with a User Backup schedule that
enables the client to initiate the backup.
With script-based backups, an Application Backup schedule is created that enables the
application to initiate the backup. The backup is usually initiated when the application
runs a script that defines attributes of the backup. Additionally, if you wish to configure
NetBackup to control the schedule of these script-based backups, use an Automatic
Backup schedule that directs the application to run the script, which then initiates the
backup. With intelligent policies, the schedule type can be Full, Incremental or be a
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
special Logs type for backing up Oracle Archive logs or SQL Server T-Logs. The schedule
initiates the backup and uses the same NetBackup schedule to store the data removing
the need for separate Application Schedules
10
Oracle has integration with VxFS Storage Checkpoint to enable changed block
identification in real time. BLI backup does not need to search the entire database for
the modified blocks, which saves time, decreases the amount of backup media that is
required, and significantly reduces CPU and network overhead during backups. BLIB
backups for Oracle are not widely used nowadays as there is no integration into RMAN.
After completing this topic, you will be able to discuss database backup and
restore concepts.
11
12
Definitions for a database, database system, and database management system (DBMS)
are provided on the slide. Some well-known DBMSs are also listed. Some basic database
backup and restore concepts are discussed on the following slides.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
13
Replication
Each of these strategies can protect against some of the failure types. Each of them also
provides advantages and disadvantages, such as backup performance, restore
performance, and the minimization of database downtime. None of these methods
protects against all types of failures, and it is only with a comprehensive strategy that
takes into account all of these methods, that you are best equipped to handle a disaster.
NetBackup provides the advantage of not only managing data backups, but also being
able to initiate restores within the application to take advantage of transaction and redo
logs, snapshots, and some replication features.
14
With a cold backup, recovery actions are not needed to restart the database after a
restore.
• Hot (online) backups: An inconsistent backup is commonly referred to as a hot
backup because the database is open and operational (online) while the backup is
performed. The database must maintain an updated record of transactions that
occur while the backup is performed. With a hot backup, recovery actions are
necessary before you can restart the database after a restore, which usually involve
using the previously recorded set of transactions to assist in recovering the data to a
consistent state.
1
2
16
The graphic on this slide describes the process for backing up a database using an (BLIB)
schedule. In this procedure:
1. The database attempts to initiate a backup with the master server by using a backup
script.
2. NetBackup uses the Application schedule to ensure there is an open window in
which to run the database backup, and then build the backup job.
3. The database backup job runs when the resources become available.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
17
The graphic on this slide describes the process for backing up a database using an
Automatic schedule. In this procedure:
1. NetBackup runs an Automatic schedule to initiate the backup script.
2. The database attempts to initiate a backup with the master server using a backup
script.
3. NetBackup uses the Application schedule to ensure there is an open window in
which to run the database backup, and then build the backup job.
4. The database backup job runs when the resources become available.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to discuss options for backing
up and restoring Exchange, Active Directory, SharePoint, and Enterprise
Vault.
18
19
• From one-pass backups of Exchange, Granular Restore Technology (GRT) can be used
to create consistent full backups, as well as restore Exchange storage groups or
databases and individual database objects. This backup takes much less time than
prior MAPI-based (brick-level) backups.
• From a one-pass backup of a virtual machine running Exchange, a GRT-enabled
backup can be created for full restore or granular restore ability.
• NetBackup for Exchange supports backups of Exchange 2010 stand-alone servers
and Exchange 2010 Database Availability Groups (DAGs).
21
This is an example of an enterprise agent for NetBackup. Enterprise agents use special
directives in the Backup Selections list to define what is protected. In this example,
Microsoft Exchange is being protected. The NetBackup administrator added a user
backup schedule in addition to an automatic full backup. Note that having a user backup
schedule is not mandatory to protect Microsoft Exchange, but it does provide increased
flexibility.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
22
• Auto discovery is used where the topology is read from the SharePoint front-end
Web server and the backup selections list is automatically built.
• A user can perform backups of SharePoint Server resources through the Backup,
Archive, and Restore client interface on the front-end Web server.
• VMware backups that protect SharePoint Server provide granular recovery,
complete protection of the farm, and protection of the components in the files
system.
For additional details, see the NetBackup for Microsoft SharePoint Server
Administrator’s Guide.
23
Active Directory (AD) is a directory service created by Microsoft for Windows domain
networks. Active Directory serves as a central location for network administration and
security. It is responsible for authenticating and authorizing all users and computers
within a network of Windows domain type. Administrators can use Active Directory for
assigning and enforcing security policies for all computers in a network, and for
installing or updating software on network computers. Server computers with Active
Directory running are called domain controllers. NetBackup can be used to restore
individual objects and attributes in the Active Directory, instead of restoring the entire
Active Directory. Administrators can also restore deleted objects, known as tombstone
objects, from the Active Directory. Active Directory granular NetBackup restores are
supported on Windows 2003 R2 SP2, Windows 2008, Windows 2008 R2, and more.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Check the NetBackup documentation to find out which version of Windows support
Active Directory granular restores.
24
Granular Recovery Technology (GRT) enables the ability to restore individual objects,
such as mailbox and public folder items in Exchange, from full database backups. This
type of backup can serve both kinds of recovery situations. From the same backup
image, you can restore entire storage groups or databases, or you can select individual
objects within that backup. This backup replaces the existing MAPI mailbox backup,
sometimes referred to as a brick-level backup, which took a significant amount of time
with Microsoft Exchange. You can restore individual items using GRT from the following
types of backups:
• Full or user-directed backups (Incremental backups are not yet supported.)
• Local snapshot backups
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
25
Veritas Enterprise Vault enables an organization to store messaging and file system data
automatically in centrally-held archives. Clients and users can retrieve selected items
easily and quickly when required. Enterprise Vault can archive any of the following types
of data:
• Items in Microsoft Exchange user and journal mailboxes
• Items in Domino mail files and journal databases
• Files held on network file servers
• Documents held on Microsoft SharePoint servers
• Instant Messages, Bloomberg messages, and SMTP messages
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The NetBackup Enterprise Vault agent consists of the components that enable you to
protect the Enterprise Vault configuration and archived data.
The Enterprise Vault agent enables you to back up and restore the Enterprise Vault file
system data and the Enterprise Vault SQL data. These types of data can reside on
different systems or devices, such as NTFS or NAS devices. The Enterprise Vault agent
also serves as a disaster recovery solution for data that is archived using Enterprise
Vault. Recovery of the archived data is not dependent on the archive source, such as
Exchange Server or a specific file system.
26
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas Support web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
27
The next section is a quiz. In this quiz, you are asked a series of questions related to the
current lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
28
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is B. Block level incremental backups (BLIB) backs up changed data for Oracle. This method does not
apply to Exchange
29
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
30
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is D. This technique is also common to other databases, such as Microsoft SQL Server.
31
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
32
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The correct answer is D. Granular Recovery Technology provides this functionality for Exchange.
33
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
A-34
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the Instant Access Feature for VMware appendix in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to configure disk staging with
BasicDisk storage units.
NetBackup mounts the VM's snapshot directly on the backup storage device to allow your ESXi host or cluster to treat
the snapshot as a normal VM. The mounted VM snapshot can be used for a variety of purposes.
Note: The instant access feature is supported only for NetBackup appliances and requires that the NetBackup backup image is stored on a Media Server Deduplication Pool (MSDP) storage device.
It is now possible to create an instant access VM from a NetBackup backup image using
the Instant Access Feature for VMware. The VM is available almost instantaneously,
achieving a near-zero recovery time objective. NetBackup mounts the VM's snapshot
directly on the backup storage device to allow your ESXi host or cluster to treat the
snapshot as a normal VM.
The mounted VM snapshot can be used for a variety of purposes. For example:
• Recovering files from the VM, or copying a vmdk file.
• Running tests on the VM, such as testing a patch.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Note: The instant access feature is supported only for NetBackup appliances and
requires that the NetBackup backup image is stored on a Media Server Deduplication
Pool (MSDP) storage device.
Note the following about the Instant access virtual machines feature:
• This feature is supported with backup copies that are created from protection plans
using the web UI.
• Classic policies that are created with the NetBackup Administration Console also
support instant access when the policy uses the VM instance UUID as the Primary
VM identifier.
• This feature supports only the VMware policy type in NetBackup. For the policy types
that the web UI protection plans use, contact the backup administrator.
• This feature is supported only for NetBackup appliances.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
This feature does not support For Windows single file restore,
This feature does not support VMs that have a disk in raw LDM volumes and the ReFS file
VMs that have disks that were device mapping mode (RDM) or system are not supported, and
excluded from the backup. that have a disk in Persistent the Access Control Lists (ACLs) are
mode. not preserved.
• This feature does not support VMs that have disks that were excluded from the
backup. On the NetBackup policy's Exclude Disks tab, the No disks excluded option
must be selected.
• This feature does not support VMs that have a disk in raw device mapping mode
(RDM) or that have a disk in Persistent mode.
• For Windows single file restore, LDM volumes and the ReFS file system are not
supported, and the Access Control Lists (ACLs) are not preserved.
• The version of the ESXi server that is used to create a VM using Instant access virtual
machines must be equal to or newer than the version of the ESXi server that contains
the VM backup images.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
• This feature supports single file restore of file sizes up to 1 GB. For larger files, you
can use the Download option, or start the VM and copy the required file. For single-
file download with the Download option, the NetBackup web UI must be able to
access the media server with the same name or IP address that the master server
uses to connect to that media server.
• If the media server appliance uses a third-party certificate, you need to create certain
configurations on the NetBackup master server before you use this feature. For more
information, refer to the "Third-party certificates" and "Implementing third-party SSL
certificates" sections in the NetBackup Appliance Security Guide, available here:
http://www.veritas.com/docs/000003214
After completing this topic, you will be able to configure disk staging with
BasicDisk storage units.
This is the Creating and recovering files from an instant access VM topic.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
5
Review the recovery settings and
make changes if needed
10
5. Select a single file (not a folder or multiple files). Click on a folder to drill into it. Use
the home icon to navigate back to higher levels in the hierarchy.
6. Select the recovery method:
• Click Download to download the file to your local host.
At the prompt, accept the SSL certificate that the NetBackup Appliance web server uses.
If your company uses third-party SSL certificates, you can deploy the corresponding root
CA SSL certificate to your environment. If you do so, acceptance of the certificate is no
longer required.
Note: The web UI must be able to access the NetBackup media server with the same
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
name or IP address that the NetBackup master server uses to connect to that media
server.
• Click Restore to restore the file to its original VM.
Enter the user name and password for the VM and the destination path in the VM (the
default is the original file path).
Note: The web UI does not currently support restoring the file to a different VM or to a
different VMware server.
7. Click Restore.
End of presentation
B-11
Not for Distribution.
Veritas NetBackup 8.2: Administration
© 2019 Veritas Technologies LLC. All rights reserved. Veritas and the Veritas Logo are trademarks or registered trademarks of Veritas Technologies LLC
or its affiliates in the U.S. and other countries. Other names may be trademarks of their respective owners.
This is the LTR using Veritas Access appendix in the Veritas NetBackup 8.2:
Administration course.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
The table on this slide lists the topics and objectives for this lesson.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
After completing this topic, you will be able to describe Access Appliance
with NetBackup-Solution architecture.
Two components:
• Deduplication Plug-in (located in backup clients, media servers or load balancing servers)
➢ Segmentation and Fingerprinting
• Deduplication Storage Server (Engine and Manager, added to Access)
➢ Stores and manages deduplicated blocks
➢ TCP based communication with the Plug-in
Media Server Deduplication Storage Pool, used by the most of Veritas NBU Customers
already.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
LAN
SAN
NBU Client
NBU Master
NBU Media
Veritas Access Cluster
Veritas
Access
Media Server
OpenDedup
NBU client Deduplication Pool
Dedup data Deduplicated Amazon
data Amazon S3 Glacier
over S3
Backup data
Media Server over http OpenDedup
NBU client Deduplication Pool Deduplicated Amazon
data Amazon S3 Glacier
Use Case 2: OST hosted on a NetBackup master and/or media server sends backup data
to OpenDedup hosted on Veritas Access, which deduplicates the data and sends this
data over the S3 protocol to Veritas Access. Veritas Access moves this deduplicated data
to AWS S3 or Glacier.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Runs on Access
10
Access Appliance
Data Deduplication
Pool - Copy 2
Clients Media Server
Deduplication only
Backup Short-Mid
Optimized backup
Retention
Restore from Copy 1
11
NetBackup policies and SLP define how backup images are stored and tiered to other
storage platforms. Hence, the data path is dependent on the defined policies and SLP.
When utilizing Access data deduplication, a media server is required to do the
deduplication of the data. Access’ main role in the path is to store the unique data,
fingerprints database, metadata in addition to supporting files such as journals and logs.
In this example, the data from clients is initially backed up to MSDP on the media server
where it is deduplicated and stored for short to mid-term retention and is the primary
copy. An SLP is defined to duplicate the unique data blocks to the Access Appliance for
the second copy. Restores can be done from copy 1 residing on MSDP in the media
server or from copy 2 residing in Access. When restoring from copy 2, a media server is
required to retrieve the data from Access, rehydrate, and send to the client.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Access Appliance
Data Depuplication
Media Server Pool- Copy 1
Clients MSDP – Copy 1
12
In this scenario, no MSDP is defined on the media server. The client will stream the
backup image to the media server where the deduplication is performed and the
optimized backup is sent to Access. For restores, the media server is required to retrieve
the data from Access, rehydrate, and forward to the client.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Access Appliance
Data Depuplication
Pool- Copy 1
Clients Media Server
MSDP – Copy 1
Client Backup Direct to Long-Term Retention – Optimized Backup
Restore
Deduplication
Deduplication
13
In this case, the clients create the backup image, deduplicate the backup data, and send
the optimized backup to Access. Access holds the primary copy. This is referred to as
client direct deduplication. During restores, a media server is responsible for retrieving
the deduplicated data from Access, rehydrating, and sending data to the client.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Clients Clients
2 2
3 3
Access
Fingerprint
Cache
FP
Domain A Domain B
14
3. If data block does not exist on either cache or database, the unique data block is sent to
the Access Appliance. If it does exist, a reference to the data block will be made in the
database indicating location of where the data block resides on the Access Appliance.
4. Similarly, on the other domain, a comparison is made on the local and Access fingerprint
cache and only unique data is sent.
It is assumed that the Access Appliance is reachable from both domains. This process is
the same when there are multiple media servers in one domain.
Conditions in which global deduplication is not achievable include:
• Fingerprint is not in the local or Access cache during comparison.
• Fragmentation where the blocks are in different containers that are far apart such that it
affects performance of restores.
6
Deduplication
Creates catalog
entries for the
Master Server Media Server Media Server Master Server data imported
in Master
Optimized
Backup
4
Access 5 Fingerprint is
Optimized Replication Fingerprint FP compared to check
Cache for duplicates.
Unique
Data
15
When using Access data deduplication, the process is simplified since MSDP on the
media server is not required. After the replication and import processes are initiated by
the media servers, the actual I/O is between the Access Appliances on the source and
target. A sample flow of NetBackup AIR with Access data deduplication is illustrated on
the slide.
1. A trust relationship is established between the NetBackup servers in the domains where
credentials and certificates are required for authentication.
2. A sample SLP on the source is defined as follows:
• Backup to an Access data deduplication Pool (Copy 1 on source)
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
16
17
The disk pools configured on appliances are visible from the NetBackup Administration
Console. Ensure that appliances do not exceed 85% capacity within the disk pool to
ensure maximum performance and take appropriate action when they reach 70+%
capacity. Also, limit the number of jobs and I/O at the disk pool level for better
performance. On the NetBackup Administration Console follow the path Media and
Device Management > Devices > Disk Pools. At the bottom of the Change Disk Pool
window, adjust the Maximum I/O Streams value by clicking on the check box, and
specifying the desired value.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
S3 bucket
or volume
18
Note that the details shown in the NetBackup Administration Console display the disk
pool as NetBackup sees it. For example, NetBackup sees the disk pool on this appliance
as containing one volume. The underlying disks in the appliance, which support this
volume are not visible to NetBackup and therefore not visible from the NetBackup
interfaces and reports.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
19
The corresponding S3 buckets can be viewed from within the Access Web Console,
under Files Systems > S3 Buckets.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
20
21
After completing this topic, you will be able to explain integration of Access
Appliance as a cloud provider for NetBackup.
22
23
The Access Appliance is integrated as a cloud provider in NetBackup 8.1 (with updates).
During the configuration of a cloud storage server on the master server administration
console, Access is listed as one of the cloud storage providers that can be selected. Also,
an Access S3 buckets can be created in NetBackup during this configuration when
adding a volume to the disk pool. Support for storage efficiency is one of the main
factors in decision-making during the purchase of a long-term retention storage
platform solution; the ability to maximize storage space assists in reducing overall cost.
Backup images stored in the Access Appliance can be deduplicated either using
NetBackup MSDP with CloudCatalyst or OpenDedup. The NetBackup Cloud Storage
Server Configuration Wizard communicates with the cloud storage vendor's network
and selects the appropriate host for the storage server. To configure a cloud storage
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Select Veritas
Access (S3).
24
The first screen of the Cloud Storage Server Configuration wizard lists the supported
cloud vendors. In the Cloud storage provider option, either select the cloud provider or
in the search box type the cloud provider name that you want to select. If the cloud
provider that you have entered exists in the list, the wizard selects it.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
25
This slide shows an example configuration screen when adding a Veritas Access (S3)
storage server configuration.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
26
Click Advanced Settings to display the Advanced Server Configuration dialog box. Note
that the settings are vendor specific.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
Select encryption, if
required.
27
Some cloud vendors provide the ability to set compression and encryption within the
wizard. NetBackup also supports compression prior to sending data to the Access
Appliance. So, Access stores the compressed format of the data. Compression improves
storage utilization by reducing the number of bits required to represent data. The type
of data defines the degree a file can be compressed. Data types that compresses well
includes text files or unstripped binaries. Data that is already compressed and stripped
binaries are not good candidates for compression.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
28
On the Cloud Storage Server Configuration Summary panel, verify the selections. If
changes need to be made, click Back until you reach the panel on which you need to
make corrections. Otherwise, click Next. The wizard creates the storage server, and the
Storage Server Creation Confirmation panel is displayed.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
29
In the Disk Pool Configuration Wizard, the Volume Selection panel is displayed. Note
that the Storage server type is set to PureDisk_vtas-access_rawd. Observe the bucket
created during the initial configuration of the Veritas Access Appliance. Place a
checkmark next to the volume name listed. You can also use the Add New Volume
button to create more buckets to add to the disk pool. Click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
30
The Additional Disk Pool Information panel is displayed, in which you enter or select
the properties for this disk pool. Click Next for the Disk Pool Configuration Summary
panel. If the summary shows your selections accurately, click Next to complete the Disk
Pool Configuration Wizard, and then create your storage unit.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
31
When the disk pool is created successfully, ensure that you select the Create a storage
unit using the disk pool that you have just created check box, and then click Next.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
32
In the Storage Unit Creation wizard panel, enter the appropriate information for the
storage unit. After NetBackup configures the storage unit, the Finished panel is
displayed. Click Finish to exit from the wizard.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
33
• Reference materials
– Veritas Access NetBackup Solutions Guide
https://www.veritas.com/content/support/en_US/doc/127449868-127449872-0/va-73_v126461832-
127449872
– Appliance Getting Started Guide
https://www.veritas.com/content/support/en_US/doc/123437325-132386218-0/v121728272-132386218
– Veritas Access Appliance Product Description
https://www.veritas.com/content/support/en_US/doc/125460431-133007257-0/v125460080-133007257
– Veritas Access Appliance Release Notes
https://www.veritas.com/content/support/en_US/doc/116066907-133637396-0/v130731152-133637396
– Veritas Support
https://www.veritas.com/support/en_US.html
34
For more information about the topics discussed in this lesson, refer to the resources
listed on the slide and remember to check the Veritas support Web site frequently.
Copyright @ 2019 Veritas Technologies LLC. All rights reserved.
End of presentation
C-35
Not for Distribution.