Home / Reference / NDMP on ONTAP

NDMP Backup & Restore on ONTAP

Network Data Management Protocol (NDMP) allows Data Management Applications (DMAs like Commvault, Veeam, NetBackup, and IBM Spectrum Protect) to backup and restore NAS volume contents directly to tape, VTL, or disk without traversing a client filesystem. This guide explains scoping modes, Cluster-Aware Backup (CAB), credential generation, network routing, and session troubleshooting in ONTAP 9.

NDMP Architecture & Topologies

NDMP separates the control path from the data path during backups. The DMA (backup server) orchestrates the session via TCP port 10000, instructing the ONTAP NDMP service where to read data and where to stream the resulting backup stream.

Node-Scoped vs SVM-Scoped NDMP

ONTAP 9 supports two distinct operational modes for NDMP. In modern environments, SVM-scoped mode is the standard best practice:

FeatureNode-Scoped NDMPSVM-Scoped NDMP (Recommended)
ScopeCluster/Node level (legacy 7-Mode parity)Scoped strictly to individual Storage Virtual Machines (SVMs)
Cluster-Aware Backup (CAB)NoYes (automatic volume locality negotiation)
AuthenticationPer-node root or dedicated NDMP userSVM-specific local users or cluster admin
Data LIF UsageNode management LIFs / interclusterSVM data LIFs with data-backup service policy
Multi-tenancyPoor (global cluster visibility)Strict multi-tenant boundary per SVM

Cluster-Aware Backup (CAB) Explained

In a clustered ONTAP system, volumes can reside on any node and can move seamlessly via Volume Move. Cluster-Aware Backup (CAB) extension allows DMAs to query the cluster topology dynamically. When a backup starts, the DMA queries the SVM's CAB interface, discovers which node owns the active aggregate/volume, and establishes the NDMP data connection directly to the optimal node LIF, avoiding cross-cluster intercluster interconnect bottlenecks.

Step-by-Step Configuration Runbook

1. Enable SVM-scoped NDMP mode

cluster::> system services ndmp node-scope-mode status
cluster::> system services ndmp node-scope-mode off

2. Enable NDMP on the target SVM

cluster::> vserver services ndmp on -vserver svm_nfs
cluster::> vserver services ndmp show -vserver svm_nfs

3. Generate NDMP user password

NDMP uses a dedicated authentication hashing mechanism. Generate a password for the backup user:

cluster::> vserver services ndmp generate-password -vserver svm_nfs -user backup_admin
Generated password for user 'backup_admin': x9kL#mP2$qR8vN1

4. Verify service policy on SVM Data LIFs

Ensure the data LIFs assigned to the SVM include the data-backup or management-ndmp service policy to accept TCP port 10000 connections:

cluster::> network interface show -vserver svm_nfs -fields service-policy
cluster::> network interface service-policy show -policy default-data-files

Dump vs SMTape Engines

Active Sessions & Troubleshooting

# Check active NDMP backup/restore sessions
cluster::> vserver services ndmp status -vserver svm_nfs

# View detailed active session logs
cluster::> vserver services ndmp probe -vserver svm_nfs

# Terminate a hung or stalled NDMP session
cluster::> vserver services ndmp kill -vserver svm_nfs -session-id 12

Common issues include:

Security & Port Requirements