NetBackup104 AdminGuide NAS
NetBackup104 AdminGuide NAS
Administrator's Guide
Release 10.4
NetBackup™ NAS Administrator's Guide
Last updated: 2024-03-26
Legal Notice
Copyright © 2024 Veritas Technologies LLC. All rights reserved.
Veritas, the Veritas Logo, Veritas Alta, 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 [email protected]
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:
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 ........................................................................... 59
Setting the log level ...................................................................... 59
Logging directories for Linux platforms ............................................. 59
Logging folders for Windows platforms ............................................. 62
Logging folders for multi-stream restore ............................................ 65
Restore from a snapshot fails with status 133 .................................... 65
Backup from snapshot fails with error 50 .......................................... 66
Backup from snapshot parent job fails with error 4213: Snapshot import
failed ................................................................................... 66
Backup host pool creation fails with the error "Failed to fetch host list"
........................................................................................... 66
Snapshot job fails and the snapshot command does not recognize the
volume name ........................................................................ 67
Accelerator enabled incremental backup of NetApp NAS volume ........... 67
Snapshot method: Auto ................................................................ 68
Backup from snapshot jobs for NAS-Data-Protection policy fail with
error 4213 ............................................................................. 68
A full VCT-enabled indexing job runs, when followed by a non-VCT
indexing job with a backup host prior to version to 10.3 ................. 69
Backup from snapshot jobs for NAS data protection policy fail with
error 927 .............................................................................. 69
Error code: 930: No supported media server is available in the
All_Media_Server_Pool to use to backup the NAS shares. ............. 70
Multi-stream restore from NAS array volume fails with the status: 174
Media manager – system error occurred. .................................... 70
NAS job fails with the error: Crawler process timed out after 600
seconds waiting for streams to attach with shared memory. ............. 71
■ Chapter 1. Introduction
Chapter 1
Introduction
This chapter includes the following topics:
are created 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)
Table 2-1
Feature Description
Integration with NetBackup Role-based NetBackup web UI provides the Default NAS
Access Control (RBAC) Administrator RBAC role to control which
NetBackup users can perform backup and
restore of NAS volumes using
NAS-Data-Protection policy. The user need
not be a NetBackup administrator to perform
these operations on NAS volumes using the
NAS-Data-Protection policy.
Feature Description
For example, if you assign the value 100 to this parameter in the bp.conf file, you
can set values from 1 to 100 streams per volume in a D-NAS policy in the web UI.
Note the following about the dynamic streaming parameter:
■ Setting the dynamic streaming parameter to a default value of 10 or lower,
NetBackup forces the D-NAS policy to use only a single host. NetBackup does
not consider multiple hosts, even if they are present in the backup host pool.
■ For optimum utilization of resources, set the dynamic streaming parameter to
more than 10, when combined with the multi-host feature. This way, the streams
are distributed across multiple hosts, thus reducing the load on only one host.
Note: The All media server pool option does not include the primary servers that
are also configured as a media server.
This option is present for both NFS and SMB protocols. You can use it for D-NAS
policy jobs like snapshot and backup from snapshot. These jobs need a host from
the backup host pool.
When you select this option in the policy, NetBackup creates a backup host pool
named All_Media_Server_Pool. So, if you already have an existing backup host
pool by that name, delete or rename the existing pool.
During run time, if NetBackup cannot find any suitable media server(s) to run the
job, you can see an error with code 930. See “Error code: 930: No supported media
server is available in the All_Media_Server_Pool to use to backup the NAS shares.
” on page 70.
D-NAS overview 19
Limitations and considerations
Note: If you use cloud as a storage unit, you must configure the appropriate buffer
size. Refer to the NetBackup Cloud Administrator's Guide.
■ For the 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 the Maximum number of streams per volume
parameter 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
Note: Image grouping is not applicable for importing images as part of the
Image Sharing operation.
CPU considerations
When a D-NAS policy runs, NetBackup uses the nbcs (crawler) and the bpbkar
processes on the backup host. It uses the bpbrm and bptm on the media server.
Each running process consumes CPU cycles. The nbcs process uses CPU the
most. The nbcs is a multi-threaded crawler. It traverses the NAS share during
backup and index operations. Multiple nbcs processes handle concurrent jobs for
backup and indexing operations of NAS volumes. One nbcs process corresponds
to one NAS volume backup. If you use multiple backup hosts to back up a single
NAS volume, each backup host uses a separate nbcs process.
D-NAS Planning and Tuning 22
Sizing guidelines for D-NAS
The crawler process is multi-threaded. Multiple threads traverse one NAS share
during D-NAS policy execution. This can lead to spikes in CPU use for the nbcs
process. You can ease CPU use by decreasing the number of threads used by the
nbcs process. You can set the MULTI_THREADED_CRAWLER_THREADS parameter in
the bp.conf file. This changes the thread count used by each nbcs process. The
default value is 20, and you can specify a value in the range of 1 to 200. You must
set this parameter on the backup hosts used for NAS backups. This is applicable
for the hosts on NetBackup version 10.4 and above.
Memory considerations
The amount of memory used by a backup job of a single NAS share depends on
the number of streams configured in the D-NAS policy. Each backup stream on a
host uses one bpbrm, bptm, and bpbkar process. For example, if the policy is set
to use 10 streams, then a single NAS share backup runs 10 instances of the bpbrm,
bptm, and bpbkar processes. It runs only one nbcs process.
The amount of memory used by the bpbrm, bptm, and bpbkar processes is static
and does not fluctuate much. The memory used by the nbcs process depends on
certain data traits. These include file system hierarchy, number of files, and folders
in a NAS share. If a NAS share has a very dense directory structure, then the nbcs
process uses 200 MB of memory at its peak. If a NAS share has a flat hierarchy
with millions of files in its directories, then nbcs uses 20% – 30% additional memory
at its peak. Note that memory usage is not always at peak and decreases as the
backup progresses. You may observe spikes in memory consumption depending
on the data characteristics.
Memory usage is the same for all backup types. These include index tasks, first
full, incremental, and accelerated full backups.
Table 3-1 Memory consumption for a single NAS backup with 5, 10, and
20 backup streams
On backup host 115 + 200 (crawler) 230 + 200 (crawler) 460 + 200 (crawler)
* For index from snapshot operations, only the media server memory consumption
is applicable.
D-NAS Planning and Tuning 23
Tuning parameters for Server Message Block (SMB)
Parameters Values
Set-SmbClientConfiguration -ConnectionCountPerRssNetworkInterface 8
Set-SmbClientConfiguration -DirectoryCacheLifetime 60
D-NAS Planning and Tuning 24
Tuning parameters for Network File System (NFS)
Parameters Values
Set-SmbClientConfiguration -EnableBandwidthThrottling 0
Set-SmbClientConfiguration -FileInfoCacheLifetime 60
Set-SmbClientConfiguration -FileNotFoundCacheLifetime 60
■ For SMB backups using the 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 administrator's group.
Replication 10.0
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.
■ If you want to backup SMB shares along with the SMB ACLs, use Windows
hosts in the backup host pool.
Pre-requisites for D-NAS configuration 29
Configuring storage lifecycle policies
■ All the hosts in the backup host pool must use the same Linux 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 hostname 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 In the web UI, click Host > Host properties.
2 Select and connect to the primary server that you want to configure, and click
Edit primary server.
3 Click Backup Host Pools.
4 Click Add.
5 Enter the backup host pool name.
6 (Conditional) This step is applicable only to the clients that you want to add to
the list. In the Enter hostname to add to the list field, add the client name
and click Add to list.
7 Select the OS Type.
8 Select the backup hosts that you want to add to the list.
9 Click Save.
Note: You cannot delete a backup host pool, if it is configured with an existing
NAS-Data-Protection policy.
■ To make optimal use of host resources, NetBackup ensures that at least four
backup streams are started on each host.
‘’
Jan 23, 2024 11:36:12 AM - Info nbjm (pid=6493) Started child jobs 563, 564,
Jan 23, 2024 11:36:12 AM - Info nbjm (pid=6493) Started child jobs 573, 574,
Volume multi-host backup 32
Monitoring and troubleshooting backup jobs
If there is a failure in resource allocation to any stream, the entire backup job for
that volume fails and the parent job fails with error code 927. If you have selected
the backup host pool as All media server, then the error 930 is shown.
You can resolve the majority of the problems for multi-host backups by checking
the logs. For more details about troubleshooting, see:
■ See “Troubleshooting” on page 59.
■ See “Logging directories for Linux platforms ” on page 59.
■ See “Logging folders for Windows platforms ” on page 62.
Chapter 6
Configure D-NAS policy
for NAS volumes
This chapter includes the following topics:
1 Configure the NetBackup Snapshot For more details, refer to the Configure
Manager server in NetBackup NetBackup snapshot manager for Data
Center chapter of the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide.
Configure D-NAS policy for NAS volumes 34
Setting up a NAS-Data-Protection policy
2 Configure the NAS storage array For more details, refer to the Configure
plug-in. NetBackup snapshot manager for Data
Center 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 28.
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).
14 If required, select the Go into effect at option and select the date and time.
15 Optionally, clear the Use Accelerator option to disable accelerator for the
policy.
See “Accelerator for D-NAS ” on page 41.
16 If required, enter the phrase in Keyword phrase (optional).
17 Under Dynamic data streaming attributes, Allow dynamic streaming is
auto-selected. If required change the value for Maximum number of streams
per volume. The maximum number of streams per volume determines the
number of backup streams that are deployed for backing up each volume. For
example, if a policy contains 5 volumes and the value of this parameter is set
to 4, then a group of 4 backup streams for each volume is seen, thereby a total
of 20 child backup streams and 5 parent backup streams as part of backup
execution of the policy.
18 On the Schedules tab, select the backup schedules. To add a new schedule,
click Add.
For more details about adding schedules, refer to NetBackup Administrator’s
Guide, Volume I.
Configure D-NAS policy for NAS volumes 36
Setting up a NAS-Data-Protection policy
19 On the Clients tab, from the NAS supported vendor list, select the preferred
vendor.
20 To add a client, click Add.
■ Select the array on the left, and the required array heads for the array from
the list on the right.
■ Click Save.
22 From the Backup Host Pool list, select the preferred pool, and select the
required volume(s) from the table.
23 To add a new volume, click Add.
■ In the Add backup selection dialog box, do one of the following:
■ From the Pathname or directive list, select the preferred and click Add
to list.
■ Click Browse and select the preferred.
■ Click Add.
24 On the Exclude Volumes tab, in the Volume to exclude field, enter keyword
for the preferred volumes that you do not want to backup and click Add to list.
The volume entered to exclude appears in the below table. To edit or delete,
select the Volume name.
25 Click Create.
Configure D-NAS policy for NAS volumes 37
Ordering of backup from snapshot jobs
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. Similarly,
when a Windows backup host is used to backup an NFS share, the NFS ACLs are
not backed up. Only the NFS share data is backed up.
The exclude list indicates the files and directories to exclude from a backup.
The include list specifies the exceptions to the exclude list. This list indicates the
excluded files that you want to back up from the client. You can use the include list
when you want to backup only a few files from a large number of excluded files in
a directory. Use the include list to add back the files that you eliminate with the
exclude list.
Both the exclude and include lists must be configured on all backup hosts inside
the backup host pool that you use for the D-NAS policy.
For syntax guidelines for the lists and more information, see Exclude List properties
under the section Configuring hosts in Veritas NetBackup Administrator's Guide,
Volume I.
Note the following:
■ To exclude any folder, use the format: \vol_name\dir. Do not use a slash at
the end of the path for the directory.
■ To backup only the “dir” folder inside “\vol”. In the exclude lists section add the
path = \vol\*
In the include list, to create the exception to the exclude list, add path =
\vol\dir [Do not add a slash at the end]
\vol\dir\*
This configuration backs up only the data of the \vol\dir folder. Note that if
you add only one rule of the two to the include list, the rule does not work and
everything on \vol\dir are excluded. You must add both rules to the include
list.
Examples for NFS:
Suppose that we have six directories from d1 to d6 inside volume1.
/volume1/d1
/volume1/d2
/volume1/d3
/volume1/d4
/volume1/d5
/volume1/d6
/volume1/*
/volume1/d1
/volume1/d1/*
After successful back up the following directories are skipped from backup.
/volume1/d2
/volume1/d3
/volume1/d4
/volume1/d5
/volume1/d6
\volume\d1\file1
\volume\d2\folder1\file1
\volume\d2\folder2\file2
\volume\d2\folder2\file3
\volume\d3\folder3\file3
\volume\d3\folder3\file2
file1
\volume\d2\folder2\file2
file3
\volume\d1\file1
\volume\d3\folder3\file3
After successful backup, the following directories are skipped from the backup:
\volume\d2\folder1\file1
\volume\d2\folder2\file2
\volume\d2\folder2\file3
\volume\d3\folder3\file2
\volume\d1\file1
\volume\d3\folder3\file3
■ 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/
■ Changing the number of backup streams when VCT and accelerator are enabled
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.
Combining both these functions in a single backup policy, the backup window is
reduced to full and incremental backups.
■ A regular full scan of the volume is performed for the full schedule with forced
re-scan enabled in the schedule. NetBackup does not use the VCT information
in this scenario.
■ Irrespective of the schedule, the change list is obtained using VCT. This change
list is used as the source for backup.
■ Using the previous catalogs, a synthetic catalog is created for the subsequent
full schedule.
■ If number of streams per volume is changed from the last successful full
index from snapshot, then NetBackup performs a file system traversal.
Using Vendor Change Tracking 47
Changing the number of backup streams when VCT and accelerator are enabled
■ Following are the file entries that are added to the image catalog for index
operation as per the schedule:
■ Full schedule: The full set of files.
■ Differential incremental schedule: Files that are added or modified after the
last index job run for any schedule.
■ Cumulative incremental schedule: Files that are added or modified after the
index job run for the last full schedule.
Note: The index of a NAS share that uses NFS protocol on a Linux host is faster
as compared to the SMB protocol on Windows hosts. It is recommended to enable
mixed protocols for the NAS share on the storage array and use NFS protocol
(using Linux host) for the index operation.
The backup from snapshot operation also creates an image catalog file. If a backup
from snapshot occurs frequently for the restore job in the environment, then an
index from snapshot is not required.
For example, if the backup from snapshot runs once per week but the file restores
are required daily, consider using index from snapshot.
Starting with NetBackup version 10.4, you can perform index from snapshot
operation of a NAS share using two streams.
■ To dump or check the contents of the image catalog, use the cat_convert utility
as follows:
: /usr/openv/netbackup/bin/cat_convert -dump <. f file name>
■ NetBackup primary server, media server, and backup hosts must be of version
10.4 or higher to use multistream index from snapshot.
■ By default, NetBackup uses one stream per NAS share for the index from
snapshot operation.
Note: The index of a NAS share is faster when you use the NFS protocol as
compared to using the SMB protocol. It is recommended to enable mixed protocols
for the NAS share on the storage array and use the NFS protocol (using Linux host)
for the index operation.
Using Vendor Change Tracking 49
Using VCT with NetBackup client exclude list
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 to 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 51
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 28.
responsible for data streaming.
4 Configure the SLP to use snapshot For more details about replication, refer to
and replication these chapters in the NetBackup™
Snapshot Manager for Data Center
Administrator's Guide:
■ Point-in-time rollback
■ If you select either of the following rename options, ensure that you change the
destination path:
■ Rename hard links.
■ Rename soft links.
Note: If you specify the number of restore streams as 1, then all the backup
streams of a NAS volume are restored sequentially.
7 Use the default media server for the restore, or specify a new one. Specify a
job priority and click Next.
8 In the Review tab, review all the parameters. To go back and change a
parameter, click Previous. Click Start recovery.
Note: If you specify the number of restore streams as 1, then all the backup
streams of a NAS volume are restored sequentially.
7 Use the default media server for the restore, or specify a new one. Specify a
job priority and click Next.
8 In the Review tab, review all the parameters. To go back and change a
parameter, click Previous. Click Start recovery.
Restoring from D-NAS backups 56
Point-in-time rollback
Point-in-time rollback
You can also restore a snapshot of an entire file system, volume, or share with
minimal I/O. This type of restore is called point-in-time rollback. All the data in the
snapshot is restored. Single file restore is not available in a rollback.
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.
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, volume, or share to the
original location on the client.
Performing rollback using snapshot:
1 On the left, click Recovery. On the Recover page, under Regular recovery,
click Start recovery.
2 In the Basic properties tab, select the policy type as NAS-Data-Protection.
Select Restore type as Point In Time Rollback. Select the Source client
from where you want to recover, and click Next.
3 Recovery details tab, the backups are displayed in the Backup History table,
select the image for restore. Click Edit to search for the list of snapshot images,
for all dates (you cannot set a date range).
Restoring from D-NAS backups 57
Point-in-time rollback
■ 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
■ A full VCT-enabled indexing job runs, when followed by a non-VCT indexing job
with a backup host prior to version to 10.3
■ Backup from snapshot jobs for NAS data protection policy fail with error 927
■ Multi-stream restore from NAS array volume fails with the status: 174 Media
manager – system error occurred.
■ NAS job fails with the error: Crawler process timed out after 600 seconds waiting
for streams to attach with shared memory.
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.
Table 11-3 Linux logging directories for an index from operation (continued)
Table 11-4 Linux logging directories for single file restore from a snapshot
copy
Table 11-10 Windows logging directories for index from snapshot operation
Table 11-11 Windows logging directories for single file restore from snapshot
copy
Table 11-11 Windows logging directories for single file restore from snapshot
copy (continued)
Table 11-12 Windows logging directories for single file restore from
point-in-time rollback
Table 11-13 Windows logging directories for single file restore from create
replication operation
Table 11-13 Windows logging directories for single file restore from create
replication operation (continued)
Table 11-14 Windows logging directories for single file restore from delete
replication operation
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.
This issue appears if the NetBackup services are not started properly with the
domain user.
Workaround:
1 Make sure that the NetBackup client service is running.
2 Log on as the domain user to the NetBackup client service.
3 Restart the NetBackup Client service.
4 Make sure that the NetBackup Legacy Network service is running.
5 Log on as the domain user to the NetBackup Legacy Network service.
6 Restart the NetBackup Legacy Network service.
7 Make sure that all NetBackup services are running.
8 Relaunch the NetBackup UI.
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.
Ensure that all media servers associated with the storage unit, specified in the
Storage Lifecycle Policy (SLP), have a higher version of NetBackup than the lowest
version of the backup host in the backup host pool.
To exclude a media server, go to the storage unit properties for the STU specified
in the SLP. Select the Only use the following media servers option. Then select
the media servers with a NetBackup version higher or equal to the lowest NetBackup
version of the hosts in the backup host pool.
This error occurs during granular restoration of a specific combination of files and
directories backed up from a NAS array.
Workaround:
Change the value of the parameter Number of restore streams per volume to 1.
Run the restore again.
Info nbjm (pid=30970) Started child jobs 278, 279, 280, 281, 282,
283, 284, 285, 286, 287 on host Host1.domain.com
Info nbjm (pid=30970) Started child jobs 288, 289, 290, 291, 292,
293, 294, 295, 296, 297 on host Host2.domain.com
Error nbcs (pid=790643) Crawler process timed out after 600 seconds
waiting for streams to attach with shared memory
Info nbjm (pid=30970) Started child jobs 298, 299, 300, 301, 302,
303, 304, 305, 306, 307 on host Host3.domain.com
Explanation:
This error is encountered when the parent job initiates and the child stream jobs
are queued sequentially. As a result, by the time all child stream jobs begin, the
nbcs crawler process reaches its timeout period, leading to a failure in job execution.
Workaround:
If your scheduled configurations cause such timeout you can change the timeout
value by using the configuration parameter
DYNAMIC_STREAMING_START_CHILD_BACKUP_JOBS_TIMEOUT. You can change the
value of this variable by using the bpsetconfig command. Use the bpgetconfig
CLI to view the value of this variable. You can set this configuration parameter on
the NetBackup primary server. For more information, see NetBackup™
Administrator's Guide, Volume I.
Section 3
Using NDMP
■ Chapter 19. 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 109.
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 75
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 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 76
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 132.
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 79
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 87
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 89
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 127.
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
Data LIF Specifies the data logical interface (LIF) that is associated
with the Vserver.
Introduction to NetBackup for NDMP 93
About NDMP support for NetApp clustered Data ONTAP (cDOT)
Term Definition
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 94
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 13
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.
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 web UI . 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 84.
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.
3 If this NetBackup for NDMP server is not your primary server, install your NDMP
license on the primary server.
4 In a clustered environment, perform these steps on each node in the cluster.
5 If you install in a clustered environment, unfreeze the active node after the
installation completes.
For information about unfreezing 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.
To start using the NetBackup cDOT capabilities, do the following:
1. Back up the catalog.
2. (Optional) Create a detailed image catalog report that provides the following:
Installation Notes for NetBackup for NDMP 98
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 106.
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 103.
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 99
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 100
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 101
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 14
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 103.
■ 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 131.
See “About configuring NDMP-attached devices” on page 103.
The following procedures and examples treat NDMP configuration issues only.
■ See “Using the Device Configuration Wizard to configure an NDMP filer”
on page 109.
■ See “Adding a robot directly attached to an NDMP host” on page 107.
■ See “Adding a tape drive” on page 107.
■ See “Checking the device configuration” on page 108.
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.
■ See “About NAS appliances support” on page 159. for information about supported
NDMP operating systems and NAS vendors.
■ 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
configure storage units in the same way as ordinary NetBackup (non-NDMP)
devices. More information is available:
See “About remote NDMP” on page 131.
See “About adding volumes” on page 113.
Configuring NDMP backup to NDMP-attached devices 107
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.
4 Click Save.
See “About configuring NDMP-attached devices” on page 103.
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.
■ Execute /usr/openv/volmgr/bin/vmps.
■ Verify that ltid, vmd, avrd, and any required robotic daemons are active.
On Windows:
■ From the NetBackup web UI, select Activity Monitor.
■ In the right pane, select the Processes tab.
■ 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 111
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 112
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 113
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.
See “About NAS appliances support” on page 159. for information about
supported NDMP operating systems and NAS vendors.
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:
When you specify the Robot control host for a volume that is in a robot, specify
the host name for the NetBackup for NDMP server. Do not specify the NDMP host.
See “About configuring NDMP-attached devices” on page 103.
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 131.
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 116.
■ See “Schedules tab options for an NDMP policy with Accelerator for NDMP
enabled” on page 117.
■ See “Clients tab options for an NDMP policy” on page 118.
■ See “Backup selection options for an NDMP policy” on page 118.
■ See “About appropriate host selection for NetApp cDOT backup policies”
on page 126.
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 131.
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 118
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 119
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 119.
See “ALL_FILESYSTEMS and VOLUME_EXCLUDE_LIST directives” on page 122.
See “About environment variables in the backup selections list” on page 124.
See “About configuring NDMP-attached devices” on page 103.
Wildcard characters in regular expressions or directives are valid for streaming and
non-streaming NDMP backups.
Configuring NDMP backup to NDMP-attached devices 120
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 14-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 121
About creating an NDMP policy
Table 14-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 122
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 123
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).
■ 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 =
/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 103.
Table 14-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 128.
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.
/usr/openv/netbackup/db/config/ndmp.cfg
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.
Configuring NDMP backup to NDMP-attached devices 130
Configuring NetBackup for NDMP in a clustered environment
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 16
Configuring NDMP
DirectCopy
This chapter includes the following topics:
To initiate the NDMP DirectCopy, you can use the NetBackup duplication feature
in the NetBackup web UI, 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.
Configuring NDMP DirectCopy 136
About NDMP DirectCopy
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 137
About NDMP DirectCopy
Figure 16-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 103.
Configuring NDMP DirectCopy 139
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 107.
See “Adding NDMP storage units” on page 114.
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.
If you use a NetApp cDOT system in SVM-scoped NDMP mode, NetBackup tries
to match the affinity for the source and the destination tape drive path, if possible,
so the duplication can be performed optimally.
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 142
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 124.
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. See “About NAS appliances support” on page 159. for information
about smtape in a NetBackup backup policy is available in the NetApp section.
Accelerator for NDMP 143
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 147.
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 116.
■ See “Schedules tab options for an NDMP policy with Accelerator for NDMP
enabled” on page 117.
/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 141.
See “About the track log for Accelerator for NDMP” on page 144.
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 150.
■ 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 149
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 150
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 17-1 NetBackup logs that may contain Accelerator for NDMP
information
Windows:
install_path\NetBackup\logs\ndmpagent
Accelerator for NDMP 151
NetBackup logs for Accelerator for NDMP
Table 17-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 18
Remote NDMP and disk
devices
This chapter includes the following topics:
Figure 18-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 116.
Chapter 19
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.
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 103.
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 web UI, use the Device Configuration Wizard to
configure the devices and storage units.
See “Using the NetBackup Device Configuration Wizard for NDMP hosts”
on page 157.
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.
5 In the Change Device Host window, place a check beside NDMP server.
6 Click OK.
7 In the Device Hosts window, NDMP is now listed in the Optional Devices to
be Scanned column for the media server.
8 Click Next to continue.
9 In the NDMP Hosts window that shows the NDMP host(s) where you can
configure devices, click Next to configure the NDMP-attached devices.
10 Follow the remaining prompts in the wizard to complete the configuration.
Chapter 20
NAS appliance information
for NDMP
This chapter includes the following topics:
■ Non-vendor-specific information
■ Vendor-specific information
Non-vendor-specific information
Supported operating systems
The NetBackup operating systems compatibility lists provide the most up-to-date
list of supported operating systems, with notes on supported hardware platforms.
NDMP compatibility is listed as a column in the NetBackup Server section for each
operating system in the compatibility list:
http://www.netbackup.com/compatibility
NAS appliance information for NDMP 160
Non-vendor-specific information
Note: NetBackup for NDMP is installed on a master or media server, not on a client.
For any restrictions unique to a particular NAS filer, see the appropriate section in
this document for your filer.
Vendor-specific information
This section includes the following topics:
■ Dell EMC Isilon
■ Dell EMC VNX
■ Dell EMC Unity
■ EMC Celerra
■ Hitachi HDI/VFP
■ Hitachi NAS (HNAS)
■ HP X9000 NAS
■ Huawei OceanStor V3
■ IBM System Storage Nxxxx
■ NEC Storage NV series
■ NetApp
■ Nexenta
■ Nexsan
■ Oracle Axiom Series
■ Oracle Solaris Server
■ Stratus V Series
Access Configuration
To enable NDMP
1 Access the management browser to sign in to the system.
2 Select Backup > Configuration, then select the user name and password,
and enable the NDMP service state.
NetBackup configuration
OneFS 7.1 introduced two new features for NDMP backups: Snapshot-based
incrementals and unlimited incremental backups. These are enabled and disabled
through the use of environment variables set in the Backup Selections list in a
NetBackup policy:
■ set BACKUP_MODE=SNAPSHOT
Enables snapshot-based incrementals.
■ set LEVEL=10
In OneFS 7.1, Isilon implemented a feature enabling unlimited incremental
backups. This feature is enabled by setting the LEVEL environment variable to
10.
Starting with NetBackup 7.7, you may set the LEVEL environment for Differential
Incremental backup schedules only. For Full or Cumulative Incremental
schedules, the value is ignored.
Troubleshooting
The NDMP logs can be found at /var/log/isi_ndmp_d on each node.
To monitor system status from the management browser, go to Alerts to view alert
activity.
For more information on your VNX Network Server, refer to the EMC VNX series
- Configuring NDMP Backups on VNX guide, which can be downloaded from
Dell's support site.
Access Configuration
To assign a user account name and password to one or more data movers
1 Log in to the Celerra Network Server Control Station as nasadmin and switch
user to root by typing the following command:
$ su
The output from the command that you entered should look similar to the
following example, in which the data mover is server_2:
Enter a new password when prompted, then retype the new password to confirm
it. The password you assign to the data mover can contain between six and
eight characters. The user name must be ndmp. You can accept the default
values for the other settings.
NAS appliance information for NDMP 164
Vendor-specific information
In the output, the two mandatory fields, User ID (UID) and Group ID (GID),
are integers. The Celerra Network Server uses UNIX-style UIDs and GIDs to
record the ownership of files and directories. The UID of the root user is 0.
3 Repeat the preceding steps for each NDMP-host data mover.
Device configuration
Tips for control and configuration:
■ After logging on to the Celerra Network Server Control Station, you can use the
following commands:
■ nas_version
(Displays the Celerra version number.)
■ server_devconfig
(Queries the device configuration of the specified data mover.)
■ Make sure that the backup is created from a snapshot. See the following section:
See “Specifying snapshot-based backups in an NDMP policy” on page 169.
Tips for robot and media discovery:
■ Check that each Data Mover is recognizing the robot/media devices by entering
the server_devconfig command from the Control Station.
For example, the following command queries the device configuration of the
specified data mover (server_2).:
server_devconfig server_2 -list -probe -scsi -nondisks
Example output:
server_2 :
SCSI non-disk devices :
chain= 0, scsi-0
symm_id= 0 symm_type= 0
tid/lun= 15/15 type= disk val= -99 info= 52658653C310 diskerr=
-1
chain= 1, scsi-1
symm_id= 0 symm_type= 0
tid/lun= 15/15 type= disk val= -99 info= 52686043C320 diskerr=
-1
chain= 2, scsi-2 : no devices on chain
chain= 3, scsi-3
symm_id= 0 symm_type= 0
tid/lun= 0/0 type= jbox info= HP C5173-7000 3.04
tid/lun= 1/0 type= tape info= QUANTUM DLT7000 2560q`
tid/lun= 2/0 type= tape info= QUANTUM DLT7000 2560q`
NAS appliance information for NDMP 165
Vendor-specific information
Troubleshooting
EMC VNX logs are located on each data mover. For example, to access the server_2
data mover log file, enter the following at the VNX Network Server Control Station:
server_log server_2
Other
Known restrictions
■ The user name used with the tpconfig command must be defined as ndmp for
each data mover.
While tar, dump, and vbb are all supported data types, Veritas recommends the
use of dump or vbb instead of tar. Refer to the following tech note for more
information:
http://www.veritas.com/docs/000095049
■ If you specify an incorrect path name in the NetBackup policy’s Backup
Selections list (file list), the entire backup fails with status code 99, “NDMP
backup failure.”
Access Configuration
After a NAS server is created, or during the NAS server creation, the Protection
& Events tab on the Edit NAS Server page allows the user to Enable NDMP and
Change Password.
NAS appliance information for NDMP 166
Vendor-specific information
Device configuration
1 Log in to command processor over SSH as service.
This will show the attached devices.
An example:
4 The NAS_server will need to be rebooted to have the setting take effect:
EMC Celerra
General Information
This information is provided to help you use NetBackup for NDMP with an EMC
Celerra Network Server.
■ Documentation
For more information on your Celerra Network Server, refer to the Celerra
Network Server Version 5.5 Documentation CD, which can be downloaded from
EMC's Powerlink website.
Device configuration
Tips for control and configuration:
■ After logging on to the Celerra Network Server Control Station, you can use the
following commands:
■ nas_version
(Displays the Celerra version number.)
■ server_devconfig
(Queries the device configuration of the specified data mover.)
■ Make sure that the backup is created from a snapshot. See the following section:
See “Specifying snapshot-based backups in an NDMP policy” on page 169.
Tips for robot and media discovery:
■ Check that each Data Mover is recognizing the robot/media devices by entering
the server_devconfig command from the Control Station.
For example, the following command queries the device configuration of the
specified data mover (server_2).:
server_devconfig server_2 -list -probe -scsi -nondisks
Example output:
server_2 :
SCSI non-disk devices :
chain= 0, scsi-0
symm_id= 0 symm_type= 0
tid/lun= 15/15 type= disk val= -99 info= 52658653C310 diskerr=
-1
chain= 1, scsi-1
symm_id= 0 symm_type= 0
tid/lun= 15/15 type= disk val= -99 info= 52686043C320 diskerr=
-1
chain= 2, scsi-2 : no devices on chain
NAS appliance information for NDMP 168
Vendor-specific information
chain= 3, scsi-3
symm_id= 0 symm_type= 0
tid/lun= 0/0 type= jbox info= HP C5173-7000 3.04
tid/lun= 1/0 type= tape info= QUANTUM DLT7000 2560q`
tid/lun= 2/0 type= tape info= QUANTUM DLT7000 2560q`
Troubleshooting
EMC Celerra logs are located on each data mover. For example, to access the
server_2 data mover log file, enter the following at the Celerra Network Server
Control Station:
server_log server_2
Other
Known restrictions
■ The user name used with the tpconfig command must be defined as ndmp for
each data mover.
While tar, dump, and vbb are all supported data types, Veritas recommends the
use of dump or vbb instead of tar. Refer to the following tech note for more
information:
http://www.veritas.com/docs/000095049
■ If you specify an incorrect path name in the NetBackup policy’s Backup
Selections list (file list), the entire backup fails with status code 99, “NDMP
backup failure.”
set EMC_EFILExx=file_exlusion_statement
set EMC_EDIRxx=/directory_exlusion_statement
where xx is a two-digit number. For restrictions in the use of these statements and
other details such as the use of wildcards, refer to the Celerra Network Server
Version 5.5 Documentation CD.
In the following examples of file and directory exclude statements in a NetBackup
Backup selections list, the backup of /fs2 will not include the files and directories
specified by the EMC_EDIR and EMC_EFILE statements:
set HIST=y
set TYPE=tar
set EMC_EDIR01=/fs2/l*
set EMC_EDIR02=/fs2/Ndmp*
set EMC_EDIR03=/fs2/NAS*
set EMC_EDIR05=/fs2/j*
set EMC_EFILE01=*tar
set EMC_EFILE03=*dat
set EMC_EFILE02=*dat
set EMC_EDIR04=/fs2/Millions
set UPDATE=y
/fs2
The Celerra Server creates a snapshot, and the backup is created from the snapshot.
The snapshot is managed by the EMC Celerra, not by NetBackup.
set snapsure=yes
set type=vbb
/testfs
NAS appliance information for NDMP 170
Vendor-specific information
For restrictions and other information on NDMP Volume Backup, refer to the
“Configuring NDMP Backups on Celerra” technical module on the Celerra Network
Server Version 5.5 Documentation CD. This CD is downloadable from the EMC
Powerlink website.
Hitachi HDI/VFP
General Information
This information is provided to help you use NetBackup for NDMP with the Hitachi
HDI/VFP system.
For further details, consult the Help within the administration console, or contact
Hitachi Corporation.
Access Configuration
Using SSH to access one of the processing nodes using the service account, run
the following command:
sudo ndmppasswd root oldpasswd newpasswd newpasswd
Device configuration
■ For a list of the devices that are attached to the system, run the following
command:
sudo tapelist
■ For a list of tape drives that are not yet configured for NDMP, run the following
command:
sudo tapelist –D
■ To add those drives for NDMP access, run the following command:
sudo tapeadd –a
NetBackup configuration
Note: The HDI/VFP system only supports the tar backup type. However, the default
type that NetBackup uses is dump. Therefore, you must add the following variable
to the NetBackup policy:
set TYPE=tar
NAS appliance information for NDMP 171
Vendor-specific information
Access Configuration
For access configuration options, including setting the NDMP username and
password, and enabling and disabling NDMP access, select Home > Data
Protection > NDMP Configuration within the administration console.
Device configuration
Once devices are attached to the HNAS, use the following sequence to
configure them for use with NDMP:
1 Allow access to the devices:
backup-device-allow-access all
4 If the drives are shared between multiple hosts, enable SCSI reservations on
the devices with the following command:
ndmp-option reserve_devices all
NetBackup configuration
You may use the following supported environment variables in the file list:
■ EXCLUDE
For example: set EXCLUDE="*mp3,core"
■ FUTURE_FILES
For example: set FUTURE_FILES=y
■ HIST
For example: set HIST=n
■ set LEVEL=i
NAS appliance information for NDMP 172
Vendor-specific information
For Hitachi NAS, setting LEVEL=i instructs the device to take an incremental
based off the most recent previous backup of any level.
Starting with NetBackup 7.7, you may set the LEVEL environment for Differential
Incremental backup schedules only. For Full or Cumulative Incremental
schedules, the value is ignored.
HP X9000 NAS
General Information
This information is provided to help you use NetBackup for NDMP with an HP
StorageWorks X9000 NAS system.
■ Documentation
For further details, refer to the following documentation:
■ X9000 File Serving CLI Reference
■ X9000 Administration Guide
Access Configuration
Once the tape libraries are detected and listed, the HP X9000 should be configured
to be the NDMP server.
To configure NDMP parameters on the management console GUI
1 Select Cluster Configuration from the Navigator
2 Select NDMP Backup.
The NDMP Configuration Summary shows the default values for the
parameters.
3 Click Modify on the Configure NDMP dialog box to configure the parameters
for your cluster. See online Help for a description of each field.
To configure NDMP parameters from the CLI, use the following command:
ibrix_ndmpconfig –c [-d IP1,IP2,IP3,...] [-m MINPORT] [-x MAXPORT]
[-n LISTENPORT] [-u USERNAME] [-p PASSWORD] [-e {0=disable,1=enable}]
–v {0=10}] [-w BYTES] [-z NUMSESSIONS]
The NDMP server starts automatically if NDMP sessions are enabled on the cluster.
You can use the following command to start, stop, or restart the NDMP server on
one or more file serving nodes:
ibrix_server –s –t ndmp –c { start | stop | restart} [-h SERVERNAMES]
NAS appliance information for NDMP 173
Vendor-specific information
Device configuration
Once the connection between HP X9000 and tape library is completed, it is essential
that HP X9320 detect and list the tape libraries connected to it.
To view the tape and media changer devices currently configured for backups
1 Select Cluster Configuration from the Navigator.
2 Select NDMP Backup > Tape Devices.
3 If you add a tape or media changer device to the SAN, click Rescan Device
to update the list. If you remove a device and want to delete it from the list, you
will need to restart all of the servers to which the device is attached.
To view tape and media changer devices from the CLI, use the following command:
ibrix_tape –l
For more information, refer to the HP StorageWorks X9320 Network Storage System
Administration Guide.
Troubleshooting
All X9000 IBRIX commands on CLI can be ran in the following path:
/usr/local/ibrix/bin.
■ Cluster events:
/usr/local/ibrix/log/events.log
■ NDMP logs
/usr/local/ibrix/logs/ndmp/tracelog
NAS appliance information for NDMP 174
Vendor-specific information
Huawei OceanStor V3
General Information
This information is provided to help with using NetBackup for NDMP with a Huawei
OceanStor V3 system. For further details contact Huawei.
Access Configuration
NDMP Settings are found in the Device Manager for the Huawei system: Settings
> Storage Settings > File Storage Service > NDMP Settings.
Device configuration
Once devices are connected to the system, run the following from the command
line on the Huawei system to rescan for devices:
admin:/> change service ndmp_scanbus
Then, restart the NDMP service from the NDMP Settings window in the Device
Manager.
NetBackup configuration
File systems are presented over NDMP as /fs?, where “?” is the file system ID.
To determine the available file systems use the following command:
Available
ID Name ... Capacity ... Capacity ...
-- --------- ... --------- ... --------- ...
0 NFS100G1 ... 100.000GB ... 79.632GB ...
1 CIFS100G1 ... 100.000GB ... 79.576GB ...
2 NFS100G2 ... 100.000GB ... 79.632GB ...
Note: The ALL_FILESYSTEMS feature that was introduced in NetBackup 7.6 uses
the NDMP_CONFIG_GET_FS_INFO NDMP command to get a list of file systems that the
system presents over NDMP. The Huawei system supports this command, but it
reports “/” as the only available file system. This is not a valid file system for use
with NDMP. This means that the ALL_FILESYSTEMS and VOLUME_EXCLUDE_LIST file
list directives are not supported with this system.
NAS appliance information for NDMP 175
Vendor-specific information
Device configuration
Tips for robotic devices
■ To display the robot device file, sign on to the IBM Nxxxx host and enter the
following command:
sysconfig -m
The device names in the output are in the format mcN, where N is 0 or higher.
Example sysconfig output:
Troubleshooting
The logs on the IBM Nxxxx filer must be viewed through an NFS or CIFS mount
point. On the IBM filer, general messages appear in /etc/messages.
Other
■ The NDMP service is controlled by the Data ONTAP administrative interface or
the following commands:
ndmpd on(Starts the NDMP service.)
ndmpd off(Stops the NDMP service.)
ndmpd status(Displays the status of the NDMP service including any active
NDMP sessions.)
ndmpd probe session-number(Displays details about the specified session.)
■ By default, the NDMP service is not started at boot time. To start it, add the
following line to the end of the /etc/rc file on the IBM system:
ndmpd on
Known restrictions
■ The user name used with the tpconfig command must be defined as root for
each data mover.
■ If you eject a tape from an IBM Nxxxx-attached drive and then try to open the
device, it will reload the tape. This happens when the device is still UP and the
NetBackup automatic-volume-recognition daemon (avrd) polls it.
Access Configuration
To enable the NDMP option Program Package (PP), use a browser to start the
package installer. See the NEC Storage NV Series Software – Maintenance
Manual for more details.
Device configuration
■ Robot
To find the robot device name, use the telnet command to log in to the NEC
Storage NV system. Then run the following command:
dmesg | grep “scsi generic”
Example output:
The tape device names, to be entered on the Add Drive display in the NetBackup
Administration Console, are /dev/nst0 for tape drive 1 and /dev/nst1 for tape
drive 2. Always use the drive names that begin with “n” because these are the
non-rewinding devices.
NetBackup configuration
The following directive must be placed at the start of the NetBackup policy’sBackup
Selections tab (file list):
set XFS=yes
This directive must be specified for all NetBackup backups of the NEC Storage NV
Series, otherwise the backup will fail. Note that the set XFS=yes directive must be
specified for both XFS and XFSFW file systems.
To use snapshots for NDMP backups, add the following directive to the file list:
set SANPSHOT=y
NAS appliance information for NDMP 178
Vendor-specific information
Troubleshooting
To enable debugging for NDMP, log in to the NEC Storage NV Series and add the
following lines to the /etc/sysconfig/ndmpd file:
LOGFILE=/var/dumpfile/ndmpd
DEBUG=yes
LEVEL=65535
Other
Known restrictions
■ The NEC Storage NV Series supports the NDMP protocol version V2 only.
■ The NEC Storage NV Series can back up only file systems, not subdirectories.
■ Only one backup or restore can be running per file system. For example, if a
backup job is currently backing up /export/sxfs/vol1, another attempt to back
up or restore /export/sxfs/vol1 at the same time will fail.
■ A second backup of the same file system could fail if started too soon after the
first backup of that file system. This is because a backup job needs time to
delete the snapshot after completion of the backup. Until the snapshot is deleted,
the second backup of the same file system cannot start. The same is true for
restores: a restore of a file system could fail if started too soon after a previous
restore of that file system.
NetApp
General Information
This information is provided to help you use NetBackup for NDMP with a NetApp
Network Attached Storage (NAS) filer.
For further details, refer to the following documentation or contact NetApp.
■ Data ONTAP Command Reference Guide
■ Data ONTAP System Administrator's Guide
■ Models
■ Documentation
Device configuration
Tips for control and configuration
NAS appliance information for NDMP 179
Vendor-specific information
■ For NDMP devices to share tape drives, tape reservation must be enabled in
the ONTAP software on the filer and on NetBackup. You can use either SCSI
persistent reservation or SCSI reservation. If you want to share tape drives,
note that the drive itself must support one of these types of reservation. To
enable SCSI reservation in Data ONTAP, enter either of the following at the
ONTAP command line on the filer:
■ By default, the NDMP service is not started at boot time. To start it, add the
following line to the end of the /etc/rc file on the NetApp system:
ndmpd on
■ To display tape device files, sign on to the NetApp host and enter the following
command:
sysconfig -t
Always use the drive names that begin with nr (such as nrst0a) because these
are the non-rewinding devices.
Example sysconfig output:
NetBackup configuration
■ If you eject a tape from a NetApp-attached drive and then try to open the device,
it will reload the tape. This happens when the device is still UP and the
NetBackup automatic-volume-recognition daemon (avrd) polls it.
■ Image Backup (formerly referred to as SnapMirror to Tape or SMTape) is a Data
ONTAP 8.0 feature that backs up an entire volume as a single file. Before Data
ONTAP 8.0, the feature was called SMTape, and it required the customer to
obtain a Product Variance Request from NetApp.
Note: This feature is not currently supported with NDMP backups from NetApp
storage configured with NetBackup Replication Director.
Troubleshooting
The logs on the NetApp filer must be viewed through an NFS or CIFS mount point.
On the NetApp filer, general messages appear in /etc/messages.
Other
Known restrictions
■ The user name used with the tpconfig command must be defined as root for
each data mover.
■ When restoring files, if the NetApp filer does not use Direct Access Recovery
(DAR), the destination path that you specify for the restore must end with the
original folder and file name. If the original backup path
was/vol/vol1/mydir/myfile, the destination path for the restore must end
with /mydir/myfile. Otherwise, NetBackup appends /mydir/myfile to the
end of the destination path.
For more details on DAR, and to determine whether DAR has been disabled in
NetBackup, refer to the NetBackup for NDMP Administrator's Guide.
names as the NDMP host name. This is configurable using the following ONTAP
command:
system services ndmp node-scope-mode [on|off]
Where on is Node-scope NDMP mode, and off is Vserver Aware NDMP mode.
ONTAP 8.2 C-mode (cluster mode) allows volumes to be moved from one node to
another node in a cluster. Movement of volumes is performed to provide
non-disruptive operations, high availability (failover), and resource balancing. NetApp
automatically moves volumes during a failover. However, moving volumes to another
node for maintenance or to provide load balancing will be performed by the NetApp
storage admin.
NetBackup supports the CAB extension with the NetBackup 7.7 release. There are
important considerations when configuring NetBackup to protect a NetApp Clustered
Data ONTAP environment running in either node-scope NDMP mode or Vserver
Aware NDMP mode.
In NetBackup, data is tracked by client name, which is the NDMP hostname that
is used to access the data. In cDOT, data is associated with a Vserver and hosted
on a physical node. These things need to be considered when configuring
NetBackup.
Another consideration is the availability of resources from the cluster, as illustrated
in Table 20-1:
Vserver-mode Vserver-mode
Non-CAB Non-CAB
Interface Node-scope- Aware CAB-Aware Node-scope- Aware CAB-Aware
Type mode NetBackup NetBackup mode NetBackup NetBackup
Cluster N/A All volumes on All volumes in N/A N/A All tape drives
Management the same node cluster in cluster
as LIF
Intercluster N/A All volumes on All volumes in N/A N/A All tape drives
the same node cluster in cluster
as LIF
NAS appliance information for NDMP 183
Vendor-specific information
Vserver-mode Vserver-mode
Non-CAB Non-CAB
Interface Node-scope- Aware CAB-Aware Node-scope- Aware CAB-Aware
Type mode NetBackup NetBackup mode NetBackup NetBackup
Node Name All volumes on N/A N/A All tape drives N/A N/A
node on node
NDMP host name in the NetBackup policy must be modified to that of the node
now hosting the volume, using the following command:
/usr/openv/netbackup/bin/admincmd/bpplclients policy_name -rename
old_host_name new_host_name
■ Because a data Vserver cannot see any tape drives attached to the cluster,
every backup of a data Vserver will be a three-way backup.
Cons
■ There is no visibility to tape drives in this configuration, so backups will still be
3-way.
■ A cluster_mgmt LIF has to be created on each node for the admin vserver.
■ It is still necessary to carefully track data when requesting a restore to ensure
the desired data is restored.
Nexenta
General Information
This information is provided to help you use NetBackup for NDMP with a
NexentaStor system.
For further details, contact Nexenta.
Access Configuration
To enable NDMP
1 Log in to Nexenta Management View.
2 Go to Settings > Misc. Services > NDMP Server.
3 Enable NDMP service.
Troubleshooting
■ To enable debugging, edit the /lib/svc/method/svc-ndmp file in line 43 to add
-d. For example:
/usr/lib/ndmp/ndmpd -d 2>&1 &
Other
To enable NDMP DAR
1 Connect to the Nexenta host with a secure shell (SSH).
2 Run !bash.
3 Enter the following command:
ndmpadm set dar-support=yes
In 4.0, DAR can also be enabled from the NDMP Configuration page of the user
interface.
To enable NDMP DAR from the Nexenta Management View (4.0 only)
1 Log in to Nexenta Management View.
2 Go to Settings > Misc. Services > NDMP Server > Configure.
3 Select the DAR support option.
Nexsan
General Information
This information is provided to help you use NetBackup for NDMP with a Nexsan
system.
For further details, contact Imation.
Access Configuration
To enable NDMP and set the user name and password
1 Log in to the Nexsan administration console.
2 Click the system name on the top of the window, then expand the options pane
by clicking the arrows in the bottom right of the window.
3 In the options pane, click on the NDMP tab
4 Click Enable NDMP.
NAS appliance information for NDMP 187
Vendor-specific information
Troubleshooting
To enable debugging for NDMP
1 Log in to the Nexsan system.
2 Run the following command:
nstndmp set debug-enable=true
Access Configuration
NDMP settings should be checked on the Oracle Axiom system and verified to
correspond to the NetBackup defined configuration. From the Axiom Storage
Manager GUI, navigate to Data Protection > NDMP Backup Settings > Modify
NDMP Backup Settings. This location also turns the NDMP port on and off on the
Axiom system.
Device configuration
To manually detect locally attached tape devices on the Axiom system, use the
Axiom Storage Manager GUI to navigate to Data Protection > Tape Devices, and
then select Check for Tape Devices from the Actions pull-down menu in the
middle of the window.
Troubleshooting
To access Axiom system logs
1 Log on to the Axiom Storage Manager GUI.
2 Click the Support button and then select Collect System Information under
the Tools menu on the left.
NAS appliance information for NDMP 188
Vendor-specific information
3 From the Actions pull-down menu in the bottom-middle of the window, select
Collect System Information.
4 Select the desired items from the Collection Scope list. Collecting system
information can take several minutes depending on the items selected.
5 After collection of system information completes, select Download Information
to Client from the Actions pull-down menu and select the location to save the
System Information. (It will be a tar file.)
Pre-requisites
To install the server software on any Solaris 11 server:
pkg install service/storage/ndmp
reboot
Service Configuration
To display the existing configuration:
ndmpadm get
The username and password for NDMP access is set when the service is enabled:
ndmpadm enable –a cram-md5 –u <username>
Enable DAR:
ndmpadm set dar-support=yes
Troubleshooting
To display where the service logs:
# svcs -l ndmpd
fmri svc:/system/ndmpd:default
name NDMP Service
enabled true
state online
next_state none
state_time May 13, 2015 12:54:07 PM CDT
logfile /var/svc/log/system-ndmpd:default.log
restarter svc:/system/svc/restarter:default
contract_id 123
manifest /lib/svc/manifest/system/ndmp.xml
dependency require_all/error svc:/milestone/self-assembly-complete
(online)
Other
If you specify an incorrect path name in the NetBackup policy’s Backup Selections
list (file list), the entire backup fails with status code 99, “NDMP backup failure.”
Stratus V Series
General Information
This information is provided to help you use NetBackup for NDMP with a Stratus
V Series system.
For further details on the Stratus V Series system, contact Stratus Technologies.
NetBackup configuration
The following directives must be placed at the start of the NetBackup policy's Backup
Selections tab (file list):
SET TYPE=save
SET SAVE_OPTIONS='-backup'
NAS appliance information for NDMP 190
Vendor-specific information
To learn more about the additional directives available for the Stratus V Series, see
the Stratus V Series documentation.
Troubleshooting
The Stratus VOS Enterprise Backup Agent creates the following log files. All are
stored on the Stratus system in the >system>ndmpd>log directory:
■ ndmpd_log.YY_MM_DD.out
■ save.YY_MM_DD.hh_mm_ss.process_id
■ macro.YY_MM_DD.hh_mm_ss.process_id
For more information about these files, refer to "Log Files" in the VOS Enterprise
Backup Agent online documentation.
Other
Known restrictions
■ The Stratus V Series does not support directory names greater than 32
characters. The limitation for files names is 255 characters.
■ The Stratus V Series does not support CIFS or NFS for file system access. To
access the Stratus file system, you must use SAMBA. To learn more about file
system access to the Stratus V Series, refer to your Stratus documentation.
■ The Stratus V Series uses its own operating system called VOS. To access the
VOS operating system directly, you must use a terminal emulator such as TTWIN
3.
■ The Stratus V Series supports the NDMP version 3 protocol only.
Chapter 21
Backup and restore
procedures
This chapter includes the following topics:
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 22
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.
Troubleshooting 196
About NetBackup for NDMP logs
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.
Table 22-1 NetBackup backup types and corresponding NDMP backup levels
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.
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.
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.
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.
Troubleshooting 202
About robot tests
Message Explanation
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 206
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 214
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 216
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 219
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 220
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 222
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 223
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 224
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 226
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.