Veritas NetBackup™ for NDMP Administrator's Guide

Last Published:
Product(s): NetBackup (8.1.2)
  1. Introduction to NetBackup for NDMP
    1. About NetBackup for NDMP
      1.  
        NetBackup for NDMP features
      2.  
        NetBackup for NDMP terminology
    2.  
      About Network Data Management Protocol (NDMP)
    3. Types of NDMP backup
      1.  
        NDMP local backup
      2.  
        NDMP three-way backup
      3.  
        Backup to Media Manager storage units (remote NDMP)
    4.  
      About NDMP policies in NetBackup
    5.  
      About NetBackup storage units
    6. About assigning tape drives to different hosts
      1.  
        About robotics control
    7.  
      About the NDMP backup process
    8.  
      About the NDMP restore process
    9.  
      About Direct Access Recovery (DAR)
    10.  
      Snapshot Client assistance
    11.  
      About NDMP multiplexing
    12.  
      About NDMP support for Replication Director
    13.  
      Limitations of Replication Director with NDMP
    14.  
      About NDMP support for NetApp clustered Data ONTAP (cDOT)
  2. Installation Notes for NetBackup for NDMP
    1.  
      NetBackup for NDMP installation prerequisites
    2.  
      About existing NetApp cDOT configurations before you upgrade
  3. Configuring NDMP backup to NDMP-attached devices
    1.  
      About configuring NDMP-attached devices
    2.  
      Authorizing NetBackup access to a NAS (NDMP) host
    3.  
      About access for three-way backups and remote NDMP
    4. About Media and Device Management configuration
      1.  
        Adding a robot directly attached to an NDMP host
      2.  
        Adding a tape drive
      3.  
        Checking the device configuration
    5.  
      Using the Device Configuration Wizard to configure an NDMP filer
    6.  
      About adding volumes
    7.  
      About verifying NDMP password and robot connection
    8.  
      Adding NDMP storage units
    9. About creating an NDMP policy
      1.  
        Attributes tab options for an NDMP policy
      2.  
        Schedules tab options for an NDMP policy with Accelerator for NDMP enabled
      3.  
        Clients tab options for an NDMP policy
      4. Backup selection options for an NDMP policy
        1.  
          Wildcard characters in backup selections for an NDMP policy
        2.  
          ALL_FILESYSTEMS and VOLUME_EXCLUDE_LIST directives
      5.  
        About environment variables in the backup selections list
      6.  
        About appropriate host selection for NetApp cDOT backup policies
      7.  
        About backup types in a schedule for an NDMP policy
    10. About enabling or disabling DAR
      1.  
        Disabling DAR for file and directory restores
      2.  
        Disabling DAR for directory restores only
    11.  
      Configuring NetBackup for NDMP in a clustered environment
  4. Configuring NDMP backup to NetBackup media servers (remote NDMP)
    1.  
      About remote NDMP
    2.  
      Configuring NDMP backup to Media Manager storage units
  5. Configuring NDMP DirectCopy
    1. About NDMP DirectCopy
      1.  
        Prerequisites for using NDMP DirectCopy
      2.  
        NDMP DirectCopy with VTL
      3.  
        NDMP DirectCopy without VTL
    2.  
      Configuring NDMP DirectCopy
    3. Using NDMP DirectCopy to duplicate a backup image
      1. Requirements to use NDMP DirectCopy for image duplication
        1.  
          NetBackup policy type for image duplication
      2.  
        Initiating NDMP DirectCopy with the NetBackup Administration Console
  6. Accelerator for NDMP
    1.  
      About NetBackup Accelerator for NDMP
    2. About the track log for Accelerator for NDMP
      1.  
        How to redirect track logs for Accelerator for NDMP
    3.  
      Accelerator messages in the NDMP backup job details log
    4.  
      NetBackup logs for Accelerator for NDMP
  7. Remote NDMP and disk devices
    1.  
      About remote NDMP and disk devices
    2.  
      Configuring remote NDMP
  8. Using the Shared Storage Option (SSO)
    1.  
      About the Shared Storage Option (SSO) with NetBackup for NDMP
    2.  
      Setting up SSO with NetBackup for NDMP
    3.  
      Using the NetBackup Device Configuration Wizard for NDMP hosts
  9. Backup and restore procedures
    1.  
      About NDMP backups and restores
    2.  
      Performing a manual backup with an NDMP policy
    3.  
      Performing an NDMP restore from the server
  10. Troubleshooting
    1. About NetBackup for NDMP logs
      1.  
        Viewing NetBackup for NDMP logs
      2.  
        NDMP backup levels
    2.  
      General NetBackup for NDMP operating notes and restrictions
    3. NetBackup for NDMP troubleshooting suggestions
      1.  
        Troubleshooting NDMP media and devices on Windows
      2.  
        Troubleshooting NDMP media and devices on UNIX
      3.  
        Troubleshooting NDMP DirectCopy
      4.  
        Troubleshooting Direct Access Recovery (DAR) with NetBackup for NDMP
    4. About robot tests
      1.  
        TL8 robot test example for Windows
      2.  
        TLD robot test example for UNIX
      3.  
        TLH robot test example for UNIX
  11. Using NetBackup for NDMP scripts
    1.  
      About the NetBackup for NDMP scripts
    2.  
      ndmp_start_notify script (UNIX)
    3.  
      ndmp_start_notify.cmd script (Microsoft Windows)
    4.  
      ndmp_end_notify script (UNIX)
    5.  
      ndmp_end_notify.cmd script (Microsoft Windows)
    6.  
      ndmp_start_path_notify script (UNIX)
    7.  
      ndmp_start_path_notify.cmd script (Microsoft Windows)
    8.  
      ndmp_end_path_notify script (UNIX)
    9.  
      ndmp_end_path_notify.cmd script (Microsoft Windows)
    10.  
      ndmp_moving_path_notify script (UNIX)
    11.  
      ndmp_moving_path_notify.cmd script (Microsoft Windows)

ALL_FILESYSTEMS and VOLUME_EXCLUDE_LIST directives

The ALL_FILESYSTEMS directive provides a method to include all file systems and volumes on an NDMP filer in an NDMP backup policy.

You can exclude specific volumes from an ALL_FILESYSTEMS backup selection if you do not want to back up every volume on an NDMP filer. Use the VOLUME_EXCLUDE_LIST directive for this purpose. You may use valid wildcard characters in the VOLUME_EXCLUDE_LIST statement.

See Wildcard characters in backup selections for 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.

The VOLUME_EXCLUDE_LIST statements must precede ALL_FILESYSTEMS statement. For example:

VOLUME_EXCLUDE_LIST=/vol/Hr_allfiles_vol01
ALL_FILESYSTEMS

or

VOLUME_EXCLUDE_LIST=/vol/testvol*
ALL_FILESYSTEMS

To specify multiple values in a VOLUME_EXCLUDE_LIST statement, separate the values with a comma. For example:

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

A VOLUME_EXCLUDE_LIST statement may include a maximum of 256 characters. Create multiple VOLUME_EXCLUDE_LIST statements if necessary to avoid exceeding the limit of 256 characters. If you specify more than 256 characters, the volume list is truncated. A truncated statement may result in a backup job failure, and the error message Invalid command parameter(20) is displayed.

If the backup selection includes read-only volumes or full volumes, an NDMP backup job fails with the status code 20 (Invalid command parameter(20)). If you encounter a similar NDMP backup job error, review the ostfi logs to identify the volumes for which the failure occurred. You can use VOLUME_EXCLUDE_LIST statements with the ALL_FILESYSTEMS statement to exclude the read-only volumes and the volumes with insufficient space.

In a NetBackup Replication Director environment where snapshots are replicated to a secondary filer, Veritas recommends that you use storage lifecycle policies to control backups on the secondary filer.

On NetApp 7-mode storage systems, it is generally not recommended for users to store files in /vol/vol0 because the volume contains filer system files. For this reason, vol0 should be excluded from the backup if the ALL_FILESYSTEMS directive is used in the backup policy. The following is a backup selection list that excludes /vol/vol0:

VOLUME_EXCLUDE_LIST=/vol/vol0
ALL_FILESYSTEMS
  • Do not use ALL_FILESYSTEMS to backup all volumes on a secondary filer. Inconsistencies may occur when automatically created NetApp FlexClone volumes are backed up or restored. Such volumes are temporary and used as 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, Veritas recommends 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.

    For more information about creating backup policies for Clustered Data ONTAP with Replication Director, see the NetBackup Administrator's Guide, Volume I.

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).