Professional Documents
Culture Documents
Symantec Netbackup Education - 100-002701-A
Symantec Netbackup Education - 100-002701-A
Symantec NetBackup
7.5 for Windows:
Install, Configure,
and Deploy
(Lessons)
100-002701-A
COURSE DEVELOPERS Copyright © 2012 Symantec Corporation. All rights reserved.
Cheryl Faulkner Symantec, the Symantec Logo, and VERITAS are trademarks or
Kris Faulkner registered trademarks of Symantec Corporation or its affiliates in
John Gerhardson the U.S. and other countries. Other names may be trademarks of
Lisa Goldring their respective owners.
Tomer Gurantz THIS PUBLICATION IS PROVIDED “AS IS” AND ALL
Steven Schwartze EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS
Sandy Tipper AND WARRANTIES, INCLUDING ANY IMPLIED
Robyn Winkler WARRANTY OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE
LEAD SUBJECT MATTER
DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH
EXPERTS DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
Christopher Amidei SYMANTEC CORPORATION SHALL NOT BE LIABLE FOR
Peter Farley INCIDENTAL OR CONSEQUENTIAL DAMAGES IN
Bob Farnsworth CONNECTION WITH THE FURNISHING, PERFORMANCE,
Joseph Gallagher OR USE OF THIS PUBLICATION. THE INFORMATION
CONTAINED HEREIN IS SUBJECT TO CHANGE WITHOUT
Micke Ostrom
NOTICE.
Robert Owen
Kleber Saldanha No part of the contents of this book may be reproduced or
transmitted in any form or by any means without the written
Christopher Winter
permission of the publisher.
Symantec NetBackup 7.5: Install, Configure, and Deploy
TECHNICAL Symantec Corporation
CONTRIBUTORS AND World Headquarters
REVIEWERS 350 Ellis Street
The NetBackup 7.5 Mountain View, CA 94043
Advisory Board United States
http://www.symantec.com
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Course Introduction
Course prerequisites
Students attending this course should be familiar with:
• UNIX or Windows system administration
• Storage area network (SAN) concepts
• Data protection concepts and terminology
when needed.
• Because you must be able to scale up your solution to manage your entire
organization, simple automated policies that maintain efficient, organized
records that can be readily accessed and used are essential. Also, the backed up
data and these metadata records must be protected against damage or loss.
A variety of technologies are available, and usually a combination of techniques
provides the best solution.
The Symantec NetBackup 7.5 product suite provides a rich set of tools and
technologies that address these issues.
• Your recovery point objective (RPO) describes how much you can afford to
lose (or how long it has been since you saved your data, the recovery point).
Some technologies leave longer gaps but these technologies tend to handle
larger volumes of data more cheaply than the alternatives.
• Your recovery time objective (RTO) is the length of time you can afford to take
to return to normal service. Again, different technologies have differing
capabilities.
Most people implement a combination of technologies, making use of the
advantages of each. NetBackup can be configured to do exactly that.
Developing a data protection plan is beyond the scope of this course. But as you
work through this course, you are encouraged to think about backup and recovery,
and the service level agreements to which you are committed.
efficient, storage-optimized data protection for the data center, remote office,
and virtual environments. NetBackup PureDisk is a software-based
deduplication solution that is tightly integrated with NetBackup. PureDisk is
ideal for environments that require high performance and scalability.
• NetBackup RealTime
NetBackup RealTime provides continuous data protection (CDP) and
replication for critical applications helping to dramatically reduce recovery
time and data loss. Backup windows can be eliminated and administrators can
recover instantly or to any point in time. Unlike traditional backup methods
RealTime can recover terabytes of data in seconds without any extra storage.
1
investments, provide data protection, and adapt to changing business
requirements.
• Veritas Cluster Server
Veritas Cluster Server is the industry’s leading cross-platform clustering
solution for minimizing application downtime. Using central management
tools, automated failover, features to test disaster recovery plans without
disruption, and advanced failover management based on server capacity,
Cluster Server enables IT managers to maximize resources by moving beyond
reactive recovery to proactive management of application availability.
• Veritas Volume Replicator
Veritas Volume Replicator provides a world-class foundation for continuous
data replication, enabling rapid and reliable recovery of critical applications at
remote recovery sites. As an option to Veritas Storage Foundation by
Symantec, Volume Replicator enables efficient replication of data over IP
networks, offering an extremely flexible, high-performance alternative to
traditional array-based replication architectures.
• Replication Director
Replication Directoradds an integrated solution for the creation, management,
and recovery of snapshots, replicated snapshots, and snapshot copies to
OpenStorage (OST)-compliant vendor’s filers and arrays. By using
NetBackup’s Storage Lifecycle Policies, Replication Director provides end-to-
end protection using snapshots and snapshot replication (disk-to-disk-to-tape,
or D2D2T).
Copyright © 2012 Symantec Corporation. All rights reserved.
and from media (disk or tape). They combine clients’ data into GNU tar
archive files called backup images. One master can control several media
servers.
• 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.
• The Enterprise Media Manager (or EMM) server is a centralized data store and
group of services that manage and allocate the resources required for all
NetBackup operations. Frequently, the EMM server is on the same host as the
master server.
Storage types
After a media server creates an image, it must save it somewhere.
Removable media, such as tape, is most cost effective. Robotic libraries automate
operation, and can be shared to provide redundancy and efficient allocation of
resources. Rather than antiquated technology, removable media still serve a
valuable purpose, such as for long term or off-site storage.
Copyright © 2012 Symantec Corporation. All rights reserved.
Images can be stored on local or networked disks for rapid access, but increasingly
complex permanent storage solutions are built around disk, 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 efficiently and safely.
• The Backup Selections list identifies which files and data sets to back up.
• A user backup never starts automatically, but is initiated by the user through
1
the Backup, Archive, and Restore client interface. A user backup backs up all
files that the user specifies. Users can start backups only during the times
allowed under the schedule Start Window tab.
• A user archive is only initiated by the user through the interface on the client
and archives all files that the user specifies. An archive is a special type of
backup that first backs up the file and then deletes it from the local disk if the
backup is successful. This frees local disk space while still keeping a copy for
future use. Users can start archives only during the times that you specify in the
schedule.
Copyright © 2012 Symantec Corporation. All rights reserved.
2 NetBackup backs up the data to a tar file image over the network to tape, disk,
or other storage devices, according to your policies.
3 During the backup, NetBackup keeps status information in its log files,
enabling you to monitor or report on the backup.
4 NetBackup stores information about what has been backed up in the Image
database and information about the media and volumes used during the backup
in the EMM database.
4 Because NetBackup maintains status information about restores in its log files,
you can monitor and report on restores just like backups.
This slide shows you how to list the currently available agents and options for
NetBackup. These options are briefly described on the following pages.
NetBackup Accelerator
NetBackup Accelerator facilitates intelligent, streamlined backups to disk by
increasing the speed of full and incremental backups. It identifies file system
changes that occurred since the last backup, therefore enabling clients to more
efficiently send only changed data to the media server. Using synthesized full
backups, a full backup is created on the media server using the new changed client
data combined with the previous backup image data.
NetBackup Bare Metal Restore automates and streamlines the server recovery
process, eliminating the need to manually reinstall operating systems or configure
hardware. With simple commands, you can run complete server restores in a
fraction of the time without extensive training or tedious administration. From the
NetBackup interface, you can execute multiple server restores in parallel to
accomplish mass-recovery operations. One option addresses the demands of
multiple platforms, eliminating the need for customized restore procedures on each
platform.
NetBackup Cloud
NetBackup Cloud Storage enables storing backup data to third-party commercial
cloud storage, similar to backing up to on-premise storage. NetBackup 7.5
includes enhanced Cloud Storage as a fully integrated storage alternative,
supporting four popular cloud storage service providers: Amazon, AT&T,
Nirvanix, and Rackspace.
NetBackup Deduplication
The NetBackup Deduplication option enables you to use integrated data
deduplication and replication features. This option enables you to perform
deduplication at the source with client deduplication, or to perform the equivalent
of target-based deduplication by using the NetBackup media server. You can
install and configure deduplication and also optimized duplication of images
(using replication) from the NetBackup Administration Console.
1
NetBackup OpenStorage
NetBackup OpenStorage supports NetBackup communication with intelligent disk
appliances. Participating hardware vendors provide an OpenStorage plug-in with a
disk appliance, which allows NetBackup to leverage the advanced features
supported by these devices. Support for vendor-specific features, such as single
instance storage and off-host appliance-resident duplications, are possible with the
OpenStorage Disk Option.
NetBackup RealTime
NetBackup RealTime provides disk-based continuous data protection (CDP) and
live IP-based replication to dramatically reduce data loss and recovery times of
critical applications. System administrators can perform recovery operations to
reconstruct the state of an application or file system to any point within the data
retention period configured by the user. NetBackup RealTime can perform CDP
and replication across any application and storage array while being integrated
with NetBackup for specific applications agents. You can purchase NetBackup
RealTime as an option to NetBackup or as a stand-alone product.
NetBackup Vault
Use NetBackup Vault to keep mission-critical data safely offsite in the event of a
disaster by automating the complex and tedious process of backup duplication and
offsite media management. Some key benefits include:
1
• Elimination of manual tape ejection—Tape ejection is handled automatically
based on profiles that determine which tapes should be sent offsite each day.
protection and synchronization for users who are in the office or traveling. This
option automatically copies user data to existing network shares or storage,
enabling quick recovery or synchronization of data by the administrator or the user
in the event of data loss.
1
environments. In addition, NetBackup manages the protection of the Informix
ONCONFIG configuration file and other critical database files and directories.
automation options, and support for all popular storage devices create the
flexibility administrators need to maximize performance.
NetBackup MySQL
Customers can now integrate MySQL databases into their NetBackup environment
by using the Zmanda Recovery Manager (ZRM) for MySQL – NetBackup Option.
This plug-in provided by Zmanda, a Symantec STEP partner, enables NetBackup
to provide centralized backup and recovery of multiple MySQL databases or
servers across Linux, Solaris, and Windows operating systems. Benefits include:
• Scheduling full, differential, and incremental backups of MySQL database
• Recovering the database easily to a required point in time or to any particular
database event
• Backup compression and encryption
• Extensive monitoring and reporting
NetBackup Oracle
The NetBackup Oracle agent simplifies the backup and recovery of all parts of the
Oracle database, virtually ensuring the availability of your Oracle data. The
NetBackup Oracle agent is tightly integrated with the Oracle Recovery Manager
(RMAN) to deliver high performance backup and recovery solutions. It supports
Oracle Real Application Clusters (RAC), offers continuous data protection, and
can clone Oracle databases from backup images.
NetBackup SAP
NetBackup SAP delivers complete SAP-certified data protection for SAP
environments running Oracle databases, virtually ensuring the availability of your
SAP data. NetBackup SAP provides integration with the SAPDBA administrative
interface, leveraging existing user knowledge and reducing training costs.
NetBackup SAP also utilizes the native SAP backup and recovery commands,
Copyright © 2012 Symantec Corporation. All rights reserved.
NetBackup Sybase
NetBackup Sybase provides complete online data protection for Sybase. An
intuitive GUI enables organizations to implement and manage consistent,
enterprise-wide backup and recovery policies for database and nondatabase files.
NetBackup Sybase provides comprehensive media management and backup,
including tape library sharing.
NetBackup Sybase:
1
• Provides transparent execution of both Sybase and regular-file-system backup
and restore operations
• Uses highly parallel data streams for fast backup and recovery operations
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
46 1–32 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
Lesson 2
Installing NetBackup
Copyright © 2012 Symantec Corporation. All rights reserved.
Installation preparation
notes. Also, verify that the devices you plan to use are supported.
• Verify the requirements for disk space in the release notes:
– Depending on your hardware type and operating system, you may need
anywhere from 21 MB to 1735 MB for the NetBackup and the Media
Server program files under the installation directory.
– Likewise, depending on your client hardware and operating system, the
NetBackup Client may require between 9 MB and 354 MB for the program
files.
• Verify the requirements for RAM in the installation guide and the release
notes. At least 512 MB of RAM is recommended, with 256 MB available for
the Java interface program (jnbSA or jbpSA).
Software compatibility
The Symantec Support Web site (http://www.symantec.com/support)
maintains compatibility lists for the following:
• Operating systems (OS) compatibility
Also known as a platform support matrix, this information (usually provided as
a TechNote) lists the available operating systems and platforms compatible
Copyright © 2012 Symantec Corporation. All rights reserved.
2
To ensure support, devices (drives, libraries, and SAN equipment, where
applicable) must be supported by Symantec, the device manufacturer, and the
operating system vendor. Also verify that the devices have the Symantec supported
firmware levels installed.
After the initial installation, you can administer NetBackup licenses by using the
NetBackup Administration Console, the NetBackup License Key utility, or the
command-line interface.
For additional information about license keys, see HOWTO article 314816:
Frequently asked questions about license keys.
4 In the Add a New License Key dialog box, enter the license key and click OK.
The new license key is displayed in the license listing.
5 After adding the license key, restart all NetBackup utilities, including the
NetBackup Administration Console.
All registered licensed keys details displays the details of the license keys that
are registered on this server. The view lists each license key, the server where the
key is registered, when the key was registered, and the features that the key
provides.
Evaluation periods
Copyright © 2012 Symantec Corporation. All rights reserved.
5 On the Choose screen, mark the appropriate check box to perform a local or
remote environment check.
See the NetBackup Installation Guide for directions and guidelines for
mounting the NetBackup software DVD.
3 From the root directory (/), install the server software:
a Enter the command to install the master server software.
/mountpoint/install
b Answer the prompts to proceed with the installation.
4 Enter a NetBackup license key. (See the “Notes on Entering the License Key”
section.)
5 Confirm or correct the configured name of the master server, media servers,
and Enterprise Media Manager (EMM) server.
• rsh • ftp
• ssh • sftp
For the FTP and SFTP methods there is an additional step to perform after the
install_client_files script runs. The root user on each client machine
must run the client_config script. The client_config script installs the
Copyright © 2012 Symantec Corporation. All rights reserved.
openv. The installation allows you to select an alternate installation location, and
creates the appropriate link from /usr/openv.
The default installation paths for Windows and UNIX are shown on the slide.
Media Manager and check that the processes are running. This verifies that the
binaries were installed successfully and are operational.
• To display the NetBackup and Media Manager processes, run
/usr/openv/netbackup/bin/bpps -a (Java) or
install_path\NetBackup\bin\bpps [-l|-s|-S] [-t
sample_time [m]] [-i|-x process_group] ...
[host_name] (Windows).
In the syntax, use -s to display a short listing, or -S to display a short listing
without headers. Use -l to display a long listing. Use -t with a sample time
(the default is one second), or -tm with a time in milliseconds.
NetBackup directories
The following directories within the NetBackup installation path contain
customizable scripts and command-line commands, as follows:
UNIX
• Executables are found in: /usr/openv/netbackup/bin
• NetBackup commands are found in:
/usr/openv/netbackup/bin/admincmd
• Sample scripts are found in: /usr/openv/netbackup/bin/goodies
• Media manager commands are found in: /usr/openv/volmgr/bin
• man pages are found in: /usr/openv/man
Windows
Copyright © 2012 Symantec Corporation. All rights reserved.
• PATH
/usr/openv/netbackup/bin
/usr/openv/netbackup/bin/admincmd
/usr/openv/netbackup/bin/goodies
/usr/openv/volmgr/bin
• MANPATH
/usr/openv/man
2
Copyright © 2012 Symantec Corporation. All rights reserved.
Command Help
Command help is available as follows:
• Java: Use the online man pages and ensure that the MANPATH includes
/usr/openv/man.
• Windows: Use the Symantec NetBackup Commands Reference Guide.
Copyright © 2012 Symantec Corporation. All rights reserved.
/usr/openv/netbackup/bin/goodies/bp.kill_all
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
85 Lesson 2 Installing NetBackup
Copyright © 2012 Symantec Corporation. All rights reserved.
2–39
Copyright © 2012 Symantec Corporation. All rights reserved.
properties for the master server, media servers, and clients can be remotely
modified using this branch.
– Media and Device Management branch: This branch contains the utilities
used to manage the volumes, pools, and devices that NetBackup uses to
store backups.
• Details (right) pane
This pane contains the configuration wizards and details specific to the utility
that is selected in the object tree pane.
• Images on Media shows backup ID, file number on media, number of files,
number of kilobytes written, media ID or disk and media server that wrote the
backup.
• Media Logs presents the severity and a description for media issues,
identifying the client and the job ID.
• Tape Reports includes Images on Tape, Tape Logs, Tape Contents, Tape
Summary, Tape Written, and Tape Lists.
• Disk Reports includes Images on Disk, Disk Logs, Disk Storage Unit
Status, and Disk Pool Status.
3
Copyright © 2012 Symantec Corporation. All rights reserved.
on that particular host. The vm.conf file maintains Media Manager settings for
both UNIX and Windows servers.
NetBackup global attributes must be configured through the NetBackup
Administration Console or the command line.
NetBackup local attributes for the master, media, and client must be configured in
the bp.conf file on the respective machine.
Windows
Note: See the Symantec NetBackup Administrator’s Guide for additional master
server properties.
Console
As you have seen in this topic, the differences between the NetBackup
Administration Console and the NetBackup-Java Administration Console are
relatively minor. Throughout the remainder of this course, only the NetBackup
Administration Console will be shown, unless there are significant differences
between the two consoles.
What is OpsCenter?
OpsCenter provides a single interface that can be used to monitor multiple
software applications and report on backup results and environmental conditions.
In its core form, OpsCenter displays multi-level views of backup and archive
resources and produces reports for tracking backup results and other aspects of an
environment. OpsCenter is designed to be used by multiple audiences within an
organization who need to manage or monitor IT environments, as well as backup
administrators and operators who perform daily backup duties.
Copyright © 2012 Symantec Corporation. All rights reserved.
Note: There is no direct upgrade path from NOM or VBR to OpsCenter 7.5.
NOM and VBR must be upgraded to OpsCenter 7.0 or 7.1 prior to
upgrading to OpsCenter 7.5. See the product documentation for details.
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 After the initial log on, change the user name and password. To change existing
passwords, use the Settings > User Preferences > MyProfile view in the
OpsCenter console.
3 Click Log On.
– At the bottom of the Task pane, there are quick links that you can use to
access to the most common tasks in OpsCenter. These links include Oracle
Cloning, Alert Policies, NetBackup Data Collection, Views, and Users.
By default, the quick links are displayed in a maximized state. The
minimize or maximize settings are only applicable for the current session.
• The Content pane
Initially, the Content pane displays summary information for all master
servers in the OpsCenter console. Initially, a monitoring overview is displayed.
Subsequent logins display the last view you visited. The Content pane
information is context-sensitive to the current selections in the View pane, the
tabs and sub-tabs, and the time frame.
CONFIDENTIAL - NOT FOR DISTRIBUTION
106 3–20 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
3
Configuring OpsCenter data collection for NetBackup
Before you can use OpsCenter to monitor and manage your NetBackup
environment, you must configure data collection for NetBackup. To do this, first
add a master server to the OpsCenter console as follows:
1 In the OpsCenter console, select Settings > Configurations > NetBackup.
2 Click Add.
Copyright © 2012 Symantec Corporation. All rights reserved.
Analytics, you can also configure data collectors for EMC NetWorker and
IBM Tivoli Storage Manager.
This course only covers OpsCenter. For additional information on using
OpsCenter Analytics, see the Symantec OpsCenter Administrator’s Guide and
Symantec Education’s OpsCenter training.
Note: In prior releases of OpsCenter, the Java View Builder was only available
with OpsCenter Analytics. In OpsCenter 7.5, the Java View Builder is
included with the base product.
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
111 Lesson 3 Using the NetBackup Administrative Interfaces
Copyright © 2012 Symantec Corporation. All rights reserved.
3–25
Copyright © 2012 Symantec Corporation. All rights reserved.
4
After completing this topic, you will be able to define the terms storage device,
storage unit, and storage unit group. You will also be able to identify the
NetBackup tape storage unit types.
policy definition. Properties of a storage unit also 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 policy. You may set the priority of the storage units within the
group.
The order in which storage units are used within a group depends on how the
storage unit selection criteria is set. You may elect to use storage units in the
order in which they are displayed in the storage unit group dialog box, to use
each storage unit in turn, or to fail over to a different storage unit if the first
storage unit fails. This provides the ability to use a number of different storage
units in a group to ensure that the backups complete.
CONFIDENTIAL - NOT FOR DISTRIBUTION
115 Lesson 4 Configuring Tape Storage and Media
Copyright © 2012 Symantec Corporation. All rights reserved.
4–3
Storage devices and storage units
A storage unit is a group of one or more storage devices of a specific type and
density that attach to a NetBackup server.
When backups jobs are run, the storage unit specifies:
• Which media server copies the data from the client to the storage device
• Which storage device is used for the backup
During a backup or archive, NetBackup stores the backup data on the storage units
that were set up during configuration.
In the example on this slide, the storage unit specifies which media server backs up
the data (NBU1 or NBU2) and where the backups are written (LTO3 tapes in a
robotic library or a location on disk).
The media used can be removable or a directory on a hard disk. Removable media
Copyright © 2012 Symantec Corporation. All rights reserved.
4
This diagram shows a NetBackup configuration where individual tape drives are
dynamically shared between multiple NetBackup media servers. Each media
server can access any of the shared drives as needed, and each server “owns” the
drives that it has active. The shared drives are automatically allocated and
deallocated as backup and restore operations dictate.
Symantec recommends using the Device Configuration Wizard, which is the
easiest method for configuring drives in a shared configuration. This wizard guides
you through the steps involved in configuring drives to be shared between device
hosts.
When you use the Device Configuration Wizard in a shared configuration, the
limitations, supported devices, and device hosts are different from those in a
configuration without shared drives. For robot types that are supported with the
Copyright © 2012 Symantec Corporation. All rights reserved.
Shared Storage Option (SSO), Symantec recommended that you use the Device
Configuration Wizard to add shared drives. In addition to configuring shared
drives faster, using the Device Configuration Wizard eliminates many common
mistakes made when shared devices are configured using alternate methods.
Note: On machines that use multipathing or NDMP, shared devices must be
configured using the Device Configuration Wizard.
4
This example shows that by grouping multiple drives into storage units, you
improve:
• Fault tolerance
• Concurrency (Multiple jobs can use multiple drives.)
Copyright © 2012 Symantec Corporation. All rights reserved.
2 STU-A
3 STU-C
4 STU-D
In this scenario, backups are first directed to STU-B. If STU-B is busy or out of
service, backups are directed to STU-A. If both STU-B and STU-A are
unavailable, the backup is directed over the network to STU-C. If STU-C is
unavailable, the backup is directed to STU-D.
4
Storage unit groups can be used to enable a backup policy to select from a specific
list of storage destinations rather than just one in particular or “any available”
storage unit.
In the Storage Unit Group dialog box, 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 ranking system.
Copyright © 2012 Symantec Corporation. All rights reserved.
Note: Note: The load balance option is only available when its required options
are licensed. The load balance option is not compatible with BasicDisk
storage units.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
The order in which storage units are used within a group depends on the storage
unit selection option. The options shown in the slide are:
• Prioritized: Choose the first storage unit in the list that is not busy, down, or out
of media.
• Round robin: Choose the least recently used storage unit in the list.
• Failover: Choose the first storage unit in the list that is not down or out of
media.
In the first example, based on storage unit priority:
• Media1-SDLT is used for Jobs 1 and 2.
• Media2-SDLT is used for Jobs 3 and 4.
• Media1-SDLT will be used for Job 5.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
Media server load balancing
The fourth option is media server load balancing, which is shown in this slide.
After a server is ranked according to load, NetBackup attempts to choose a server
based upon specified criteria. If two or more servers share the best available rank,
NetBackup continues to apply additional criteria in the following order until one
media server remains:
1 Server rank: The server with the best rank
2 Fewest number of jobs: The server with the fewest jobs
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
Copyright © 2012 Symantec Corporation. All rights reserved.
For example, of five available media servers in a storage unit group, three may
have a rank of Idle. Of those three media servers, two may be running a single job
each. Of those two media servers, the server with the least amount of reserved
space is chosen.
Alternatively, if only one server has the best rank, that server is automatically
chosen.
4
Three interfaces are available for configuring storage devices and storage units:
• The Device Configuration Wizard
Use the NetBackup GUI to run the Device Configuration Wizard. The wizard
configures storage devices and storage units.
• The NetBackup Administration Console
Use the Media and Device Management interface to configure storage
devices and use the NetBackup Management interface to configure storage
units.
• The command-line or text-menu interface
Use the tpconfig and bpstuadd commands.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
Symantec recommends that you use the Device Configuration Wizard to
configure robots and drives. The wizard configures a robot, its drives, and a
storage unit.
To configure robots and drives using the wizard:
1 In the NetBackup Administration Console, in the object tree pane, select the
name of the master server.
2 In the details pane, click Configure Storage Devices and follow the wizard
instructions.
The properties you can configure depend on the robot type, the host type, and the
robot control.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
The Drag and Drop Configuration dialog box enables you to rearrange the drive
configuration, if necessary.
Click the Properties button in the Configure Storage Units dialog box to
configure storage unit properties.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
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.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
After the Device Configuration Wizard runs, you can view the properties of the
storage units that were configured. To do this:
1 Expand NetBackup Management > Storage and select Storage units.
2 In the details pane, select the storage unit you want to view, and press Enter.
You can also right-click and select Change.
In this example, notice that the Storage unit type is Media Manager. You can
also change the Media server field to Any Available, which is described on the
next page.
Copyright © 2012 Symantec Corporation. All rights reserved.
On demand only
When you configure a storage unit as On demand only, the storage unit is only
used if it is specified as an attribute in a policy or as an override storage unit within
a policy schedule.
If you select On demand only for all storage units, designate a specific storage
unit for each policy; otherwise, NetBackup is unable to find a storage unit to use.
Any available
If you do not specify a storage unit for your backup policy, your backup is directed
to any available storage unit. Any storage unit that is not flagged as On demand
only is available to any policy, either as an attribute or as an override storage unit
Copyright © 2012 Symantec Corporation. All rights reserved.
4
After completing this topic, you will be able to describe volumes, volume pools,
and volume groups.
Media Manager itself does not write anything to media, such as labels.
• An external volume serial number (EVSN) is an external reference to the
volume and is usually represented by a bar code label affixed to the volume
itself.
An EVSN can also be represented by a hard-copy label.
• A recorded volume serial number (RVSN) is a serial number that has been read
from a media header that NetBackup has physically written to the volume.
Note: The media ID is limited to six characters, and NetBackup only reads thirteen
characters on a bar code label.
4
NetBackup assigns each volume a unique media ID. This media ID may be
assigned manually, or it may be automatically generated using bar codes.
Considering the large number of tapes in an enterprise backup environment, most
environments use bar codes. Manually assigning media IDs is only performed in
special circumstances, such as for stand-alone tape drives.
The maximum length of a media ID is six characters and is typically identical to
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 EMM database and is also written on
the tape itself. The location where the media ID is written is called the tape header,
or label. Use caution when assigning media IDs. To avoid confusion, Symantec
Copyright © 2012 Symantec Corporation. All rights reserved.
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 custom bar
code rules you configure in your production environment are also configured in
your disaster recovery environment.
• None: None is the default volume pool for users of applications other than
NetBackup and Storage Migrator. None is also the pool where cleaning tapes
must be placed.
4
The scratch pool is an optional volume pool that you can configure. You can have
only one scratch volume pool per NetBackup domain. If a scratch pool is
configured, Media Manager moves volumes from that pool to other pools that do
not have volumes available.
Media Manager does not assign volumes while they are in a scratch pool. For
example, if a NetBackup policy or schedule specifies the scratch pool, all requests
for those volumes are denied.
A volume moved from the scratch pool to another volume pool remains in the
other pool until it is unassigned. A feature of Media Manager moves volumes back
to the scratch volume pool after the volume is unassigned.
To disable this feature, update the EMM database using the following command:
Copyright © 2012 Symantec Corporation. All rights reserved.
nbemmcmd -changesetting
-return_unsigned_media_to_scratch_pool no
-machinename EMM_Host
4
A volume group is a logical group of volumes that are located at the same physical
location and that are used to easily track media.
If a backup or restore operation is queued due to a pending media mount request,
review the volume group for the piece of media to determine the location of the
tape. If a volume is in the OFFSITE volume group, the volume is in a vaulted
media site.
Each robotic library has a pre-defined volume group with a name based upon the
robot number and robot type. If a volume is in a volume group, such as
000_00000_TLD, it is considered to be resident in the TLD0 library. When a
volume is resident, the robot automatically loads the resident volume for backup
and restore operations.
The following are the rules for assigning volume groups:
Copyright © 2012 Symantec Corporation. All rights reserved.
• 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).
• All volumes in a robotic library must belong to a volume group. You cannot
add volumes to a robotic library without specifying a group or having Media
Manager generate a name for the group.
• The only way to clear a volume group name is to move the volume to stand-
alone and not specify a volume group.
4
Think of a volume group as a location and a volume pool as a collection of
volumes that are used for a similar purpose, such as:
• The same application and data for data separation
• The same operating system for simplicity
• The same department for ownership or security
A volume group enables you to logically move sets of volumes between robotic
libraries and non-robotic locations. There can be multiple non-robotic volume
groups, just as there can be multiple robotic libraries, such as Robot 1 and Robot 2
in the slide on this page. Delete volumes from the EMM database by specifying the
group name, rather than individual media IDs.
Multiple volume pools can share the same location. For example, a robotic library
Copyright © 2012 Symantec Corporation. All rights reserved.
4
The table on this slide describes tasks that need to be performed either before or
during the Volume Configuration Wizard. 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 the
EMM database. For any media that was added to the EMM database before the
rules were created, either manually update the media or delete the media and rerun
the robot inventory. Then, the rules can 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 that the
robotic library provides along with your bar code rules. After bar code rules are
established, NetBackup automatically assigns media, based on the bar code tag, to
a specific volume pool and media type. Using the robot inventory enables accurate
Copyright © 2012 Symantec Corporation. All rights reserved.
tracking of volume locations. To determine which volumes are in a robot and their
exact slot location, perform a robot inventory update.
Media ID generation rules enable you to override the default media ID naming
method that NetBackup uses. The default method uses the last 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.
4
Copyright © 2012 Symantec Corporation. All rights reserved.
4
In the Select Device dialog box, you select the device whose volumes you want to
configure. Select the robot you want to inventory and click Next.
In the Specify if Multiple Drive Types Exist dialog box, you specify whether the
robot has more than one drive type. Select the appropriate radio button and click
Next.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
Advanced Options: Media Settings tab
A volume group is a physical location for media. Volume groups manage groups of
tapes together for the purpose of administrative action that allows movement,
modification, and deletion of tapes in groups.
Under the Media Settings tab, you can specify the volume group for existing
media and specify media options for new media.
Complete the Advanced Robot Inventory Options Media Settings tab as
follows:
• Media which have been removed from the robot should be assigned to the
volume group
This property specifies the volume group that Media Manager assigns to
Copyright © 2012 Symantec Corporation. All rights reserved.
the following ways. This is true whether or not a bar code rule is used.
– By default, Media Manager assigns the last six characters of the bar code as
the media ID.
– You specify specific characters for the media ID using Media ID
generation rules. See the “Advanced Options: Media ID Generation”
section of this topic for more information.
• Label optical media (local host only):
4
used. Otherwise, the default is the NetBackup volume pool for data volumes
and the NONE volume pool for cleaning tapes.
If you have set up a scratch pool, you can set the default pool to be the scratch
pool. Tapes are moved from the scratch pool to the volume pool that is
specified in the backup policy as needed.
Copyright © 2012 Symantec Corporation. All rights reserved.
robot type. In the EMM database, not all characters for the tag are used for all
robot types. You cannot use spaces or special characters that are represented as
spaces.
The following table identifies the maximum bar code length for the associated
robot type:
Rule Explanation
<NONE> Volumes with unreadable bar codes or robots that do not support bar
codes are matched to this tag when bar code rules are in effect.
<DEFAULT> Bar coded volumes that do not match other bar code tags are matched
to this special tag. This is contingent upon the media type in the
<DEFAULT> rule and the media type on the Update Options tab
being compatible. If these media types are not compatible, the volume
is matched to the <NONE> tag.
4
• Volume pool
Select a volume pool for the volume. This is the pool in which the volume is
placed when a bar code matches the rule. If the bar code rule is used and the
Media Settings tab shows DEFAULT for the volume pool, the volume is
assigned to the pool you specified in the bar code rule. If the Media Settings
tab shows a specific volume pool, that selection overrides the pool you
specified in the bar code rule.
• Description
Enter an optional description (up to 25 characters) for the bar code rule. This
can be a description of how the bar code rule is used, or any useful description.
Copyright © 2012 Symantec Corporation. All rights reserved.
Specify the properties for the new media ID generation rule as follows:
• Robot number
Click an arrow and select a robot number to which to apply this rule.
• Bar code length
Click an arrow and select the length of the bar code for tapes in this robotic
library and for this rule.
• Media ID generation rule
4
Two possible solutions are:
• Order tapes that have unique bar code labels.
• Color-code your bar code labels.
Copyright © 2012 Symantec Corporation. All rights reserved.
4
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.
Note: The first three rows in the table on this slide do not modify the volume
database.
Copyright © 2012 Symantec Corporation. All rights reserved.
Note: If the Media Manager Device daemon (ltid) is not running on the host
being monitored, the lists in the Device Monitor details panes are blank.
4
To display details about a particular drive, from the Device Monitor, right-click a
drive and select Drive Details from the drop-down menu.
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
165 Lesson 4 Configuring Tape Storage and Media
Copyright © 2012 Symantec Corporation. All rights reserved.
4–53
Copyright © 2012 Symantec Corporation. All rights reserved.
5
• 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.
• A disk enclosure is a physical container with disk storage, such as a disk array.
• 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.
• A media server is a NetBackup system that manages the writing of backup data
Copyright © 2012 Symantec Corporation. All rights reserved.
to storage media. Traditionally, the storage media may be either disk or tape
media. With the advent of OpenStorage technology in NetBackup, there are
instances where the storage to which backups are written is not managed
directly by the media server. This has led to the creation of an entity referred to
as the storage server.
In some cases, such as NetBackup AdvancedDisk, the storage server and the
media server reside on the same NetBackup system. However, in other cases,
the NetBackup media server communicates with a storage server provided by
Symantec or another storage vendor using NetBackup OpenStorage
technology. The storage server writes the data to and reads the data from the
disk storage.
– For the MSDP type, the media server or the client deduplicates the data and
then sends the deduplicated data to a disk pool associated with that media
server. The NetBackup media server functions as both the data mover and
the storage server.
– For the PureDisk type, the media server deduplicates the data and then
sends the deduplicated data to the PureDisk environment. The NetBackup
media server functions as the data mover, and the PureDisk Storage Pool
Authority (SPA) functions as the storage server.
• The OpenStorage disk type is used for disk storage, usually provided by a
third-party vendor. The actual name of the disk type depends on the vendor. An
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
• Storage unit type
The Storage unit type setting specifies the type of storage that this storage
unit uses. In this example, the storage unit type is Disk.
• On demand only
On demand only specifies whether the storage unit is available exclusively on
demand, that is, only when a policy attribute or policy schedule is explicitly
configured to use this storage unit.
Copyright © 2012 Symantec Corporation. All rights reserved.
Clear the On demand only check box to make the storage unit available to any
policy attribute or policy schedule that specifies Any Available as its
destination.
• Disk type
The Disk type field specifies the type of disk storage unit to be created. By
default, a disk storage unit is configured as BasicDisk. The following
specialized options are also available, depending on licensing and the
NetBackup configuration: AdvancedDisk, NearStore, OpenStorage, PureDisk,
and SharedDisk.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
be) the name of the storage unit.
• Priority of duplication jobs for this schedule (Java) or Priority of
relocation jobs started from this schedule (Windows)
This attribute specifies the priority that NetBackup assigns to duplication or
relocation jobs for this policy. The range is from 0 (default) to 99999 (highest
priority).
• Final destination storage unit
Copyright © 2012 Symantec Corporation. All rights reserved.
The Final destination storage unit is the name of the storage unit where the
images are copied from the disk staging storage unit.
• Final destination volume pool
The Final destination volume pool is the name of the volume pool on the
final destination storage unit where the images are to be copied.
If the Final destination storage unit is a Media Manager storage unit (tape),
or if Any Available is indicated for the Final destination storage unit, the
Final destination volume pool is selectable.
• Final destination media ownership (Java) or Final destination Media
owner (Windows):
5
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.
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
• UNIX: /usr/openv/netbackup/bin/admincmd
• Windows: install_path\bin\admincmd
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Configuration Wizard is displayed. You may also access the Disk Pool
Configuration Wizard by clicking the master server in the Administration
Console.
Unlike other elements of NetBackup configuration that also offer a manual
configuration, the Disk Pool Configuration Wizard is the only way to configure
a new disk pool from the Administration Console.
No disk pools exist by default.
Copyright © 2012 Symantec Corporation. All rights reserved.
You may also use the nbdevconfig command to configure a new disk pool
from the command line.
5
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: The percentage of used capacity at which a clean-up
Copyright © 2012 Symantec Corporation. All rights reserved.
operation stops purging backup images as a result of the disk pool reaching
the high water mark
5
A Media Server option is available to limit the storage unit to specific media
servers.
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.
8 The disk pool configuration is complete. Click Finish.
Copyright © 2012 Symantec Corporation. All rights reserved.
5
Copyright © 2012 Symantec Corporation. All rights reserved.
5
is displayed with a Storage Unit Type of Disk.
Copyright © 2012 Symantec Corporation. All rights reserved.
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
200 5–34 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
Lesson 6
Configuring File System Backups
Copyright © 2012 Symantec Corporation. All rights reserved.
6
3 Consider the storage requirements.
4 Consider the backup schedule.
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
master server.
2 In the details pane, click Create a Policy to begin the Policy Configuration
Copyright © 2012 Symantec Corporation. All rights reserved.
Wizard.
Click Help on any wizard panel for assistance while running the wizard.
– NDMP
– NetWare
– Oracle
– OS/2
– PureDisk-Export
– SAP
In this example, MS-Windows is selected.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
– To see a hierarchical view of the policies, select Policies in the ojbect tree
pane.
Copyright © 2012 Symantec Corporation. All rights reserved.
– To display the policy details of a single policy, in the ojbect tree pane,
select a policy name. The policy details display in the details pane.
– To open a policy, in the ojbect tree pane or the details pane, double-click
the policy name. The Change Policy dialog box is displayed.
– To display information about all policies, in the ojbect tree pane, select
Summary of all Policies. Click the title bar of each horizontal pane to
expand or collapse it.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Select the Calendar radio button to enable administrators to select specific
days on which to run a policy.
Copyright © 2012 Symantec Corporation. All rights reserved.
– Frequency
Select the Frequency radio button to enable administrators to specify how
much time must elapse between the successful completion of a scheduled
task and the next attempt at the task.
This is set in increments of hours, days, or weeks.
For more information about other options on the Schedule dialog box Attributes
tab, see the Symantec NetBackup Administrator’s Guide.
and all of the differential incrementals 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.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
Specific Dates
A backup can run on specific dates rather than follow a recurring schedule, and
specific dates can be added to a recurring schedule. The Specific Dates option
6
enables you to schedule specific dates on which your task runs. You can schedule
specific dates in any month of any year up to and including December 31, 2037.
Copyright © 2012 Symantec Corporation. All rights reserved.
Define specific calendar days as run days by clicking in the date on the calendar in
the Specific Dates dialog box. This specification causes the backup to run on the
specified day during the valid window that is defined for that day.
6
Copyright © 2012 Symantec Corporation. All rights reserved.
• The Schedule(s) using this retention level pane contains a listing of the
schedules that use the currently selected retention level, and the policy to
which each schedule belongs.
Click the Impact Report button to display a summary of how changes affect
existing schedules. If you change a retention period, click Impact Report. The list
displays all schedules in which the retention period is less than the frequency
period (including schedules that do not use the retention periods that you have just
changed).
6
Copyright © 2012 Symantec Corporation. All rights reserved.
6
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
Copyright © 2012 Symantec Corporation. All rights reserved.
manual 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.
/home/abc/fun[ny]name
In the backup selections list, precede the brackets with a backslash:
/home/abc/fun\[ny\]name
Example
The following backup selections list uses wildcards to specify UNIX file
specifications. Can you determine what will be backed up when the policy runs?
/home/.[a-zA-Z0-9]*
/etc/*.conf
6
path is a directory instead of a file (for example: F:\users\workfiles\).
• If the last component is a file, include the file extension and omit the backslash
Copyright © 2012 Symantec Corporation. All rights reserved.
6
Common client and backup selections issues
Copyright © 2012 Symantec Corporation. All rights reserved.
The following are common issues related to clients and backup selections:
• Incorrect policy type or client definition
• Client software not installed
• Client connection or access issues
• Incorrect backup selections list
• Status code 71: None of the files in the backup
selections list exist.
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
236 6–36 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
Lesson 7
Performing File System Backups and
Restores
Copyright © 2012 Symantec Corporation. All rights reserved.
Invoking backups
Backups can be initiated:
• Automatically, based on the policy schedule
• Manually from the NetBackup Administration Console or command line
• By users, at their clients
This kind of backup is not initiated by an automatic schedule in the relevant
policy.
Copyright © 2012 Symantec Corporation. All rights reserved.
Because 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.
You can perform an immediate backup from the command line on a NetBackup
server by using the NetBackup Administration Console or by using the following
command:
bpbackup -i -p policy [-s schedule] [-h host]
User schedules 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).
4 Click OK to start the backup.
7
Users select files and directories to back up. NetBackup ignores the policy’s
backup selections 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 GUI or commands
• A backup script launched at regular intervals
• An event trigger that kicks off a backup script
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.
For example, a policy name of Policy_users is selected ahead of User_policy.
After a policy is selected, the storage type, volume pool and retention period
are determined by how the policy is configured.
c To mark all files and folders that currently appear, select Edit > Mark
Displayed Files.
3 Start the backup operation by clicking the Backup button (Java) or by
selecting Actions > Backup (Windows).
The Backup Options window is displayed.
4 Confirm the backup selection and click Start Backup.
displayed in the details pane. To start the BAR interface using the command line,
type jbpSA &.
On a UNIX client, you can only start the BAR interface using the jbpSA &
7
command.
Windows
On a Windows master server, from the NetBackup Administration Console, select
File > Backup, Archive, and Restore to start the BAR interface, or click the BAR
button.
To access the BAR interface on a Windows client, on the Windows Start menu,
click Programs > Symantec NetBackup > Backup, Archive, and Restore.
one master server. For example, a laptop used at multiple locations may be
under the control of different NetBackup master servers at different times, so
you should select the master server that manages the backup images you need.
• Source client for restore (Java) or Source client for restores (or virtual
client for backups) (Windows)
When performing alternate-client restores or server-directed restores, select the
client to use from the drop-down list.
If you need to add a client to the list, click Edit Client List, type the name of
the client in the field, and click Add Name(s). Click OK to return to the
Specify NetBackup Machines and Policy Type dialog box.
backups. From these backups you will eventually select the files for restore. If you
want to restore from a series of backups, select the full backup, as well as the
subsequent differential or cumulative incremental backups.
NetBackup’s default search range is for the most recent backups since the last
full backup. You can modify the search range if you want to restore an image
other than the most recent image.
• Restore from a backup series.
This type of restore relates to incremental backups:
– Cumulative incremental backups require a full backup and the most recent
cumulative backup in the series.
– Differential incremental backups require a full backup and all of the
differential backups in the series.
• Restore a specific version of a file or directory.
Destination
The Destination pane (Java) or the Restore Destination Choices pane (Windows)
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 (Java) or
Restore individual folders and files to different locations (double-click to
Copyright © 2012 Symantec Corporation. All rights reserved.
modify) (Windows)
Restores items to paths other than the path from which they were backed up
• Create and restore to a new virtual hard disk file
7
For Windows 2008 R2 clients and 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 Properties.
Set the VHD file size and select the behavior of the file as follows:
CONFIDENTIAL - NOT FOR DISTRIBUTION
265 Lesson 7 Performing File System Backups and Restores Copyright © 2012 Symantec Corporation. All rights reserved.
7–29
– 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.
– Fixed size: If you select this option, the VHD file is created by using the
specified virtual hard disk size, regardless of the amount of data to be
restored.
Options
The remaining options grant you control over how NetBackup handles files that
may already exist.
• Restore without access-control attributes (Windows clients only)
An access control list (ACL) is a table that conveys the access rights that users
have to a file or directory. Each file or directory can have a security attribute
that extends or restricts users’ access.
The option to restore file and directory data without restoring ACLs is
available to NetBackup administrators from the NetBackup client interface if
the destination client and the source of the backup are both Windows systems.
To restore files without restoring ACLs, the following conditions must be met:
– The policy that backed up the client must have been of policy type MS-
Windows.
– The restore must be performed by an administrator logged in to a
NetBackup server (Windows or UNIX). The option is set from the client
interface running on the server. The option is unavailable on stand-alone
clients (clients that do not contain the NetBackup server software).
– The destination client and the source of the backup must both be systems
running Windows 2000, Windows XP, or Windows Server 2003. The
option is disabled on UNIX clients.
To restore files without restoring ACLs, mark the Restore without access-
control attributes (Windows clients only) check box.
• Overwrite existing files (Java) or Overwrite the existing file (Windows)
This option must be enabled if the restore operation is required to replace any
existing versions of files to be restored.
Copyright © 2012 Symantec Corporation. All rights reserved.
restore cart enables you to view file selections from multiple search and browse
operations and restore them at a later time, or to preview the media required. No
additional licensing or infrastructure is necessary.
For additional information on using Operational Restore, see the Symantec
OpsCenter Administrator’s Guide.
• The Summary displays the list of files or directories that you have selected for
restore. 7
– If the exact directory (folder) or file name is not known, use the * (any
number of any characters) and ? (any one character) wildcards.
• Search within Clients: In this field, specify the set of clients whose backup
information you want to search. You can search multiple clients that are
associated with one or more views or master servers.
– Select a view from the View drop-down list.
– Select a master server from the Master Server drop-down list. All
NetBackup 7.5 master servers that are a part of the selected view are
displayed.
protected clients that are associated with it. If you select a client-type view,
clients are displayed. Mark the check box next to one or more clients and click
OK.
If there are additional results, the number of rows and pages is displayed.
To display the backup history, click the Backup History Selection link for the file
or directory that interests you. The Backup Timeline window is displayed.
The Backup table in the middle of the window displays information about the
backup that is selected from the timeline view. Click an icon to view the details of
the specific backup in the Backup table. The Backup table lists the details of each
backup image that is associated with the backup. It displays information, such as
7
backup time, policy name, policy type, backup type, and so on. 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.
Click Add to Restore Cart to add this copy to the restore cart.
• The -f parameter to specify the location of a file containing the file list
To restore a file, a user must have read access to the backed-up file and write
access to the desired destination where the file will be placed when it is restored.
7
within the respective directories, which you can use for detailed troubleshooting.
If a nonroot user specifies USEMAIL = mail_address in the $HOME/
bp.conf file, NetBackup sends an e-mail containing the restore completion
7
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
291 Lesson 7 Performing File System Backups and Restores
Copyright © 2012 Symantec Corporation. All rights reserved.
7–55
Copyright © 2012 Symantec Corporation. All rights reserved.
four copies simultaneously at the time of the backup. This strategy is very efficient
because data only travels across the backup infrastructure once. This strategy also
provides excellent data protection because copies may be sent offsite immediately.
This strategy also requires more resources.
8
rotation. If you are not using the NetBackup Vault option, duplication is still
possible. Perform the duplication manually or schedule it using cron jobs (UNIX)
or the Task Manager (Windows).
Another method for automating duplications after backups is to use storage
lifecycle policies. A storage lifecycle policy is an automated, reusable backup
storage plan based on the business value of the data. Storage lifecycle policies are
discussed later in this lesson.
8
send offsite.
3 Click OK when you are finished.
8
copy number. If the primary copy is copy 1, copy 2 becomes primary copy
when copy 1 expires. If the primary copy is copy 5, copy 1 becomes the
primary copy when copy 5 expires.
7 Specify the storage unit where each copy is to be stored.
If a media manager storage unit has multiple drives, it can be used for both the
source and destination.
8 Specify the volume pool where each copy is to be stored. The volume pool
selections are based on the policy type setting that was used for the query:
– If the policy type was set to query for All Policy Types (default), both
8
catalog and noncatalog volume pools are included in the drop-down list.
disk storage unit or disk staging storage unit. However, if the source is a
multiplexed tape and the destination is a disk storage unit or disk staging
storage unit, marking the Preserve multiplexing check box ensures that the
tape is read in only one pass rather than in multiple passes.
12 Click OK to start duplicating.
13 Click the Results tab, and then select the duplication job you just created to
view the job results.
• Retention type
Each destination in the lifecycle can be configured for a unique retention type
and period. The retention types are:
– Fixed retention: The image does not expire until the specified retention
period has ended.
– Staged capacity managed: NetBackup tries to keep duplicated images on
disk until the desired cache period has passed. (Additional information is
provided later in this lesson.)
8
CAUTION The name and rank of a data classification may be changed, but a
data classification can never be deleted. Before using data
Copyright © 2012 Symantec Corporation. All rights reserved.
been duplicated. When a disk reaches its high water mark, NetBackup must purge
duplicated images from the disk. However, NetBackup now has criteria to use to
determine which duplicated images to purge first.
NetBackup first considers purging images that are past their desired cache period.
Of these images, the ones with no data classification or the lowest data
classification are purged before images with a higher data classification. This
enables more important images to be retained longer on disk, enabling faster
restores.
8
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.
– 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.
8
snapshot or import) and the type of storage unit (tape or disk). An Import
operation in an SLP indicates that the SLP is to automatically import images into
the target master domain as part of Auto Image Replication. A Snapshot operation
creates a point-in-time, read-only, disk-based copy of a client volume.
operation and that is a snapshot operation. NetBackup uses that storage unit
to determine which media server to use to launch the snapshot job.
See the Symantec NetBackup Administrator’s Guide for more information
about snapshot operation storage unit selection.
• Volume pool: Select the volume pool for the duplication (tape only).
• Media Owner: If you have server groups configured for media sharing, you
can select a server group as the media owner (tape only).
• Retention Type: Select one retention type.
– Fixed: A fixed retention is the only guaranteed retention. At least one
backup or duplication in the lifecycle must have a fixed retention period.
It can serve as the source for hierarchical duplication destinations. Any backup that
is marked as the primary copy can provide the source for a non-hierarchical
duplication destination.
but retains the image information so that processing can resume. This function
is similar to a suspend function.
• active
This option activates the lifecycle operations on selected image copies. This
function is similar to a resume function.
• list
This option displays the contents of an image list from the EMM database. The
tables that hold the information about the images that lifecycles process can be
listed. This option is primarily a debugging tool, but support may use the
information to troubleshoot problems.
offsite. Because you do not have to duplicate images in Vault, you do not have
to configure the duplication step.
3 Back up the NetBackup catalog (optional). The NetBackup catalog consists of
information about backups, including records of the files and the media on
which the files are stored, and information about media sent offsite. However,
vaulting a catalog backup along with your data can help you recover from a
disaster more efficiently.
4 Eject the media and transfer it to secure storage (optional). Media can be
ejected automatically by a scheduled Vault job or manually after the job has
completed. Media can be ejected for each job individually or can be
consolidated into a single eject operation for multiple Vault jobs.
consider running your vaulting sessions during the day to minimize demand on
hardware resources.
Labs and solutions for this lesson are located in the following appendixes:
8
considerably longer and 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:
• Remove tapes immediately following the (successful) backup of the catalogs.
• Make at least two copies of the catalog backup images.
• Store one copy of the catalog backup offsite.
• Image .f files are files that are used to store the detailed information about
each file backup.
• 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.
Pre-NetBackup 6.x image database formats
If you are upgrading from older versions of NetBackup that use ASCII format
catalog files, convert your old catalog files from ASCII to binary by using the
cat_convert utility to save space.
• config
The files in the config directory contain information about host properties
and data classification properties.
• DBVERSION
The DBVERSION file contains NetBackup version information.
• error
The error directory contains some of the activity logs.
• failure_history
The failure_history directory contains a list of failed backups.
• IDIRSTRUCT
CONFIDENTIAL - NOT FOR DISTRIBUTION
350 9–6 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
The IDIRSTRUCT directory identifies where to place the backup image files.
The default value is 2, which uses the following location:
– UNIX:
/usr/openv/netbackup/db/images/client_name/ctime
– Windows:
9
install_path\NetBackup\db\images\client_name\ctime
• images
The images directory contains the image database, which was discussed
previously.
• jobs
The jobs directory contains information about jobs that have run.
• media
The media directory is a temporary area for media activity.
• sched
The sched directory contains staging properties.
• ss
The ss directory contains storage lifecycle policy information.
• vault
The vault directory contains Vault properties.
Copyright © 2012 Symantec Corporation. All rights reserved.
Database files
The EMM database consists of database files and is supported by configuration
files and a transaction log. The following table describes the database files and
their locations.
install_path\NetBackup\NetBackupDB\data (Windows).
NBDB.db This database is the main NetBackup database file. NBDB.db
is considered a dbspace.
NBDB.log This log file is the transaction log for NBDB. This log is
required for database recovery. NBDB.log is truncated after
a successful full or incremental catalog backup.
EMM_DATA.db This database is the EMM database file. The EMM_DATA.db
is also considered a dbspace.
EMM_INDEX.db This database is used to enhance EMM database performance.
9
• bp.conf
VXDBMS_NB_DATA = /usr/openv/db/data
• Registry
HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\
CurrentVersion\Config\VXDBMS_NB_DATA
The example on this and the following slides shows the life cycle of a tape—from
unassigned, to assigned, and then unassigned again.
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.
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 of the backup data written on
Copyright © 2012 Symantec Corporation. All rights reserved.
the volume.
Image retention
Image retention is the period for which NetBackup preserves a backup image. The
image expiration date is the time at which NetBackup no longer protects this data
from being overwritten and can purge metadata about the image from its database.
Preparing to import
If you are importing Backup Exec media, run vmphyinv to update the Backup
Exec media GUID in the NetBackup Media Manager database. This needs to be
performed only once after creating the media IDs in the NetBackup Media
Copyright © 2012 Symantec Corporation. All rights reserved.
9
2 Select Actions > Initiate Import.
The Initialize Import dialog box is displayed.
3 Complete the Initialize Import dialog box as follows:
a In the Media Server field, specify the name of the host that contains the
volume you are going to import.
b Select whether the images to be imported are located on tape or on disk.
If images are on tape:
› In the Media ID field, type the Media ID of the volume that contains
the backups you are importing.
› Mark the The media for the import is password protected Backup
Exec media check box if you are importing password-protected
Backup Exec images. Validate the Backup Exec password by typing it
in the field provided.
If images are on disk:
› Enter the parent directory of the images in the field provided.
› If the image is on a NearStore server, mark the NearStore check box
and enter the name of the NearStore server in the field provided.
› Note that only disk backup images written in NetBackup 6.0 or later
may be imported.
c Click OK.
The Confirm Initiate Import (UNIX) or the Catalog (Windows) dialog
box is displayed.
4 Click OK to start the process of reading the catalog information from the
source volume.
Copyright © 2012 Symantec Corporation. All rights reserved.
imported on 01/28/2012 at 9:00 A.M, the expiration date of the imported image is
2/11/2012 at 9:00 A.M.
Catalog backups
Catalog backups can be run just like normal backups, and can be run online, while
NetBackup is performing other tasks and standard backups and restores.
Additionally, catalog backups can run both full and incremental types of backups,
thereby minimizing catalog backup time and space.
Catalog backup policies are slightly different from normal backups. Because
Copyright © 2012 Symantec Corporation. All rights reserved.
NetBackup already knows data and clients to back up, you do not need to specify
the clients or backup selections for a catalog backup. In addition, catalog backups
can be configured to create a disaster recovery file. This file, which can be
automatically e-mailed to the NetBackup administrators, outlines instructions for
performing a catalog restore and identifies the required tapes.
Catalog restores
Catalog restores can be performed from the NetBackup Administration Console or
from the command line. A catalog restore has one prerequisite—that NetBackup
server software is already installed on the machine where the restore is to take
place.
files in a single stream. The files do not remain in the staging directory or
folder; they are deleted automatically.
3 Another child job starts, which backs up the NetBackup catalog files. This
includes the Image database, policies, configuration, and other catalogs on the
master server. This includes the following directories:
– UNIX:
›/usr/openv/netbackup/db
›/usr/openv/var
›/usr/openv/netbackup/vault
›/usr/openv/var/global
CONFIDENTIAL - NOT FOR DISTRIBUTION
378 9–34 Symantec NetBackup 7.5: Install, Configure, and Deploy
Copyright © 2012 Symantec Corporation. All rights reserved.
– Windows:
›install_path\NetBackup\var
›install_path\NetBackup\db
›install_path\NetBackup\vault
9
Note: If you watch a catalog backup in the Activity Monitor, the job details
show the file list as CATALOG_DRIVEN_BACKUP.
4 After the catalog backup completes, the transaction log (NBDB.log) is
truncated to clear database transactions that were backed up.
5 During the next catalog backup, the files in the staging area are overwritten.
Until they are overwritten, they can be used for disaster recovery.
In previous versions of NetBackup, the files in the staging directory were
deleted at the end of the successful catalog backup.
Copyright © 2012 Symantec Corporation. All rights reserved.
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.
Duplication to a remote master supports the ability to create “hub and spoke” data
centers, where remote offices send data to a central location, as well as other DR
models.
corruption occurred and you want to restore to an earlier state of the catalog.
• 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 and after
the recovery.
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.
6 If desired, select a Job Priority and click Next to initiate the recovery of the
entire NetBackup catalog.
When the recovery job is finished, each image file is restored to the proper image
directory, and the NetBackup relational databases (NBDB and optionally
BMRDB) have been restored and recovered.
7 Click Next to continue to the final panel.
/usr/openv/netbackup/bin/admincmd/bprdreq -terminate
/usr/openv/netbackup/bin/bpdbm -terminate
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.
6 Create a symbolic link from /usr/openv/netbackup/db/images to
the new location in the other file system, or alternatively mount the new file
system on the NetBackup images directory.
7 Restart NetBackup services.
9
directory for each client.
For example, if NetBackup is installed in its default location and the client
name is mars, the path to the image database is:
C:\Program Files\VERITAS\NetBackup\db\images\mars\
ALTPATH
On the first line of the ALTPATH file, specify the path to the directory where
you intend to move the client’s image information. For example:
E:\NetBackup\alternate_db\images\client_name
This will be the only entry in the ALTPATH file.
Alternatively, use a Windows junction point to mount the new file system
(which contains all the old image files and directories) on top of the images
directory.
7 Start the NetBackup request manager and NetBackup database manager
services by using the Services tab in the Activity Monitor.
Backups and restores can now resume for the client.
Copyright © 2012 Symantec Corporation. All rights reserved.
Labs and solutions for this lesson are located in the following appendixes:
• Appendix A provides step-by-step lab instructions.
• Appendix B provides complete lab instructions and solutions.
CONFIDENTIAL - NOT FOR DISTRIBUTION
411 Lesson 9 Protecting the NetBackup Configuration
Copyright © 2012 Symantec Corporation. All rights reserved.
9–67
Copyright © 2012 Symantec Corporation. All rights reserved.