NDMP Backup Configuration

This article is for Amanda Enterprise (AE)

  • If there is a firewall on the Amanda Server, a rule should be added to trust each NDMP device being backed up.
  • NDMP service must be enabled on the NDMP appliance
  • NDMP License must be part of the /etc/zmanda/zmanda_license file

Configuring NDMP volumes/directories for Backup

We recommend the creation of separate backup sets for NDMP backup.

Add NDMP entries to the backup set using Backup | What:

Select NDMP from Filesystem:

Filer Host Name: IP of NDMP Filer
Volume Name: Name of NDMP volume
Directory: Directory of NDMP volume being backed up
Vendor: NDMP vendor
Username: Username for NDMP filer with NDMP backup and restore permissions
Password: Password to match above username
Auth Type: Type of authentication used to connect to NDMP appliance
Data Path:

DirectTCP – Backups are sent from appliance direct to changer, both accessible by the NDMP Filer
Amanda – Allows user to backup to media accessible from the Amanda Server

Compression & Encryption: Only allowed if using Amanda Data Path

Click Add

For Direct NDMP and 3-Way NDMP configurations, no backup device is required to be setup.

For Remote NDMP configurations a Disk, Tape, or Cloud device is required.

In /etc/amanda/ <backup set> (where <backup set> is replaced by the actual name of your backup set), verify there is a file ndmp_filer_shares. If there is not, create the file with the following content:

"IP of Filer" "/vol/backupvol" "root" "root_password" md5
Note: "/vol/backupvol" can be substituted with "/vol/restorevol" or a wildcard (*) can be used to include all.

Replace “IP of Filer� and “/vol/backupvol� with the filer’s IP address and the path to the backup volume, respectively.

This file will need to be readable only by the amandabackup user, which can be done with the following command:

chown amandabackup /etc/amanda/ <backup set>/ndmp_filer_shares
chmod 600 /etc/amanda/ <backup set>/ndmp_filer_shares

Improving Backup Performance

  • Netapp filers support up to 16 backup and restore operations at a time. This means we can split the backup into multiple sets and do them in parallel.
  • 3-Way NDMP works well for this as the Amanda Server does not create a bottleneck.
  • NDMP jobs have the lowest priority compared to all other tasks on Netapp Filers. Schedule jobs at a time where the filer is not in use or under heavy load.
  • Check whether DAR is disabled on the filer. If DAR is enabled this will greatly impact backup performance.
  • Faulty disks on the Filer that are part of the backup can greatly impact the performance as well.