NetBackup1011 AdminGuide NAS
NetBackup1011 AdminGuide NAS
NetBackup1011 AdminGuide NAS
Administrator's Guide
Release 10.1.1
NetBackup™ NAS Administrator's Guide
Last updated: 2022-12-14
Legal Notice
Copyright © 2022 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, and NetBackup 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 product may contain third-party software for which Veritas is required to provide attribution
to the third party (“Third-party Programs”). Some of the Third-party Programs are available
under open source or free software licenses. The License Agreement accompanying the
Software does not alter any rights or obligations you may have under those open source or
free software licenses. Refer to the Third-party Legal Notices document accompanying this
Veritas product or available at:
https://www.veritas.com/about/legal/license-agreements
The product described in this document is distributed under licenses restricting its use, copying,
distribution, and decompilation/reverse engineering. No part of this document may be
reproduced in any form by any means without prior written authorization of Veritas Technologies
LLC and its licensors, if any.
The Licensed Software and Documentation are deemed to be commercial computer software
as defined in FAR 12.212 and subject to restricted rights as defined in FAR Section 52.227-19
"Commercial Computer Software - Restricted Rights" and DFARS 227.7202, et seq.
"Commercial Computer Software and Commercial Computer Software Documentation," as
applicable, and any successor regulations, whether delivered by Veritas as on premises or
hosted services. Any use, modification, reproduction release, performance, display or disclosure
of the Licensed Software and Documentation by the U.S. Government shall be solely in
accordance with the terms of this Agreement.
http://www.veritas.com
Technical Support
Technical Support maintains support centers globally. All support services will be delivered
in accordance with your support agreement and the then-current enterprise technical support
policies. For information about our support offerings and how to contact Technical Support,
visit our website:
https://www.veritas.com/support
You can manage your Veritas account information at the following URL:
https://my.veritas.com
If you have questions regarding an existing support agreement, please email the support
agreement administration team for your region as follows:
Japan CustomerCare_Japan@veritas.com
Documentation
Make sure that you have the current version of the documentation. Each document displays
the date of the last update on page 2. The latest documentation is available on the Veritas
website:
https://sort.veritas.com/documents
Documentation feedback
Your feedback is important to us. Suggest improvements or report errors or omissions to the
documentation. Include the document title, document version, chapter title, and section title
of the text on which you are reporting. Send feedback to:
NB.docs@veritas.com
You can also see documentation information or ask a question on the Veritas community site:
http://www.veritas.com/community/
https://sort.veritas.com/data/support/SORT_Data_Sheet.pdf
Contents
Troubleshooting ........................................................................... 36
Setting the log level ...................................................................... 37
Logging directories for Linux platforms ............................................. 37
Logging folders for Windows platforms ............................................. 40
Restore from a snapshot fails with status 133 .................................... 42
Backup from snapshot fails with error 50 .......................................... 43
Backup from snapshot parent job fails with error 4213: Snapshot import
failed ................................................................................... 43
Backup host pool creation fails with the error "Failed to fetch host list"
........................................................................................... 44
Snapshot job fails and the snapshot command does not recognize the
volume name ........................................................................ 44
Accelerator enabled incremental backup of NetApp NAS volume ........... 45
Snapshot method: Auto ................................................................ 45
Backup from snapshot jobs for NAS-Data-Protection policy fail with
error 4213 ............................................................................. 46
■ Chapter 1. Introduction
Chapter 1
Introduction
This chapter includes the following topics:
per configured target. For more details about NDMP policy, see Section 3: Using
NDMP of this guide.
Section 2
Using NAS-Data-Protection
(D-NAS)
■ Chapter 8. Troubleshooting
Chapter 2
D-NAS overview
This chapter includes the following topics:
Table 2-1
Feature Description
Feature Description
■ Maximum number of streams per volume: The value determines the number
of backup streams that are deployed for backing up each volume. For example,
If a policy contains 10 volumes and the value of this parameter is set to 4, then
you see group of 4 backup streams for each volume, thereby total of 40 child
backup streams and 10 parent backup streams as part of backup execution of
the policy.
■ Maximum number of files in a batch: The value determines the maximum
number of files that processed in a single burst by any stream. The files in a
batch are processed sequentially within the stream. For example, Value of 300
for this parameter means that every stream is assigned maximum of 300 files
in a single batch. So if a volume has one million files to be backed up and 4
streams assigned, then every stream is assigned 300 files each to begin with
and then subsequently the streams are fed with 300 more files as and when
they are ready for more backup processing.
Note: If you use cloud as a storage unit, you must configure appropriate buffer size.
Refer to the NetBackup Cloud Administrator's Guide.
not available then the backup operation might fail with the error shown in Activity
Monitor Detailed status.
■ NAS-Data-Protection policy is a snapshot enabled data protection policy. You
can configure only storage lifecycle policy (SLP) against policy's storage
destination. Additionally, the SLP should always have Snapshot as the primary
job and Backup from Snapshot as secondary job.
■ If the NAS-Data-Protection policy is used in a backup host that is running antivirus
software, the parent backup from snapshot job might hang.
The antivirus software may block NetBackup process interactions causing the
processes to hang. In this particular scenario, the nbcs process on the backup
host might hang resulting in the backup-from-snapshot job to hang. Create an
antivirus exclusion for nbcs on the backup host.
To cancel the hung job:
■ Note down the process ID of the nbcs process which is running on the backup
host. This can be obtained from the job details section.
■ Log in to the backup host and manually kill the nbcs process.
■ Refer to the Technote for more details regarding how to exclude the
NetBackup processes from virus scanning:
https://www.veritas.com/support/en_US/article.100004864
■ If the above steps cannot resolve the issue (and the nbcs hang persists),
uninstall the network component from antivirus. On Symantec Endpoint
Protection, this is called the "Network and Host Exploit Mitigation" component.
■ For NAS-Data-Protection policy, multiple images are created for a single volume
that is backed up. The number of images is equal to the value configured for
the Maximum number of streams per volume in the policy. Since a single
image cannot be referred from a single volume, NetBackup groups the images
associated with a volume. When an operation is performed on one of the images
in a volume, the same operation is also performed on the other grouped images
in the volume. For example, if Maximum number of streams per volume is
set as four and you select one image for a volume to expire, the other three
images also expire. The image grouping is applicable for the following operations:
■ Browse and Restore
■ Image expiration
■ Image import
■ Image duplication
■ Image verification
■ Set primary copy
D-NAS overview 18
Limitations and considerations
Note: Image grouping is not applicable for importing images as part of Image
Sharing operation.
■ For SMB backups using NAS-Data-Protection policy the primary, media and
backup host version should be 9.1 onwards.
Note: The Windows domain user must be a part of the local administrative group.
You can create a backup host pool with different versions of NetBackup hosts. You
can create Windows backup host pools only with version 9.0.1 or later. Windows
hosts with a version earlier than 9.0.1 are not displayed.
Note the following important points:
■ In a backup host pool you can either have Linux hosts or Windows hosts only.
A pool does not support hosts with both platforms.
■ All the hosts in the backup host pool must use the same OS version. This way
each host has the same version of NFS for consistent backups.
■ For backup hosts with a multi-NIC setup, add the host name that is already used
on the NetBackup primary server. Do not add an alias name or any other host
names in the backup host pool.
To configure a backup host pool
1 Open the NetBackup Administration Console.
2 Select NetBackup Management > Host Properties > primary server.
3 Double-click on the preferred primary server host name.
Pre-requisites for D-NAS configuration 22
Configuring storage lifecycle policies
Note: You cannot delete a backup host pool, if it is configured with an existing
NAS-Data-Protection policy.
1 Configure the NetBackup Snapshot For more details, refer the Installation and
Manager server in NetBackup Upgrade chapter of the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
Configure D-NAS policy for NAS volumes 24
Setting up a NAS-Data-Protection policy
2 Configure the NAS storage array For more details, refer the Configure
plug-in NetBackup snapshot manager storage array
plug-ins chapter in the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
3 Add the backup hosts to a backup See “Configuring a backup host pool ”
host pool. The backup hosts are on page 21.
responsible for data streaming.
4 Configure the SLP to use snapshot For more details, see Configuring storage
lifecycle policies for snapshots and snapshot
replication chapter in the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
Note: For all the supported NAS storage arrays, refer to the NetBackup Snapshot
Manager section, under Snapshot Solutions in the NetBackup Hardware and Cloud
Storage Compatibility List (HCL).
Note: The Snapshot Type Auto is supported only with backup host version
10.0 onwards.
8 (Optional) To track changes between two snapshots, select the Enable vendor
change tracking for incremental backups check box.
Note: At a given time, you can only use either the Enable vendor change
tracking for incremental backups or the Use Accelerator check-box.
Note: With this setting, the Allow multiple data streams option is also
selected.
Note: At a given time, you can use either Enable vendor change tracking
for incremental backups or the Use Accelerator checkbox.
11 On the Clients tab, from the NAS Vendor list, select the preferred vendor.
12 Click New to add a new client.
Configure D-NAS policy for NAS volumes 26
Ordering of backup from snapshot jobs
14 (Optional) If you want to use volumes that support both NFS and SMB protocol,
select the Include Mixed Volume option.
15 From the Backup Host Pool list, select the preferred pool and click New. If
no backup host pools of the relevant type are available, you can see a dialog
prompting you to create one, click Yes in the dialog to create one.
Note: If Backup host pool contains any backup host older than NetBackup
10.0 and Auto snapshot type is selected, the job may fail.
Note: When a Linux backup host is used to backup an SMB share, the backup of
SMB ACLs does not happen. Only the SMB share data is backed up.
Chapter 5
Using accelerator
This chapter includes the following topics:
■ Independent of storage arrays. Works with all the supported NAS storage arrays.
Linux:
Install_path/NetBackup/db/track/master_server/storage_server/
client/policy_name/backup_selection/S1/
Note: For all the supported NAS storage arrays for replication, refer to the
NetBackup Snapshot Manager section, under Snapshot Solutions in the NetBackup
Hardware and Cloud Storage Compatibility List (HCL).
1 Configure the NetBackup Snapshot For more details, refer the Installation and
Manager server in NetBackup Upgrade chapter of the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
Replication using D-NAS policy 32
Replication using D-NAS policy
2 Configure the NAS storage array For more details, see the Configure
plug-in NetBackup snapshot manager storage array
plug-ins chapter of the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
3 Add the backup hosts to a backup See “Configuring a backup host pool ”
host pool. The backup hosts are on page 21.
responsible for data streaming.
4 Configure the SLP to use snapshot For more details about replication, refer
and replication these chapters in the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide:
Warning: Rollback deletes all files that were created after the creation-date of the
snapshot that you restore. Rollback returns a file system or volume to a given point
in time. Any data changes or snapshots that were made after that time are lost.
Restoring from D-NAS backups 35
Point in time rollback
Also, if there are multiple logical volumes on a single disk or volume group and if
you perform a Point in Time Rollback of a specific logical volume, the entire disk
or volume group is restored to the point in time.
Rollback is available only when you restore the file system or volume to the original
location on the client.
Performing rollback using snapshot:
1 Start the Backup, Archive, and Restore interface.
2 Click the Restore Files tab.
3 Click Actions > Specify NetBackup Machines to specify the server, source
client, policy type, and destination client.
4 For Restore Type, select Point in Time Rollback.
The Browse directory field is grayed out, with root (/) as default.
Instant Recovery backups are displayed in the Backup History window, for
all dates (you cannot set a range).
5 Select an image from the list, and click OK.
The image contents are displayed in the Directory Structure pane of the
Restore Files tab.
6 Select a volume for rollback, click Restore.
Chapter 8
Troubleshooting
This chapter includes the following topics:
■ Troubleshooting
■ Backup from snapshot parent job fails with error 4213: Snapshot import failed
■ Backup host pool creation fails with the error "Failed to fetch host list"
■ Snapshot job fails and the snapshot command does not recognize the volume
name
■ Backup from snapshot jobs for NAS-Data-Protection policy fail with error 4213
Troubleshooting
You can resolve many problems on your own by creating logging directories,
reproducing the problem, and checking the logs. For an in-depth description of
NetBackup logs, refer to the NetBackup Troubleshooting Guide.
For explanations of NetBackup job status codes, refer to the NetBackup Status
codes Reference Guide.
Troubleshooting 37
Setting the log level
Table 8-4 Linux logging directories for single file restore from snapshot
copy
Table 8-4 Linux logging directories for single file restore from snapshot
copy (continued)
Table 8-10 Windows logging directories for index from snapshot operation
Table 8-11 Windows logging directories for single file restore from snapshot
copy
Table 8-12 Windows logging directories for single file restore from point in
time rollback
Table 8-13 Windows logging directories for single file restore from create
replication operation
Table 8-14 Windows logging directories for single file restore from delete
replication operation
The restore fails, if you select a path other than the path mentioned in the backup
selection.
For example, say that the backup selection contains /ifs/vol1/parent/dir1.
During a restore if you select only /ifs/vol1/parent, which is the parent directory
of the path mentioned for backup selection, the restore fails with status code 133.
Workaround
For a successful restore from the snapshot copy, you must select the original path
mentioned in the Backup selections tab; that is /ifs/vol1/parent/dir1 or the
subdirectory or file inside the backup selection.
To overcome this error, check the status of the vserver and whether that vserver
is reachable. Whenever client and vserver connection is established, SLP retry is
successful.
Veritas recommended that you limit the primary volume names to up to 15 characters
to create the VxVM mirror snapshots.
Explanation:
This issue occurs if any one of your backup hosts in the backup host pool is at a
lower version than 10.1.1, and the protected NAS volumes reside on Dell EMC
Unity, Dell EMC PowerStore, or Hitachi NAS storage array.
Workaround:
Remove the backup hosts from the backup host pool that have a lower NetBackup
version than 10.1.1. Alternatively, for these policies, use a different backup host
pool that has only NetBackup 10.1.1 hosts.
Section 3
Using NDMP
■ Chapter 16. Using the Shared Storage Option (SSO) with NetBackup for NDMP
Feature Description
Support for NDMP protocol Supports the NDMP protocol versions V2, V3, and V4.
Centralized backup policy Scheduling, catalog management, and other backup tasks are managed from a
management NetBackup primary server. NetBackup for NDMP can be installed on a NetBackup
primary or media server.
Accelerator for NDMP NetBackup's Accelerator option makes NDMP backups for NetApp and Isilon filers run
faster than normal NDMP backups. NetBackup Accelerator increases the speed of full
backups by using the filer's change detection techniques to identify the modifications
that occurred since the last backup. More information about the feature is available:
Support for NetApp cDOT NetBackup for NDMP supports NetApp clustered Data on Tap (cDOT) filers. More
filers information about configuring NetBackup to work with NetApp cDOT filers is available:
See “Using the Device Configuration Wizard to configure an NDMP filer” on page 86.
Support for wildcards in Wildcard characters in regular expressions or directives are valid for streaming and
NDMP backup policy non-streaming NDMP backups.
selections
Device and media NetBackup software provides complete management and control of the devices and
management media that are used for backups and restores of NDMP hosts. The NetBackup Device
Configuration Wizard discovers and configures the storage devices that are attached
to an NDMP host. (This function requires NDMP protocol V3 or V4.) Note that
wizard-based discovery depends upon a number of device-specific features, such as
SCSI inquiry and serialization, which some NAS vendors may not support.
High-speed local backup of Backup data travels between the disk drives and tape drives that are directly attached
NDMP hosts to the same NDMP host. This transfer provides high-speed backup but does not slow
network throughput.
Introduction to NetBackup for NDMP 50
About NetBackup for NDMP
Feature Description
Backup of network-attached Backup data travels across the network from a disk on an NDMP host to tape on another
NDMP hosts to a tape NDMP host. This backup is referred to as a three-way backup. This data movement
device on another NDMP option requires support from the NAS/NDMP host.
host or to advanced tape
libraries with an embedded
NDMP server
Backup of a Backup data travels across the network from a disk on an NDMP host to tape on a
network-attached NDMP NetBackup media server. This backup is a form of three-way backup also known as
host to a tape device on a remote NDMP. This feature supports NDMP V2, V3, and V4 on the NDMP hosts.
NetBackup media server
Shared tape libraries Tape libraries can be shared between NDMP hosts and NetBackup servers or between
multiple NDMP hosts. Robotic control can be on an NDMP host or on a NetBackup
server.
Shared tape drives with the Tape drives can be shared between servers (both NetBackup servers and NDMP hosts).
Shared Storage Option This setup requires the Shared Storage Option (SSO) license.
For a list of the features and software releases for each NAS vendor, for SSO support,
and for the NetBackup versions that support these vendors, see the NetBackup
Compatibility List for all Versions.
Snapshots of data on NDMP NetBackup can take point-in-time data snapshots on an NDMP (NAS) host without
hosts interrupting client access to data, using the NDMP V4 snapshot extension. The snapshot
is stored on the same device that contains the NDMP client data. From the snapshot,
you can restore individual files or roll back a file system or volume by means of Snapshot
Client Instant Recovery. A NetBackup Snapshot Client license is required, in addition
to the NetBackup for NDMP license. This Snapshot Client feature uses the
NAS_Snapshot method and the NDMP method.
For more information about the Snapshot Client, refer to NetBackup Snapshot Client
Administrator’s Guide. For more information about the NDMP snapshot method, refer
to the NetBackup Replication Director Solutions Guide
NDMP DirectCopy NetBackup can copy virtual tape library (VTL) images directly from the VTL to physical
tape or to another VTL. This function occurs without using media server I/O resources
or network bandwidth. NetBackup can copy NDMP backup images directly from one
NDMP-attached tape drive to another NDMP tape drive that is attached to the same
NDMP host. Note that the operation does not use media server I/O.
Note: The VTL must have an embedded NDMP tape server.
Direct Access Recovery For NDMP hosts that support DAR, this feature greatly reduces the time to restore a
(DAR) directory, a single file, or a small number of files.
Introduction to NetBackup for NDMP 51
About NetBackup for NDMP
Feature Description
Path-based file history The NDMP server can send catalog information consisting of complete path names to
NetBackup. Some vendors do not support this feature. Up-to-date information is available
on the vendors that support path-based history. For a list of the features and software
releases for each NAS vendor, for SSO support, and for the NetBackup versions that
support these vendors, see the NetBackup Compatibility List for all Versions.
Support for NetBackup for The NetBackup for NDMP servers are supported in a NetBackup-clustered environment.
NDMP servers in a
NetBackup-clustered
environment
Enhanced ability to run The enhanced ability to run customized scripts during a backup, especially for relational
customized scripts during a databases residing on NAS devices.
backup
NDMP multiplexing NDMP multiplexing enables NDMP backups to be multiplexed to Media Manager storage
units. Only remote NDMP multiplexing is supported.
NDMP to disk NetBackup can write NDMP backups to disk storage units.
IPv6 support NDMP supports 128-bit IPv6 address data connections in addition to the 32-bit IPv4
address data connections. NDMP data connections are made between filers or between
a NetBackup media server and a filer that is used to transfer the backup image. By
default the NetBackup media server is enabled for IPv6 data communication.
Consider the following general items when using NDMP IPv6 address data connections.
NDMP support for NDMP support for Replication Director enables NetBackup to use NDMP for the following
Replication Director functions: backup from snapshots, restore from snapshot backups, live browse snapshots,
and restore from snapshots (for copy back method).
For more information about Replication Director, refer to the NetBackup Replication
Director Solutions Guide.
Term Definition
DAR (Direct Access DAR is an optional capability of NDMP data and tape services
Recovery) where only relevant portions of the secondary media are
accessed during recovery operations. The NDMP host
positions the tape to the exact location of the requested file(s),
reading only the data that is needed for those files. Restore
times can be reduced from hours to minutes.
NetBackup for NDMP server A NetBackup for NDMP server is a NetBackup primary or
media server on which NetBackup for NDMP software is
installed.
NDMP host An NAS system that serves files to clients using HTTP, FTP,
CIFS, or NFS protocols. It also runs an NDMP server
application that communicates with NDMP client backup
software to configure and perform backup and restore tasks.
NAS systems provide fast, multi-protocol file access and cost
effective data storage to workstations and servers in the
network or across the Internet.
Term Definition
NDMP server application An NDMP server application runs on an NDMP host and runs
backup, restore, and device control commands that it receives
from an NDMP-conformant backup application. The backup
application (NetBackup) is considered an NDMP client. A
separate instance of an NDMP server process exists for each
connection to an NDMP client. That is, if two backups are in
progress, an NDMP server process exists for each backup.
NDMP storage unit An NDMP storage unit stores the backup data for an NDMP
host. The tape drives in this storage unit attach directly to the
NDMP host or can be configured on a SAN. Note that NDMP
storage units cannot be used to store data for non-NDMP
hosts, and NetBackup disk storage units cannot be used for
NDMP tasks.
Redirected restore (to a In a redirected restore, files are restored to a client other than
different client) the one from which they were originally backed up. In
NetBackup for NDMP, the restore data travels from an NDMP
host (or NetBackup media server) with a locally attached
storage device to another NDMP host on the network.
Remote NDMP A form of three-way backup and restore also known as NDMP
backup to Media Manager storage units. Data travels from
an NDMP host to a tape drive that is attached to a NetBackup
media server.
See “Configuring NDMP backup to Media Manager storage
units” on page 109.
Virtual Tape Library (VTL) A virtual tape library is a storage system that uses disk-based
technology to emulate a tape library and tape drives. For
secondary storage, NetBackup can copy VTL images directly
to a physical tape or to another VTL by means of NDMP
DirectCopy.
Introduction to NetBackup for NDMP 54
About Network Data Management Protocol (NDMP)
The NetBackup for NDMP server acts as NOTE: NetBackup software is NOT installed
an NDMP client. on NDMP hosts.
NDMP
host
NetBackup for
NDMP server
FC/SAN
NDMP NDMP
host Host
NetBackup for
NDMP server
FC/SAN
NOTE: The NetBackup drive(s) must be in Media Manager type storage units.
The data can be restored to the NDMP host where it was backed up, or to another
NDMP host.
NDMP policies can use either NDMP storage units or Media Manager storage units.
■ Tape drives 2 and 4 are attached to a NetBackup server. They are in non-NDMP
storage units and are controlled in the same way as other drives on NetBackup
servers. Depending on the type of storage unit, these drives can be used for
the following:
■ Non-NDMP clients of NetBackup
■ In the case of tape drives in Media Manager storage units, they can be used
for both NDMP (local or three-way) and non-NDMP backups.
In the following figure, all of the tape drives are used for NDMP backup except
drive 4.
Drive 1*
Drive 5*
Drive 2†
Drive 3*
Drive 4‡
TLD
Robot
The following figure shows how NetBackup sends commands over the network to
the NDMP host, which in turn sends them to the robot.
Commands to control
robot
NetBackup NDMP
For host
NDMP
server
Robotic
control
Robot
The following figure shows how the robot is controlled in the same way as the other
robots on NetBackup servers.
NetBackup NDMP
server host
Commands to control
robot
Robotic
control
Robot
■ From the Enterprise Media Manager (EMM), NetBackup obtains a media ID for
the tape that is used for the backup. It then sends a tape-mount request to ltid.
■ ltid on the NetBackup for NDMP server sends the necessary NDMP (SCSI
robotic) commands to mount the requested tape on the storage device.
■ NetBackup sends the NDMP commands that are necessary to have the NDMP
server application perform a backup to the tape. The backup data travels in one
of two ways:
■ Between the local disk and tape drives on an NDMP host.
■ Over the network, data travels from an NDMP host without its own storage
device to an NDMP host (or NetBackup media server) with a locally attached
storage device (three-way back up).
■ The NDMP server application sends information to the NetBackup for NDMP
server about the files that were backed up. This information is stored in the
NetBackup file database.
■ The NDMP server application sends status about the backup operation to the
NetBackup for NDMP server.
The following figure shows the NetBackup processes that are involved in the NDMP
backups.
Introduction to NetBackup for NDMP 62
About the NDMP restore process
nbproxy
EMM
database nbjm
nbemm nbrb
Media Server
ta
log
bpbrm
ati
n o
Network
Connection
bptm ndmpagent
t
ues
e Req
Tap “3-way”
ltid NDMP Host NDMP Host
OS OS
Tape
Disk Disk
Local
the administrator browses the file catalog and selects files from NDMP images in
the same manner as for standard backup images.
The following events occur during a restore, in this order:
■ The NetBackup for NDMP server looks in its Enterprise Media Manager (EMM)
database for the tape that contains the backup, and asks ltid to mount that
tape.
■ ltid on the NetBackup for NDMP server sends the necessary NDMP commands
to load the requested tape on the storage device.
■ NetBackup sends the NDMP commands that are necessary to have the NDMP
server application perform a restore operation to the disk. The restore data
travels in one of two ways:
■ From a tape drive to a local disk (tape drive and disk are on the same NDMP
host)
■ Over the network, from an NDMP host (or NetBackup media server) with a
locally attached storage device to another NDMP host (three-way backups
or restores)
■ The NDMP server application sends status about the restore operation to the
NetBackup for NDMP server.
The following figure shows the NetBackup processes involved in NDMP restores.
Introduction to NetBackup for NDMP 64
About Direct Access Recovery (DAR)
bprd is on the
primary server bprd
NetBackup Primary or
Media Server bpcd
This server has
NetBackup for NDMP.
bpbrm
Network
EMM NetBackup Media ID Connection
database bptm ndmpagent
t
ues
e Req
Tap
“3-way”
ltid
NDMP Host NDMP Host
NDMP Server NDMP Server
OS OS
Disk Disk
Tape
Local
The following prerequisites are necessary for using DAR with NetBackup for NDMP:
■ The NDMP host must support DAR where the NDMP server application resides.
■ NetBackup 4.5 GA or later, with the catalog in binary format (binary format is
the default).
Further details are available as to when DAR is used and how to disable it.
See “About enabling or disabling DAR” on page 105.
Note: The Index From Snapshot operation is not supported for NetApp ONTAP
7-mode.
■ When you make changes to the NDMP policy after the last full or incremental
schedule (for example, if you add or delete a backup selection), the content for
the next incremental retrieves the entire content of the snapshot rather than
retrieving only the content that has changed. The next incremental schedule
however, after only retrieves content that has changed as expected.
Term Definition
Term Definition
Data LIF Specifies the data logical interface (LIF) that is associated
with the Vserver.
Intercluster LIF Specifies a logical interface (LIF) that is used for intercluster
communication.
Note: The NetApp Infinite volumes can be backed up and restored by using the
standard policy types.
Introduction to NetBackup for NDMP 69
About NDMP support for NetApp clustered Data ONTAP (cDOT)
Note: There should be at least one intercluster LIF for each node of the cluster that
does not host a cluster-management LIF. This is required for three-way and remote
backups. If you do not specify an intercluster LIF, all of the three-way and remote
backups for volumes that are not hosted on the same node as the
cluster-management LIF fail. NetBackup does not access these LIFs directly, so it
does not need credentials for them.
Chapter 10
Installation Notes for
NetBackup for NDMP
This chapter includes the following topics:
Note: If your NetBackup for NDMP server is not your primary server, install your
NDMP license on the primary server.
In a clustered environment, perform the steps to add the license on each node
in the cluster. First, freeze the active node so that migrations do not occur during
installation. Unfreeze the active node after the installation completes. For
information about freezing or unfreezing a service group, see the clustering
section in the NetBackup High Availability Administrator’s Guide for the cluster
software you are running.
Installation Notes for NetBackup for NDMP 71
Adding the NetBackup for NDMP license key on UNIX servers
Note: NetBackup for NDMP cannot be uninstalled separately from the full
NetBackup product.
If you uninstall the full NetBackup product, make sure that no NetBackup for
NDMP backups are active or running for the client. On the primary server, check
the Activity Monitor in the NetBackup Administration Console. If the Job
State for the backups indicates Done, you can then perform the uninstall
procedure that is described in the NetBackup Installation Guide.
■ For lists of supported operating systems, hardware platforms, and NAS vendor
features and software releases, see the NetBackup Compatibility List for all
Versions.
For a list of NAS platforms that NetBackup for NDMP supports, see the
NetBackup for NDMP: NAS Appliance Information document.
■ The drives and robots that are attached to the NDMP host must be the types
that the NDMP host and NetBackup support. A list of supported robot types is
available.
See “About robotics control” on page 59.
For more information about storage devices, see the NetBackup Administrator’s
Guide, Volume I.
Note: If you install in a clustered environment, first freeze the active node so that
migrations do not occur during installation. For information about freezing a service
group, see the clustering section in the NetBackup High Availability Administrator’s
Guide for the cluster software you are running.
Installation Notes for NetBackup for NDMP 72
Adding the NetBackup for NDMP license key on Windows servers
Note: If you install in a clustered environment, first freeze the active node so that
migrations do not occur during installation. For information about freezing a service
group, see the clustering section in the NetBackup High Availability Administrator’s
Guide for the cluster software you are running.
After you upgrade to NetBackup 7.7 or later, everything works as it did before the
upgrade until you enable the NetBackup cDOT capabilities by disabling node-scope
mode.
Installation Notes for NetBackup for NDMP 74
About existing NetApp cDOT configurations before you upgrade
3. Upgrade all of the NetBackup media servers that are authorized to access the
cluster. Upgrades do not have to occur at the same time, but must be done
before the following step.
4. Enable the Vserver aware mode on the cluster by disabling node-scope-mode.
Please see your specific cluster documentation.
5. If there are tape devices attached to the cluster, you must reconfigure your
tape devices to use the cluster-management LIF as the NDMP host for the
device configuration. See “About Media and Device Management configuration”
on page 82.
Caution: NetBackup only supports the use of the cluster-management LIF for
device configurations.
Note: For each node in the cluster that will have tape devices, be sure to
configure all of the tape devices available to the cluster on that node. Any node
that has access to a tape device should also have access to all of the tape
devices.
6. Enable the NDMP service on the cluster for each data LIF that will be used for
backups. See the NetApp documentation for more information.
7. Authorize the data LIF as needed for NetBackup access.See “Authorizing
NetBackup access to a NAS (NDMP) host” on page 79.
8. Add, delete, or update the old storage units that are using the node names of
the cluster.
9. Add, delete, or update the old policies that back up the cluster.
■ You must use either the data LIF or the cluster-management LIF as the
client name. NetBackup does not support use of the node name for the
client name.
■ Backup selections may also need to be adjusted.
Installation Notes for NetBackup for NDMP 75
About existing NetApp cDOT configurations before you upgrade
Note: The use of the data LIF as a client will protect and catalog all volumes
associated with the data LIF's Vserver under this client. The use of the
cluster-management LIF as a client will protect and catalog all volumes on the
entire cluster under this client.
10. To read the old images, you may have to use alternate client restore. For more
information about alternate client restores, see the NetBackup Administrator's
Guide for UNIX, Windows, and Linux, Volume I
If your NetApp cluster is set to Vserver aware mode, and you have not yet installed
NetBackup 7.7 or later, your environment should be set up as follows before the
upgrade:
■ The cluster is in Vserver aware mode. The Cluster Aware Backup (CAB)
extension is enabled on the filer. NetBackup does not use the CAB extension.
■ The client name used in the backup policy is the data LIF associated with a
Vserver or the cluster-management LIF.
■ Only volumes (that belong to the Vserver) hosted by a node that hosts the data
LIF are available for backup or restore.
■ The tape devices that are attached to the cluster are not available for backup
or restore.
After you upgrade to NetBackup 7.7 or later, the behavior is different and you need
to make some changes. NetBackup now uses the CAB extension and enables it
by default. Because of this, the following occurs:
■ NetBackup uses all of the volumes that belong to the Vserver.
■ NetBackup uses the volume affinities.
As a result of this change, the following occurs:
■ When the ALL_FILESYSTEMS directive is in use by multiple policies for the same
Vserver, NetBackup may back up the same volume multiple times under different
policies. And further incremental backups may not be reliable.
■ Multi-streamed backup jobs will start failing with status code 99. The following
message is displayed in the job details for the failed jobs:
This happens because some components of NetBackup are not told to use the
cluster in the Vserver aware mode. It is highly recommended to upgrade and
enable the cDOT capabilities as soon as possible.
To start using the cDOT capabilities, you must do the following:
Installation Notes for NetBackup for NDMP 76
About existing NetApp cDOT configurations before you upgrade
5. You can now add devices to the NDMP cluster and access them using the
cluster-management LIF. If you add devices, you must discover the devices.
6. Add storage units for the newly discovered devices.
7. Add, delete, or update the policies that reference the cluster as needed. Start
using the cluster in Vserver aware mode.
If you do not want to enable the cDOT functionality immediately; for example, you
want to upgrade the media servers in phases, you can disable the cDOT capabilities
by doing the following:
1. Create the following touch file on all of the media servers that are authorized
to access the NDMP host. This causes NetBackup to disable the CAB extension
for all of the NDMP hosts for that media server.
■ On Windows: install_path\NetBackup\db\config\DISABLE_NDMP_CDOT
■ On UNIX: /usr/openv/netbackup/db/config/DISABLE_NDMP_CDOT
Installation Notes for NetBackup for NDMP 77
About existing NetApp cDOT configurations before you upgrade
2. You can disable the CAB extensions for specific NDMP hosts by creating the
following file on the media servers with one or more NDMP host names (one
per line):
■ On Windows:
install_path\NetBackup\db\config\DISABLE_NDMP_CDOT_HOST_LIST
■ On UNIX:
/usr/openv/netbackup/db/config/DISABLE_NDMP_CDOT_HOST_LIST
An example of the content of the file is as follows. NetBackup disables the
CAB extension only for Filer_1 and Filer_2.
Filer_1
Filer_2
To enable the cDOT functionality, these files must be deleted and you must
follow all of the steps explained in the previous upgrade procedure.
Chapter 11
Configuring NDMP backup
to NDMP-attached devices
This chapter includes the following topics:
Note: Perform the following procedure on the primary server (not media server) if
you plan to create snapshots using Replication Director.
3 In the Add NDMP Host dialog box, enter the name of the NDMP server for
NetBackup to back up.
If you are using NetApp's Clustered Data ONTAP, the NDMP host must be a
Storage Virtual Machine (SVM).
The NDMP host name is case-sensitive. The name must match the name that
is entered here whenever this host name is used.
Note: If you do not plan to use Replication Director and you add NDMP host
credentials using the fully qualified domain name (FQDN), you must also
indicate the fully qualified domain name on the client for lookups. That is, the
server list in the Backup, Archive, and Restore client interface must list the
NDMP host by the FQDN as well.
If you add NDMP host credentials using a short name, you can use either the
short name or the FQDN in the client server list.
4 Click OK.
5 In the New NDMP Host dialog box, specify the following:
(The term credentials refers to the user name and password that NetBackup
uses to access the NDMP host.)
Use the following Enables all NetBackup media servers that are connected
credentials for this NDMP to the NDMP host to access the NDMP host using the
host on all media servers logon you specify:
Use different credentials for Specifies NDMP logons for particular NetBackup
this NDMP host on each servers. Then click Advanced Configuration.
media server
■ In the Advanced NDMP Credentials dialog box,
click Add.
■ In the Add Credentials dialog box, select a
NetBackup server and specify the user name and
password it uses to access the NDMP host.
■ Click OK. NetBackup validates the user name and
password.
■ The NetBackup server and user name appear in the
Advanced NDMP Credentials dialog box.
■ If necessary, click Add again to specify other servers
and user
6 Repeat this procedure for each NDMP host that NetBackup backs up.
See “About configuring NDMP-attached devices” on page 79.
■ NDMP to Media Manager storage units (remote NDMP); for the NDMP host
name, specify the NDMP host to back up to the Media Manager storage unit
that is defined on the NetBackup server.
See “About remote NDMP” on page 108.
See “About configuring NDMP-attached devices” on page 79.
The following procedures and examples treat NDMP configuration issues only.
■ See “Using the Device Configuration Wizard to configure an NDMP filer”
on page 86.
■ See “Adding a robot directly attached to an NDMP host” on page 83.
■ See “Adding a tape drive” on page 84.
■ See “Checking the device configuration” on page 85.
See the NetBackup Administrator's Guide for UNIX, Windows, and Linux, Volume
I, for general information on configuring NetBackup media.
More information on configuring storage devices for specific NDMP hosts is available.
■ For information about supported NDMP operating systems and NAS vendors,
access NetBackup for NDMP: NAS Appliance Information from the Veritas
Technical Support website. The topic also contains configuration and
troubleshooting help for particular NAS systems:
http://www.veritas.com/docs/000027113
■ For a list of the features and software releases for each NAS vendor, for SSO
support, and for the NetBackup versions that support these vendors, see the
NetBackup Compatibility List for all Versions.
These procedures do not apply to setting up the devices that are attached to the
NetBackup media server. To back up NDMP data to media servers, you must
Configuring NDMP backup to NDMP-attached devices 83
About Media and Device Management configuration
/usr/openv/netbackup/bin/jnbSA &
2 Expand Media and Device Management > Devices in the left pane.
3 On the Actions menu, select New. Then select New Robot from the pop-up
menu.
Configuring NDMP backup to NDMP-attached devices 84
About Media and Device Management configuration
Media Manager host Specify the host that manages the Enterprise Media Manager
(EMM) data in the NetBackup database. (By default, this host
is the NetBackup primary server.)
Device host Use the pull-down to select the NetBackup media server.
Robot device path Enter the device name of the robot. You do not need to include
the NDMP host name as part of the device path.
NDMP host name Enter the name of the NDMP host to which the robot is
attached
Bus, Target, and LUN Specify these values if the NDMP host requires them. By
values default, the bus, target, and LUN values are 0.
For further assistance with the Add Robot dialog box, refer to the online Help.
The following steps explain the portions that are unique to configuring
NetBackup for NDMP.
5 Click OK.
6 In the pop-up message that asks if you want to stop and restart the device
manager service (or daemon), click Yes.
See “About configuring NDMP-attached devices” on page 79.
5 In the Add Path dialog box, select the host and the path information as follows:
Device host Select the name of the NetBackup media server. Use the pull-down
to select media servers already defined, or click Add to enter a
new one.
Path Enter the device file name of the tape drive, such as nrst2a. Refer
to the NAS vendor documentation for your drive for the correct
format of the device file name.
■ Verify that ltid, vmd, avrd, and any required robotic daemons processes
are active.
3 Under Device Hosts, put a check by the NetBackup media server that accesses
the NDMP host.
4 Select the server name and click Change.
Configuring NDMP backup to NDMP-attached devices 88
Using the Device Configuration Wizard to configure an NDMP filer
5 In the Change Device Host window, place a check beside NDMP server, then
click OK.
In the Device Hosts window, NDMP is now listed in the Optional Devices to
be Scanned column for the media server.
6 Click Next to display the NDMP Hosts panel.
7 To add a new NDMP host, click New. The following window appears:
Configuring NDMP backup to NDMP-attached devices 89
Using the Device Configuration Wizard to configure an NDMP filer
8 Enter the new NDMP host name and click OK. The NDMP Host Credentials
window appears.
Configuring NDMP backup to NDMP-attached devices 90
About adding volumes
9 Select Use the following credentials for this NDMP host on all media
servers. Enter the User name and password for the desired NDMP filer.
For information about credentials for your specific NDMP filer, refer to the
NetBackup for NDMP: NAS Appliance Information from the Veritas Technical
Support website:
http://www.veritas.com/docs/000027113
The Scanning Hosts window appears. NetBackup scans the host to discover
all attached tape and disk devices. When completed, the Scanning Hosts
window looks like the following example:
The NDMP-type storage units are not used for backups to devices that are attached
to NetBackup media servers. Use a non-NDMP storage unit instead.
See “About remote NDMP” on page 108.
To add NDMP storage units
1 In the NetBackup Administration Console, select NetBackup Management
> Storage.
2 On the Actions menu, select New > New Storage Unit.
3 In the New Storage Unit dialog box, enter the following:
Storage unit name Enter a unique name for the storage unit.
On demand only Specify whether the storage unit is available only when a policy
or schedule specifically requests it. If this option is not used,
the storage unit is available to any NDMP policy or schedule.
Storage Device Select the type of device for this storage unit.
NDMP Host Specify the NDMP host; for NetApp cDOT systems, you must
specify a cluster-management LIF. NetBackup does not support
any other LIF type as the NDMP host name for storage device
configuration.
Media server Select the media server associated with this storage unit.
Maximum concurrent Select the maximum number of drives for concurrent writing.
write drives
Reduce fragment Enter the minimum fragment size for this storage unit.
size to
Enable multiplexing Enter 1 as multiplexing is not allowed with NDMP storage units.
Maximum streams Select the maximum number of data streams to use with NDMP
per drive multiplexing.
Note: You must select at least two data streams.
Note: You can use the Backup Policy Configuration Wizard to create NDMP
policies.
Creating an NDMP policy is very similar to creating other NetBackup policy types.
The following topics explain the differences when creating NDMP policies.
■ See “Attributes tab options for an NDMP policy” on page 93.
■ See “Schedules tab options for an NDMP policy with Accelerator for NDMP
enabled” on page 94.
■ See “Clients tab options for an NDMP policy” on page 95.
■ See “Backup selection options for an NDMP policy” on page 95.
■ See “About appropriate host selection for NetApp cDOT backup policies”
on page 103.
See the NetBackup Administrator’s Guide, Volume I, for more information on
NetBackup policies and the Policy utility.
To configure an NDMP policy for the NDMP Snapshot and Replication method, see
the NetBackup Replication Director Solutions Guide.
To configure a policy for the NAS_Snapshot method, see the NetBackup Snapshot
Client Administrator’s Guide.
Policy Storage Unit ■ To direct backups for this policy to a specific storage unit if the
NDMP host has multiple storage units, specify that storage unit
name.
■ For policies that use Accelerator for NDMP, the storage unit
groups are supported only if the storage unit selection in the
group is Failover. See the Use Accelerator attribute.
■ For a three-way backup , specify a storage unit that was defined
for the target NDMP host with attached tape.
■ For NDMP backup to Media Manager storage units, specify a
Media Manager storage unit that is defined for a device that is
connected to a NetBackup media server.
See “About remote NDMP” on page 108.
Use Accelerator Select Use Accelerator to enable Accelerator for NDMP. See the
Policy Storage Unit attribute.
Replication Director Select the Replication Director to configure an NDMP policy for
Replication Director.
Schedules tab options for an NDMP policy with Accelerator for NDMP
enabled
In the schedules list under the Attributes tab, the following parameter is optional
for an NDMP policy with Accelerator for NDMP enabled.
Configuring NDMP backup to NDMP-attached devices 95
About creating an NDMP policy
Acclerator forced Select this option to enable an Accelerator forced rescan. This
rescan option is available only for the NDMP policies that use Accelerator
for NDMP.
Hostname Name of the NDMP host. If you use a NetApp cDOT system, the
NDMP host name can only be a Vserver (a data LIF or a
cluster-management LIF). NetBackup does not support any other
LIF type as the NDMP host name.
Hardware and NDMP NDMP. If you use a NetApp cDOT system, NetBackup
operating system changes the operating system name from NDMP to cDOT.
/vol/home/dir1/
/vol/vol1
If you have a Windows primary server or media server, you cannot specify a directory
that contains unsupported characters in its name. For example, Windows does not
support the following characters in file and folder names and therefore they cannot
be used in backup selection specifications:
■ ~ (tilde)
Configuring NDMP backup to NDMP-attached devices 96
About creating an NDMP policy
■ # (number sign)
■ % (percent)
■ & (ampersand)
■ * (asterisk)
■ [ ] (braces
■ / (backslash)
■ : (colon)
■ < > (angle brackets)
■ ? (question mark)
■ \ (slash)
■ | (pipe)
■ " (quotation mark)
Refer to your Windows documentation for a complete list of unsupported characters.
You can also use wildcard characters in regular expressions or the directive
ALL_FILESYSTEMS to specify path names in NDMP policy backup selections.
See “Wildcard characters in backup selections for an NDMP policy” on page 96.
See “ALL_FILESYSTEMS and VOLUME_EXCLUDE_LIST directives” on page 99.
See “About environment variables in the backup selections list” on page 101.
See “About configuring NDMP-attached devices” on page 79.
Wildcard characters in regular expressions or directives are valid for streaming and
non-streaming NDMP backups.
Configuring NDMP backup to NDMP-attached devices 97
About creating an NDMP policy
Note: Directory-level expansion is not supported for some NDMP servers. Some
NDMP filer vendors do not have the APIs that NetBackup uses to support wildcard
characters lower than the volume level.
If you specify a backup selection using wildcard characters lower than the volume
level for these filers, status code 106 is generated. The following message is
displayed: Invalid file pathname found, cannot process request.
Currently, only NetApp filers support wildcard characters for backup selections
lower than the volume level. This support is not available in NetApp clustered Data
ONTAP version 8.2.
To see the versions of NetApp Data ONTAP that support wildcard characters for
backup selections lower than the volume level, refer to the NetBackup Compatibility
List for all Versions.
You cannot use any wildcard characters that also match file names. For example,
a backup selection might include /vol/vol_archive_01/autoit*. This specification
might match a path name such as /vol/vol_archive_01/autoit_01/. However,
if this specification also matches a file name like
/vol/vol_archive_01/autoit-v1-setup.exe, the backup job fails with status
code 99 because wildcards can specify only path names. The following message
is displayed: NDMP backup failure (99).
Table 11-1 Valid wildcard characters for NDMP policy backup selections
/vol/vol_archive_*
This form of the path specification matches all paths that begin with the literal characters
/vol/vol_archive_ and end with any characters.
The string match wildcard can also specify multiple variable characters between literal
characters as in the following examples:
/vol/ora_*archive or /vol/ora_*archive*
/vol/ora_vol/qtree_*archive or /vol/ora_vol/qtree_*archive*
/fs?
This path specification matches all paths that begin with the literal characters /fs and
end with any single character. For example, /fs1,/fs3, /fsa, /fsd and so on match
the specified pattern /fs?.
Configuring NDMP backup to NDMP-attached devices 98
About creating an NDMP policy
Table 11-1 Valid wildcard characters for NDMP policy backup selections
(continued)
/fs[1-9]
This path specification matches all paths that begin with the literal characters /fs and
end with any single numeric character from 1 through 9. For example, /fs1,/fs2,
and so on up to /fs9 match the specified pattern /fs[1-9]. However, /fs0 and
/fsa do not match the specified pattern; 0 is out of the specified numeric range, and
a is a non-numeric character.
The pattern match wildcard can also specify alphanumeric patterns such as
/fs[1-5a]. This specification matches /fs1, /fs2, and so on up to /fs5 as well
as /fsa.
Similarly, the pattern match wildcard can also specify patterns like /fs[a-p4]. This
specification matches /fsa, /fsb, and so on up to /fsp as well as /fs4.
You must use multiple backup selection specifications if the pattern can match more
than 10 volume names in a numeric series. For example, you may want to back up
110 volumes that begin with the literal characters /vol/ndmp and are numbered 1
through 110. To include these volumes in a backup selection with wildcards, specify
three backup selections with the following wildcard patterns:
■ /vol/ndmp[0-9]
This pattern matches any volume name that begins with /vol/ndmp and ends
with a single numeric character 0 through 9.
■ /vol/ndmp[0-9][0-9]
This pattern matches any volume name that begins with /vol/ndmp and ends
with the two-digit numeric characters 00 through 99.
■ /vol/ndmp[0-9][0-9][0-9]
This pattern matches any volume name that begins with /vol/ndmp and ends
with the three-digit numeric characters 000 through 999.
{...} Curly brackets can be used in the backup selection list and the
VOLUME_EXCLUDE_LIST directive for NDMP policies.
A pair of curly brackets (or braces) indicates multiple volume or directory name patterns.
Separate the patterns by commas only; no spaces are permitted. A match is made for
any or all entries.
For example:
{*volA,*volB} or {volA*,volB*}
Configuring NDMP backup to NDMP-attached devices 99
About creating an NDMP policy
Note: The following examples use selections that are specific to NetApp Data
ONTAP 7-mode. For specific examples of backup selections for other configurations,
refer to the appropriate documentation.
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01
ALL_FILESYSTEMS
or
Configuring NDMP backup to NDMP-attached devices 100
About creating an NDMP policy
VOLUME_EXCLUDE_LIST=/vol/testvol*
ALL_FILESYSTEMS
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01,/vol/testvol*
ALL_FILESYSTEMS
You can also specify more than one VOLUME_EXCLUDE_LIST statement with an
ALL_FILESYSTEMS directive. For example:
VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01
VOLUME_EXCLUDE_LIST=/vol/testvol*
ALL_FILESYSTEMS
VOLUME_EXCLUDE_LIST=/vol/vol0
ALL_FILESYSTEMS
virtual copies or pointers to actual volumes and as such do not need to be backed
up.
■ If you must back up all volumes on a secondary filer, it is recommended that
you exclude the FlexClone volumes as well as replicated volumes. For example:
VOLUME_EXCLUDE_LIST=/vol/Clone_*
VOLUME_EXCLUDE_LIST=/vol/*_[0-9]
VOLUME_EXCLUDE_LIST=/vol/*_[0-9][0-9]
VOLUME_EXCLUDE_LIST=/vol/*_[0-9][0-9][0-9]
ALL_FILESYSTEMS
This example assumes all FlexClone volumes and only FlexClone volumes
begin with /vol/Clone_. Adjust the volume specifications appropriately for your
environment.
■ VOLUME_EXCLUDE_LIST applies only to ALL_FILESYSTEMS. It does not apply to
explicit backup selections or wildcard-based backup selections.
If you use the ALL_FILESYSTEMS directive in an NDMP policy for Clustered Data
ONTAP, you must exclude each selected SVM's root volume using the
VOLUME_EXCLUDE_LIST directive. Otherwise the backups fail.
Backups from snapshots for NDMP policies fail when the import of a snapshot fails
for volumes where logical unit numbers (LUNs) reside with status code 4213
(Snapshot import failed). To avoid this error, use the VOLUME_EXCLUDE_LIST
directive to exclude any volumes that are used to create LUNs accessed through
a storage area network (SAN).
For Isilon filers only, note the following behaviors with environmental variables:
■ With Isilon filers, if you set the HIST environment variable in a NetBackup
NDMP backup policy with Accelerator enabled, you may specify only the
value D (that is, SET HIST=D). D specifies a directory/node file history format.
If you specify any other value for the HIST variable, NetBackup generates a
message that asks you to change the value to D. If you do not use a HIST
variable in the policy, the backup should complete successfully.
■ If you change any of the variables in a NetBackup NDMP backup policy with
Accelerator enabled, the Accelerator optimization will be 0% until you run a
second full backup with the same variables. When the policy's variables
change, a new baseline image is created with the first full backup. You will
see Accelerator optimization only after the second full backup with the same
variables.
In NetBackup, environment variables can be set within the backup selections list
by specifying one or more SET directives.
Note: In the backup selections list, the SET directive must be the first in the list,
followed by the file systems or volumes to back up.
Where variable is the name of the environment variable and value is the value that
is assigned to it. The value can be enclosed in single or double quotes, and must
be enclosed in quotes if it contains a space character. For example:
SET ABC = 22
SET DEF = "hello there"
Setting a variable equal to no value removes any value that was set previously for
that variable. For example:
SET ABC =
SET DEF =
Configuring NDMP backup to NDMP-attached devices 103
About appropriate host selection for NetApp cDOT backup policies
/vol/vol1
SET HIST = N
/vol/vol2
SET DEF = 20
SET SAMPLE = all
/vol/vol3
Note: You cannot restore a single file if HIST = N is set. Only full volume restores
are available when the HIST variable is set to N.
If an environment variable appears again later in the list, the value of this variable
overrides the previous value of the variable.
The values that each backup uses are saved and provided to subsequent restores
of the directory. The NDMP host may have some environment variables that are
set internally and these are also saved for restores.
See “About configuring NDMP-attached devices” on page 79.
Table 11-2 How DAR is used for file and directory restores
Type of Description
restore
File restore For each restore of files (not of directories), NetBackup automatically
determines if the use of DAR speeds up the restore. NetBackup uses
DAR only when it results in a faster restore.
Directory restore For restore of directories, by default DAR is always used to restore a
subdirectory but never used to restore the directory containing an entire
image. For example, if /vol/vol0 contains the entire image, and
/vol/vol0/dir1 is a subdirectory, DAR is used by default to restore
/vol/vol0/dir1. But it is not used to restore /vol/vol0.
See “Disabling DAR for file and directory restores” on page 105.
Note: You may have to disable DAR if you have problems with DAR and your
NDMP host is an older computer or is not running the latest NAS OS version.
4 Uncheck the Use direct access recovery for NDMP restores box and click
Apply.
This action disables DAR on all NDMP restores.
5 Click OK.
See “About configuring NDMP-attached devices” on page 79.
/usr/openv/netbackup/db/config/ndmp.cfg
this configuration. If you configure robots manually, be sure to use the same
robot number for a given robot, from one host to another in the cluster.
2 When you finish configuring devices and policies for NetBackup for NDMP,
failover to the next node in the cluster and configure the drives and robots.
Select the same robot number that you used when configuring the robot for
the first node.
After NetBackup is configured in a clustered environment, most configuration
information is available to all nodes in the cluster. The information is available by
means of a shared hard drive. However, in the NetBackup Administration
Console, if you make changes to NetBackup Management > Host Properties,
they are not available on the shared drive. Such changes apply only to the active
node. You must manually duplicate on each node the changes to Host Properties
that are made on the active node. This action lets NetBackup perform exactly the
same way in case of failover to another node.
Refer to the NetBackup High Availability Guide for further assistance.
See “About configuring NDMP-attached devices” on page 79.
Chapter 12
Configuring NDMP backup
to NetBackup media
servers (remote NDMP)
This chapter includes the following topics:
NetBackup for
NDMP server
3 Create a Media Manager storage unit for the drive(s). The storage unit type
must be Media Manager, not NDMP.
For NDMP multiplexing, do the following steps:
■ Select the Enable Multiplexing check box on the New Storage Unit menu.
■ Set the Maximum streams per drive entry to a value greater than one.
For details on storage units, refer to the NetBackup Administrator’s Guide,
Volume I.
4 Create an NDMP-type policy. On the New/Change Policy display, be sure to
specify the storage unit that was created in the previous step.
Note the following for NDMP multiplexing:
■ Set the Media multiplexing attribute on the Add New Schedule menu to
a value greater than one.
Chapter 13
Configuring NDMP
DirectCopy
This chapter includes the following topics:
To initiate the NDMP DirectCopy, you can use the NetBackup duplication feature
in the NetBackup Administration Console, the bpduplicate command, or
NetBackup Vault.
NDMP DirectCopy operates in the following environments:
■ A NetBackup media server that is connected to a VTL that has access to a
physical tape library. The steps for configuring NDMP DirectCopy are described
in this topic.
■ A NetBackup for the NDMP server that is connected to an NDMP host that has
access to a tape library (no VTL). This NDMP backup environment is described
in other topics of this guide. In this environment, no additional configuration is
required for NDMP DirectCopy.
If your NDMP host and storage devices are correctly configured, NetBackup
uses NDMP DirectCopy when you duplicate an NDMP backup that NetBackup
had created.
Note: In a VTL environment, a NAS appliance is not required. The VTL emulates
a NAS (NDMP) host. The VTL requires NDMP tape server functionality.
The following figure represents a VTL from two perspectives. It shows the actual
hardware present in a VTL configuration and the configuration from the perspective
of NetBackup.
LAN/WAN LAN/WAN
SCSI
SCSI
or
or
SAN
SAN
The following figure shows the data flow and control for a VTL.
Configuring NDMP DirectCopy 114
About NDMP DirectCopy
Figure 13-2 NDMP DirectCopy with VTL data flow and control
LAN/WAN
NB
media
server
SCSI
or
SAN
VTL
SCSI or SAN
NDMP NDMP
physical tape library
session session
in VTL in VTL
1. NetBackup media server sends the backup over a direct device path (SCSI or SAN) to the VTL.
2. NetBackup selects an NDMP device path to the VTL and creates an NDMP control session for the device.
3. NetBackup selects a tape volume from the physical tape library. It then selects an NDMP device path from
the library and creates a second NDMP control session for the device.
4. By means of the NDMP protocol, the backup image in the VTL is copied directly to the physical tape library
(not sent over the network).
5. The image can be restored directly to the media server from either the VTL or the physical tape.
LAN/WAN
NDMP
host
NetBackup for
NDMP server SCSI or SAN
NDMP direct
copy
2 Authorize NetBackup access to the VTL. Note that the VTL emulates an NDMP
host.
See “Authorizing NetBackup access to a NAS (NDMP) host” on page 79.
Configuring NDMP DirectCopy 116
Using NDMP DirectCopy to duplicate a backup image
3 Configure the VTL as a robot, then configure one or more tape drives in a
Media Manager storage unit.
You can use the NetBackup Device Configuration Wizard. Additional help
configuring devices and Media Manager storage units is also available.
See the NetBackup Administrator’s Guide Volume I.
4 Configure one or more tape drives in the VTL as Network Attached Storage
devices, and create one or more NDMP storage units for the drives.
See “Adding a tape drive” on page 84.
See “Adding NDMP storage units” on page 91.
The drives can be the same as those that were selected in the previous step.
NetBackup supports sharing of drives among media servers and NDMP hosts.
5 Configure one or more NDMP tape drives in the physical tape library, and add
the drives to NDMP storage units. Use the same procedures as those mentioned
in the previous step.
You can also use these drives in Media Manager storage units, if they are
shared on a SAN.
NetBackup's Accelerator option makes NDMP backups for NetApp and Isilon filers
run faster than normal NDMP backups. NetBackup Accelerator increases the speed
of full backups by using the filer's change detection techniques to identify the
modifications that occurred since the last backup. After an initial full backup that
protects all data from the filer, NetBackup Accelerator backs up only the changed
data from the filer to the media server. The media server combines the changed
data with any previous backup images to create a new full backup image; if a file
or portion of a file is already in storage and has not been changed, the media server
uses the copy in storage rather than reading it from the filer to complete the backup
image. The end result is a faster NetBackup NDMP backup.
Accelerator for NDMP 120
About NetBackup Accelerator for NDMP
Note: For NetApp filers, you can expect to see Accelerator optimization in both full
backups (regular and forced rescan) and incremental backups. For Isilon filers, you
can expect to see Accelerator optimization only in full backups (regular – not forced
rescan).
Note: For Isilon filers only, note the following behaviors with environmental variables:
With Isilon filers, if you set the HIST environment variable in a NetBackup NDMP
backup policy with Accelerator enabled, you may specify only the value D (that is,
SET HIST=D). D specifies a directory/node file history format. If you specify any other
value for the HIST variable, NetBackup generates a message that asks you to
change the value to D. If you do not use a HIST variable in the policy, the backup
should complete successfully.
If you change any of the variables in a NetBackup NDMP backup policy with
Accelerator enabled, the Accelerator optimization will be 0% until you run a second
full backup with the same variables. When the policy's variables change, a new
baseline image is created with the first full backup. You will see Accelerator
optimization only after the second full backup with the same variables.
More information about environmental variables in NDMP policies is available:
See “About environment variables in the backup selections list” on page 101.
Note: If you include the smtape environment variable for NetApp filers in an NDMP
backup policy, no optimization is seen with Accelerator for NDMP enabled. The
smtape environment variable always backs up an entire volume as if it is a full
backup of a single file. Consult your NetApp filer documentation for specific details
about smtape. More information about smtape in a NetBackup backup policy is
available in the NetApp section of NetBackup for NDMP NAS Appliance Information.
Accelerator for NDMP 121
About NetBackup Accelerator for NDMP
If your NDMP policies include combinations of filers from NetApp, Isilon, and filers
from other vendors, only the NetApp and Isilon filers use the Accelerator option.
Messages in the job details identify which filers use the Accelerator option and
when the option is used. More information about these job detail messages is
available:
See “Accelerator messages in the NDMP backup job details log” on page 125.
Note: If you first enable Accelerator when the next scheduled backup is an
incremental backup, NetBackup does not automatically trigger a full backup
image, as is the case with NetBackup Accelerator for non-NDMP policies. With
Accelerator for NDMP, incremental backups continue to run as scheduled. An
initial track log is also created after the Use Accelerator option is enabled, and
with NetApp filers, you should see faster incremental backups. The next full
backup runs only when it is scheduled.
Subsequent full backup jobs back up only the data that changed since the last
backup job. The track log is used to determine what data can be included from
previous backups, including the previous full backup and all of the incremental
backups that follow it. NetBackup then creates a full backup image that includes
all of the filer's data.
■ Forced rescan full backups with Accelerator
The Accelerator forced rescan option provides a safety net by establishing a
new baseline for the next Accelerator backup. When you include this option,
which is found on the policy's Schedules tab, all the data on the filer is backed
up. This backup is similar to the first full backup with Accelerator; it provides a
new baseline for the backups that follow. If you set up a weekly full backup
schedule with the Use Accelerator option, you can supplement the policy with
another schedule that enables Accelerator forced rescan. You can set the
schedule to run every 6 months or whenever it is appropriate for your
environment. With NetApp filers, expect backups with Accelerator forced
rescan to run slightly longer than accelerated full backups. With Isilon filers,
backups with Accelerator forced rescan may run as longer as a first full backup
with Accelerator. More information about these options is available:
■ See “Attributes tab options for an NDMP policy” on page 93.
■ See “Schedules tab options for an NDMP policy with Accelerator for NDMP
enabled” on page 94.
/usr/openv/netbackup/db/track/primary_server/storage_server/filer_name/
policy/backup_selection
Windows:
install_path\NetBackup\db\track\primary_server\storage_server\filer_name\
policy\backup_selection
■ Media server:
UNIX:
/usr/openv/netbackup/track/primary_server/storage_server/filer_name/
policy/backup_selection
Windows:
install_path\NetBackup\track\primary_server\storage_server\filer_name\
policy\backup_selection
3 Create symbolic links from track log directories to the desired locations. For
example, if the desired directory is /vol1/track, enter the following command:
■ On the primary server:
# ln –s /vol1/track /usr/openv/netbackup/db/track
4 After you have verified that everything works properly, you can remove the
backup track.sv directory to free up space on the original volume.
To redirect the track log directories on systems with Windows Server:
1 Rename the track log directories to make backup copies:
■ On the primary server:
> move "install_path\NetBackup\db\track"
"install_path\NetBackup\db\track.sv"
4 After you have verified that everything works properly, you can remove the
backup track.sv directory to free up space on the original volume.
More information about Accelerator for NDMP is available:
See “About NetBackup Accelerator for NDMP” on page 119.
See “About the track log for Accelerator for NDMP” on page 122.
Note: Some messages that are generated directly from the filer, such as filer
volume is full, may require your immediate attention. Consult the documentation
for the filer to determine how to resolve any issues with the filer that are indicated
by a message from the filer in the job details.
Note the following items about messages for the first Accelerator-enabled full
backup:
■ accelerator enabled
This message indicates that the Accelerator option is being used.
■ accelerator optimization is <off>, unable to locate accelerator
tracklog
Because this is the first full backup, NetBackup creates a new track log. More
information about the locations of the track log is available:
See “NetBackup logs for Accelerator for NDMP” on page 128.
■ accelerator sent 1310720 bytes out of 1310720 bytes to server,
optimization 0.0%
Because this is the first full backup, all data is backed up and no optimization
occurs yet.
Note the following items about messages for the subsequent incremental accelerator
backups:
■ accelerator optimization is <on>
Accelerator for NDMP 127
Accelerator messages in the NDMP backup job details log
This message indicates that a track log exists and the backup shall perform with
the Accelerator option.
■ BASE_DATE will be used to determine changed files for accelerator
and please ignore references to LEVEL in future messages
These messages are a reminder that Accelerator for NDMP uses BASE_DATE
and DUMP_DATE rather than dump levels to identify changed data. Messages
that refer to dump levels come from the filer. However, the message to ignore
references to LEVEL also appears in the job detail logs as a reminder that dump
levels are not used with Accelerator for NDMP.
■ accelerator sent 1104896 bytes out of 100310720 bytes to server,
optimization 15.7%
This message provides the amount of data that was sent to the server and the
percentage of optimization that was realized.
Note the following items about messages for the subsequent incremental accelerator
backups:
■ accelerator optimization is <on>
This message indicates that a track log exists and the backup shall perform with
the Accelerator option.
■ BASE_DATE will be used to determine changed files for accelerator
and please ignore references to LEVEL in future messages
These messages are a reminder that Accelerator for NDMP uses BASE_DATE
and DUMP_DATE rather than dump levels to identify changed data. Messages
that refer to dump levels come from the filer. However, the message to ignore
references to LEVEL also appears in the job detail logs as a reminder that dump
levels are not used with Accelerator for NDMP.
Accelerator for NDMP 128
NetBackup logs for Accelerator for NDMP
Note the following items about messages for accelerator forced rescan backups:
■ Accelerator enabled backup with "Accelerator forced rescan", all
data will be scanned and processed. Backup time will be longer
than a normal Accelerator enabled backup and accelerator
optimization is <on> but 'forced rescan' is enabled
These messages indicate that a forced rescan is enabled and that the job shall
run longer than a normal Accelerator full backup. Though accelerator optimization
is on, the job may run slightly longer than accelerated full backups.
Table 14-1 NetBackup logs that may contain Accelerator for NDMP
information
Windows:
install_path\NetBackup\logs\ndmpagent
Accelerator for NDMP 129
NetBackup logs for Accelerator for NDMP
Table 14-1 NetBackup logs that may contain Accelerator for NDMP
information (continued)
Windows: install_path\NetBackup\logs\bpbrm
Windows: install_path\NetBackup\logs\bptm
Windows: install_path\NetBackup\logs\bpfis
Windows: install_path\NetBackup\logs\bpcd
Windows: install_path\NetBackup\logs\bprd
Windows: install_path\NetBackup\logs\bpdbm
To create the log directories, run the following command on the NetBackup servers
and backup host:
On Windows:
install_path\NetBackup\logs\mklogdir.bat
On UNIX/Linux:
/usr/openv/netbackup/logs/mklogdir
Chapter 15
Remote NDMP and disk
devices
This chapter includes the following topics:
Figure 15-1 NDMP backup to a storage unit on media server (remote NDMP)
LAN / WAN
NetBackup for
NDMP media server
NetBackup drives
in disk storage Backup data travels from NDMP hosts to a disk or
units or Media tape drive attached to a NetBackup media server or
Manager storage on a SAN.
units (tape).
NOTE: The NetBackup drive(s) need not be dedicated
to NDMP backups: they can be used for non-NDMP
backups as well.
■ Repeat the previous step for each NDMP host that the NetBackup server
backs up.
■ If you plan to create snapshots using the Snapshot Client NAS_Snapshot
method, do the previous step on the primary server (not on the media
server).
3 Create a disk or Media Manager storage unit for the drive(s). The storage unit
type must be Disk or Media Manager, not NDMP.
For details on storage units, refer to the NetBackup Administrator’s Guide,
Volume I.
4 Create an NDMP-type policy.
See “About creating an NDMP policy” on page 93.
Chapter 16
Using the Shared Storage
Option (SSO) with
NetBackup for NDMP
This chapter includes the following topics:
■ About the Shared Storage Option (SSO) with NetBackup for NDMP
For each robot, either a NetBackup media server or an NDMP server (not both)
can handle robotic control.
The NetBackup Compatibility List for all Versions indicates which versions of
vendor software support SSO for NDMP. The NAS systems (hardware) do not
provide the support; the proper software version provides it. For a list of the
features and software releases for each NAS vendor, for SSO support, and for
the NetBackup versions that support these vendors, refer to the NetBackup
Compatibility List for all Versions.
To set up an SSO with NetBackup for NDMP
1 Configure NetBackup access to the NDMP host.
See “Authorizing NetBackup access to a NAS (NDMP) host” on page 79.
2 Verify that the NDMP host can access the required robots and drives.
To verify NDMP host access to the required devices, run the following
commands on a NetBackup media server that is authorized to access the host:
The -verify option verifies that the NetBackup server can access the NDMP
host. The -probe option lists the devices that are visible to the NDMP host.
3 From the NetBackup Administration Console, use the Device Configuration
Wizard to configure the devices and storage units.
See “Using the NetBackup Device Configuration Wizard for NDMP hosts”
on page 135.
You must define an NDMP storage unit for each NDMP host that shares a
drive. If all hosts have access to the shared drive(s), the Device Configuration
Wizard can create these storage units automatically.
Note: User-directed restores of files are not allowed, because no NetBackup client
software is installed on an NDMP host.
If the hosts that you want are not available in the pull-down menu, use Edit
Client List to add the client.
4 In the policy type field, select NDMP.
Chapter 18
Troubleshooting
This chapter includes the following topics:
Note: The legacy and unified logging files can consume a lot of disk space. Delete
the log files when you are finished and set logging to a lower level of detail.
7 On the NetBackup for NDMP server, create bptm, and bpbrm legacy debug log
folders in the /usr/openv/netbackup/logs directory (UNIX) or
install_path\NetBackup\logs folder (Windows):
bpbrm
bpfis
bpmount
bptm
bppfi
NetBackup writes legacy log files in these directories, if the directories exist.
The NDMP backup level is modeled after UNIX dump levels. The backup level is
a number in the range of 0 to 9.
An NDMP backup level of 0 is a full backup. A backup level greater than 0 is an
incremental backup of all objects that were modified since the last backup of a lower
level. For example, level 1 is a backup of all objects that were modified since the
full backup (level 0). Level 3 is a backup of all objects that were modified since the
last level 2 incremental.
Troubleshooting 143
General NetBackup for NDMP operating notes and restrictions
Table 18-1 NetBackup backup types and corresponding NDMP backup levels
http://www.veritas.com/docs/000027113
Policy B then performs a full backup of /vol/vol1 (level 0). The filer now considers the
policy B backup to be the last full (level 0) backup of /vol/vol1.
Policy A performs an incremental backup of /vol/vol1 (level 1). The policy A incremental
backup captures only the data that changed since the full backup that was done by
policy B. The incremental backup misses any changes that occurred between the policy
A full backup and the policy B full backup.
■ NDMP restore jobs may complete successfully even though no data (0 KB) has
been restored. This situation can occur when a target volume does not have
enough space for an image you are trying to restore.
■ Workaround: Check the restore job details for entries similar to the following
messages:
Confirm that the target volume does not have enough space for the restore
image. If it does not, either free up enough space on the volume to complete
the restore job successfully or specify a different restore volume.
■ If your NDMP backup fails with a status code of 99 (NDMP backup failure), no
paths in your NDMP policy backup selections list were backed up. Check the
NetBackup All Log Entries report for more information. A possible cause of this
status is that none of the backup paths exist on the NDMP host.
Troubleshooting 146
NetBackup for NDMP troubleshooting suggestions
For more information about status code 99 and NDMP backup failures, refer to
the following tech note:
http://www.veritas.com/docs/000081335
■ NetBackup does not support client-side deduplication of NDMP hosts. The
backup jobs fail if you try to use client-side deduplication for NDMP hosts.
Note: Whatever the cause, if the avrd connection to the NDMP host fails, the drive
is set to DOWN. It is not automatically set to UP when the communication problem
is corrected.
■ Start ltid with the -v option. Check the system’s syslog for troubleshooting
clues.
■ Use vmps to make sure that the appropriate daemons are running.
■ Drives can be unexpectedly set to the DOWN state. This action is due to
communication problems between avrd on the NetBackup for NDMP server
and the NDMP server application on the NDMP host.
Further details are available.
See “Troubleshooting NDMP media and devices on Windows” on page 146.
Note: Starting with NetBackup 6.0, all backups are in binary mode.
■ To use DAR with NetBackup, the NDMP host you want to restore must support
DAR. Some NDMP host vendors do not currently support DAR.
Troubleshooting 148
About robot tests
The following table lists the messages that may appear in the unified logs for
ndmpagent (originator ID 134) on the NetBackup media server. These messages
are also written to the progress log.
Message Explanation
Data host does not support DAR The current NDMP host does not support DAR.
recovery
DAR disabled—continuing restore DAR information is not available for the file.
without DAR
DAR disabled—backup was performed The DAR feature can be used to restore the
before NB 4.5 backups that NetBackup 4.5GA or later made.
Starting with NetBackup 4.5GA, NetBackup stores
the required DAR offset information on each
backup. For pre-4.5GA NetBackup backups,
restores cannot use DAR because the pre-4.5
versions did not store DAR offset information.
DAR disabled—NDMP host did not The backup was performed with an NDMP host
provide DAR info during backup version that does not support DAR. Ask the NDMP
host vendor if a later NAS software version is
available that supports DAR.
DAR disabled—Exceeded optimal DAR NetBackup determined that the restore would take
parameters for this image size longer with DAR than without it.
DAR disabled—Directory DAR not DAR is automatically disabled when a restore job
supported specifies a directory to restore. DAR can be used
to restore files, but not to restoring directories.
DAR disabled by host parameters DAR was disabled on the Master or Media Server
Properties dialog box.
TLD tldtest
ACS acstest
ndmp_start_notify ndmp_start_notify.cmd
ndmp_end_notify ndmp_end_notify.cmd
ndmp_start_path_notify ndmp_start_path_notify.cmd
ndmp_end_path_notify ndmp_end_path_notify.cmd
ndmp_moving_path_notify ndmp_moving_path_notify.cmd
The scripts are similar to those already included in your NetBackup server
installation. To create the scripts on UNIX, copy the bpstart_notify and
bpend_notify scripts from
/usr/openv/netbackup/bin/goodies (UNIX)
to
/usr/openv/netbackup/bin
on the NetBackup for NDMP server. Then rename the copied scripts and modify
as needed.
On Windows, you must create the scripts from scratch.
/usr/openv/netbackup/bin/goodies/bpstart_notify
/usr/openv/netbackup/bin/ndmp_start_notify
on the UNIX NetBackup for NDMP server. Then, modify the script and ensure that
you have permission to run it.
Using NetBackup for NDMP scripts 152
ndmp_start_notify script (UNIX)
Note: Before you use this script, make sure that you can run it by using other on
the media server. Run chmod 755 script_name, where script_name is the name
of the script.
The ndmp_start_notify script runs each time a backup starts and after the tape
has been positioned. This script must exit with a status of 0 for the calling program
to continue and for the backup to proceed. A nonzero status causes the client
backup to exit with a status of ndmp_start_notify failed.
If the /usr/openv/netbackup/bin/ndmp_start_notify script exists, it runs in the
foreground. The bptm process that is on the NetBackup for NDMP server waits for
it to complete before continuing. Any commands in the script that do not end with
an & character run serially.
The server expects the client to respond with a continue message within the period
of time that the NetBackup CLIENT_READ_TIMEOUT option on the server specifies.
The default for CLIENT_READ_TIMEOUT is 300. If the script needs more time than
300 seconds, increase the value to allow more time.
NetBackup passes the following parameters to the script:
Parameter Description
FULL
For example:
/usr/openv/netbackup/bin/ndmp_start_notify.production
/usr/openv/netbackup/bin/ndmp_start_notify.production.fulls
The first script affects all scheduled backups in the policy that is named production.
The second script affects scheduled backups in the policy that is named production
only when the schedule is named fulls.
Note: For a given backup, NetBackup uses only one ndmp_start_notify script
and that is the one with the most specific name. For example, if there are both
ndmp_start_notify.production and ndmp_start_notify.production.fulls
scripts, NetBackup uses only ndmp_start_notify.production.fulls.
BACKUPID
UNIXBACKUPTIME
BACKUPTIME
The NetBackup bptm process creates these variables. The following are examples
of the strings that are available to the script for use in recording information about
a backup:
BACKUPID=freddie_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 1997
install_path\NetBackup\bin
install_path\netbackup\bin\ndmp_start_notify.cmd
install_path\netbackup\bin\ndmp_start_notify.days.cmd
■ The following script applies only to a schedule that is named fulls, which is in
a policy named days:
install_path\netbackup\bin\ndmp_start_notify.days.fulls.cmd
The first script affects the scheduled backups in the policy named days. The second
script affects the scheduled backups in the policy named days only when the
schedule is named fulls.
For a given backup, NetBackup calls only one ndmp_start_notify script and
checks for them in the following order:
ndmp_start_notify.policy.schedule.cmd
ndmp_start_notify.policy.cmd
ndmp_start_notify.cmd
Note: If you also use ndmp_end_notify scripts, they can provide a different level
of notification than the ndmp_start_notify scripts. For example, if you had one of
each, they could be ndmp_start_notify.policy.cmd and
ndmp_end_notify.policy.schedule.cmd.
When the backup starts, NetBackup passes the following parameters to the script:
Parameter Description
Parameter Description
FULL
INCR
CINC
%6 Specifies the results file that NetBackup checks for a return code from the script. NetBackup uses
%6 to pass the file name and then expects the script to create the file in the same directory as
the script.
If the script applies to a specific policy and schedule, the results file must be named
install_path\netbackup\bin\NDMP_START_NOTIFY_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\NetBackup\bin\NDMP_START_NOTIFY_RES.policy
If the script applies to all backups, the results file must be named
install_path\NetBackup\bin\NDMP_START_NOTIFY_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the script runs, NetBackup
checks the new results file for the status. The status must be 0 for the script to be considered
successful. If the results file does not exist, NetBackup assumes that the script was successful.
The server expects the client to respond with a continue message within the period
of time that the NetBackup CLIENT_READ_TIMEOUT option on the server specifies.
The default is 300 seconds. If the script needs more than 300 seconds, increase
the value to allow more time.
Note: Before you use this script, make sure you can run it by using other on the
media server. Run chmod 755 script_name, where script_name is the name of
the script.
The UNIX scripts are provided as examples only. You must customize the scripts
before using them. For example, the -ne value in the first if statement must be
modified to reflect the number of passed parameters. For the ndmp_end_notify
script, the -ne value must be set to 7.
For a UNIX media server, if you need notification whenever the NDMP host
completes a backup, copy
/usr/openv/netbackup/bin/goodies/bpend_notify
/usr/openv/netbackup/bin/ndmp_end_notify
on the UNIX NetBackup for NDMP host. Then, modify the script and ensure that
you have permission to run it.
The ndmp_end_notify script runs each time a backup completes.
NetBackup passes the following parameters to the ndmp_end_notify script:
Parameter Description
FULL
For example:
/usr/openv/netbackup/bin/ndmp_end_notify.production
/usr/openv/netbackup/bin/ndmp_end_notify.production.fulls
The first script affects all scheduled backups in the policy that is named production.
The second script affects scheduled backups in the policy that is named production
only when the schedule is named fulls.
Note: For a given backup, NetBackup uses only one ndmp_end_notify script and
that is the one with the most specific name. For example, if there are both
ndmp_end_notify.production and ndmp_end_notify.production.fulls scripts,
NetBackup uses only ndmp_end_notify.production.fulls.
BACKUPID
UNIXBACKUPTIME
BACKUPTIME
The NetBackup bptm process creates these variables. The following are examples
of the strings that are available to the script for use in recording information about
a backup:
BACKUPID=freddie_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 1997
install_path\NetBackup\bin
install_path\netbackup\bin\ndmp_end_notify.cmd
To create a script that applies only to a specific policy or policy and schedule
combination, add a .policyname or .policyname.schedulename suffix to the script
name. The following are two examples:
■ The following script applies only to a policy named days:
install_path\netbackup\bin\ndmp_end_notify.days.cmd
■ The following script applies only to a schedule that is named fulls, which is in
a policy named days:
install_path\netbackup\bin\ndmp_end_notify.days.fulls.cmd
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one ndmp_end_notify script and checks
for them in the following order:
ndmp_end_notify.policy.schedule.cmd
ndmp_end_notify.policy.cmd
ndmp_end_notify.cmd
Note: If you also usendmp_start_notify scripts, they can provide a different level
of notification than the ndmp_end_notify scripts. For example, if you had one of
each, they could be ndmp_start_notify.policy.cmd and
ndmp_end_notify.policy.schedule.cmd.
When the backup completes, NetBackup passes the following parameters to the
script:
Parameter Description
Parameter Description
FULL
INCR
CINC
%5 Specifies the status of the operation. It is the same as the status sent to the NetBackup server.
This status is 0 for successful backups and 1 for partially successful backups. If an error occurs,
the status is the value associated with that error.
%6
Note: The following file is not checked at the end of a backup.
Specifies the results file that NetBackup checks for a return code from the script. NetBackup uses
%6 to pass the file name and then expects the script to create the file in the same directory as
the script.
If the script applies to a specific policy and schedule, the results file must be named
install_path\NetBackup\bin\NDMP_END_NOTIFY_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\netbackup\bin\NDMP_END_NOTIFY_RES.policy
If the script applies to all backups, the results file must be named
install_path\NetBackup\bin\NDMP_END_NOTIFY_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the script runs, NetBackup
checks the new results file for the status. The status must be 0 for the script to be considered
successful. If the results file does not exist, NetBackup assumes that the script was successful.
/usr/openv/netbackup/bin/goodies/bpstart_notify
Using NetBackup for NDMP scripts 160
ndmp_start_path_notify script (UNIX)
/usr/openv/netbackup/bin/ndmp_start_path_notify
on the UNIX NetBackup for NDMP server. Then, modify the script and ensure that
you have permission to run it.
On the UNIX media server, the ndmp_start_path_notify script runs before the
backup process is issued to the NAS machine. This script must exit with a status
of 0 for the calling program to continue and for the backup to proceed. A nonzero
status causes the client backup to exit with a status of 99 (NDMP backup failure).
Note: Before you use this script, make sure you can run it by using other on the
media server. Run chmod 755 script_name, where script_name is the name of
the script.
Parameter Description
FULL
Parameter Description
$6 Not used.
For example:
/usr/openv/netbackup/bin/ndmp_start_path_notify.production
/usr/openv/netbackup/bin/ndmp_start_path_notify.production.fulls
The first script affects all scheduled backups in the policy that is named production.
The second script affects scheduled backups in the policy that is named production
only when the schedule is named fulls.
BACKUPID
UNIXBACKUPTIME
BACKUPTIME
The NetBackup bptm process creates these variables. The following are examples
of the strings that are available to the script for use in recording information about
a backup:
BACKUPID=freddie_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 1997
Using NetBackup for NDMP scripts 162
ndmp_start_path_notify.cmd script (Microsoft Windows)
install_path\NetBackup\bin
install_path\netbackup\bin\ndmp_start_path_notify.cmd
To create a script that applies only to a specific policy or policy and schedule
combination, add a .policyname or .policyname.schedulename suffix to the script
name. The following are two examples:
■ The following script applies only to a policy named days:
install_path\netbackup\bin\ndmp_start_path_notify.days.cmd
■ The following script applies only to a schedule that is named fulls, which in a
policy named days:
install_path\netbackup\bin\ndmp_start_path_notify.days.fulls.cmd
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one ndmp_start_path_notify script
and checks for them in the following order:
ndmp_start_path_notify.policy.schedule.cmd
ndmp_start_path_notify.policy.cmd
ndmp_start_path_notify.cmd
Note: If you also use ndmp_start_notify scripts, they can provide a different level
of notification than the ndmp_start_path_notify scripts. For example, if you had
one of each, they could be ndmp_start_notify.policy.cmd and
ndmp_start_path_notify.policy.schedule.cmd.
When the backup starts, NetBackup passes the following parameters to the script:
Parameter Description
FULL
INCR
CINC
%5 Specifies the status of the operation. It is the same as the status sent to the NetBackup server.
This status is 0 for successful backups and 1 for partially successful backups. If an error occurs,
the status is the value associated with that error.
%6 Specifies the results file that NetBackup checks for a return code from the script. NetBackup uses
%6 to pass the file name and then expects the script to create the file in the same directory as
the script.
If the script applies to a specific policy and schedule, the results file must be named
install_path\netbackup\bin\NDMP_START_PATH_NOTIFY_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\NetBackup\bin\NDMP_START_PATH_NOTIFY_RES.policy
If the script applies to all backups, the results file must be named
install_path\NetBackup\bin\NDMP_START_PATH_NOTIFY_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the script runs, NetBackup
checks the new results file for the status. The status must be 0 for the script to be considered
successful. If the results file does not exist, NetBackup assumes that the script was successful.
Note: Before you use this script, make sure you can run it by using other on the
media server. Run chmod 755 script_name, where script_name is the name of
the script.
For a UNIX media server, if you need notification whenever the NDMP host
completes a backup, copy
/usr/openv/netbackup/bin/goodies/bpend_notify
/usr/openv/netbackup/bin/ndmp_end_path_notify
on the UNIX NetBackup for NDMP host. Then, modify the script and ensure that
you have permission to run it.
The ndmp_end_path_notify script runs after the NAS machine has informed
NetBackup that it has completed sending data.
NetBackup passes the following parameters to the ndmp_end_notify script:
Parameter Description
FULL
$6 Not used.
Using NetBackup for NDMP scripts 165
ndmp_end_path_notify script (UNIX)
Parameter Description
For example:
/usr/openv/netbackup/bin/ndmp_end_path_notify.production
/usr/openv/netbackup/bin/ndmp_end_path_notify.production.fulls
The first script affects all scheduled backups in the policy that is named production.
The second script affects scheduled backups in the policy that is named production
only when the schedule is named fulls.
Note: For a given backup, NetBackup uses only one ndmp_end_path_notify script
and that is the one with the most specific name. For example, if there are both
ndmp_end_path_notify.production and
ndmp_end_path_notify.production.fulls scripts, NetBackup uses only
ndmp_end_path_notify.production.fulls.
BACKUPID
UNIXBACKUPTIME
BACKUPTIME
The NetBackup bptm process creates these variables. The following are examples
of the strings that are available to the script for use in recording information about
a backup:
BACKUPID=freddie_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 1997
Using NetBackup for NDMP scripts 166
ndmp_end_path_notify.cmd script (Microsoft Windows)
install_path\NetBackup\bin
install_path\netbackup\bin\ndmp_end_path_notify.cmd
To create a script that applies only to a specific policy or policy and schedule
combination, add a .policyname or .policyname.schedulename suffix to the script
name. The following are two examples:
■ The following script applies only to a policy named days:
install_path\netbackup\bin\ndmp_end_path_notify.days.cmd
■ The following script applies only to a schedule that is named fulls, which is in
a policy named days:
install_path\netbackup\bin\ndmp_end_path_notify.days.fulls.
cmd
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one ndmp_end_path_notify script and
checks for them in the following order:
ndmp_end_path_notify.policy.schedule.cmd
ndmp_end_path_notify.policy.cmd
ndmp_end_path_notify.cmd
Note: If you also use ndmp_end_notify scripts, they can provide a different level
of notification than the ndmp_end_path_notify scripts. For example, if you had one
of each, they could be ndmp_end_notify.policy.cmd and
ndmp_end_path_notify.policy.schedule.cmd.
When the backup completes, NetBackup passes the following parameters to the
script:
Parameter Description
FULL
INCR
CINC
%5 Specifies the status of the operation. It is the same as the status sent
to the NetBackup server. This status is 0 for successful backups and
1 for partially successful backups. If an error occurs, the status is the
value associated with that error.
Using NetBackup for NDMP scripts 168
ndmp_moving_path_notify script (UNIX)
Parameter Description
%6
Note: The following file is not checked when using
ndmp_end_path_notify.
Specifies the results file that NetBackup checks for a return code from
the script. NetBackup uses %6 to pass the file name and then expects
the script to create the file in the same directory as the script.
If the script applies to a specific policy and schedule, the results file
must be named
install_path\NetBackup\bin\NDMP_END_PATH_NOTIFY_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\netbackup\bin\NDMP_END_PATH_NOTIFY_RES.policy
If the script applies to all backups, the results file must be named
install_path\NetBackup\bin\NDMP_END_PATH_NOTIFY_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After
the script runs, NetBackup checks the new results file for the status.
The status must be 0 for the script to be considered successful. If the
results file does not exist, NetBackup assumes that the script was
successful.
/usr/openv/netbackup/bin/goodies/bpstart_notify
/usr/openv/netbackup/bin/ndmp_moving_path_notify
Using NetBackup for NDMP scripts 169
ndmp_moving_path_notify script (UNIX)
on the UNIX NetBackup for NDMP server. Then, modify the script and ensure that
you have permission to run it.
On UNIX media servers, the ndmp_moving_path_notify script runs after the backup
process sends data to NetBackup.
Note: Before you use this script, make sure you can run it using other on the media
server. Run chmod 755 script_name, where script_name is the name of the script.
Parameter Description
FULL
$6 Not used.
For example:
Using NetBackup for NDMP scripts 170
ndmp_moving_path_notify.cmd script (Microsoft Windows)
/usr/openv/netbackup/bin/ndmp_moving_path_notify.production
/usr/openv/netbackup/bin/ndmp_moving_path_notify.production.fulls
The first script affects all scheduled backups in the policy that is named production.
The second script affects scheduled backups in the policy that is named production
only when the schedule is named fulls.
BACKUPID
UNIXBACKUPTIME
BACKUPTIME
The NetBackup bptm process creates these variables. The following are examples
of the strings that are available to the script for use in recording information about
a backup:
BACKUPID=freddie_0857340526
UNIXBACKUPTIME=0857340526
BACKUPTIME=Sun Mar 2 16:08:46 1997
install_path\NetBackup\bin
install_path\netbackup\bin\ndmp_moving_path_notify.cmd
To create a script that applies only to a specific policy or policy and schedule
combination, add a .policyname or .policyname.schedulename suffix to the script
name. The following are two examples:
■ The following script applies only to a policy named days:
install_path\netbackup\bin\ndmp_moving_path_notify.days.cmd
■ The following script applies only to a schedule that is named fulls, which is in
a policy named days:
install_path\netbackup\bin\ndmp_moving_path_notify.days.ful
ls.cmd
The first script affects all scheduled backups in the policy named days. The second
script affects scheduled backups in the policy named days only when the schedule
is named fulls.
For a given backup, NetBackup calls only one ndmp_moving_path_notify script
and checks for them in the following order:
ndmp_moving_path_notify.policy.schedule.cmd
ndmp_moving_path_notify.policy.cmd
ndmp_moving_path_notify.cmd
Note: If you also use ndmp_start_notify scripts, they can provide a different level
of notification than the ndmp_moving_path_notify scripts. For example, if you had
one of each, they could be ndmp_start_notify.policy.cmd and
ndmp_moving_path_notify.policy.schedule.cmd.
Using NetBackup for NDMP scripts 172
ndmp_moving_path_notify.cmd script (Microsoft Windows)
When the backup starts, NetBackup passes the following parameters to the script.
Parameter Description
FULL
INCR
CINC
%5 Specifies the status of the operation. It is the same as the status sent to the NetBackup server.
This status is 0 for successful backups and 1 for partially successful backups. If an error occurs,
the status is the value associated with that error.
%6
Note: The following is not checked when using ndmp_moving_path_notify.
Specifies the results file that NetBackup checks for a return code from the script. NetBackup uses
%6 to pass the file name and then expects the script to create the file in the same directory as
the script.
If the script applies to a specific policy and schedule, the results file must be named
install_path\netbackup\bin\NDMP_END_NOTIFY_RES.policy.schedule
If the script applies to a specific policy, the results file must be named
install_path\NetBackup\bin\NDMP_END_NOTIFY_RES.policy
If the script applies to all backups, the results file must be named
install_path\NetBackup\bin\NDMP_END_NOTIFY_RES
An echo 0> %6 statement is one way for the script to create the file.
NetBackup deletes the existing results file before it calls the script. After the script runs, NetBackup
checks the new results file for the status. The status must be 0 for the script to be considered
successful. If the results file does not exist, NetBackup assumes that the script was successful.