Amanda Enterprise supports backup and recovery of NDMP appliances using NDMPv4 (version 4) protocol. It does not support earlier versions of NDMP protocol. Amanda Enterprise supports Remote NDMP, Direct NDMP as well as 3-way NDMP configurations.
In Remote NDMP configurations, NDMP appliances such as Netapp Filers, Sun Unified Storage, EMC Celera and BlueArc storage are backed up to tape changers and disk attached to the Amanda server. Any NDMPv4 compliant device is likely to work with Amanda Enterprise. The backup and recovery data goes through the server. In Direct NDMP and 3-way NDMP configurations, Appliances can be backed up to a tape changer that is attached to a SAN or using iSCSI and is accessible from the appliance. The backup and recovery data is not transferred through the server. The Amanda backup server acts as a backup control program.
NDMP backup and recovery in Amanda Enterprise is implemented as an Amanda application. As a result, management of NDMP backup and recovery is identical to other applications. The Amanda disk list entries (DLEs) for NDMP can be present in a backup set that has other application DLEs. This configuration is not recommended.
The NDMP backups from an appliance can be restored to an appliance from the same vendor.
Configuring NDMP backups requires configurations steps using Zmanda Management Console and some manual steps.
The figure below shows an example backup configuration of /vol/zmanda_fs1 from Oracle Sun Storage with Host name "oraclesunstorage". This storage is configured for Direct TCP data path i.e, the storage volume is backed up to a tape changer directly. The backup data is moved directly from Oracle storage to tape changer and only catalog entries are sent to Amanda server.
Filer Host Name is the IP address or host name of the NDMP appliance.
Volume Name is the name of NDMP volume.
Directory is the directory in the NDMP volume that is being backed up.
Vendor is the NDMP appliance type. It can be Netapp, BlueArc, EMC Celera or Sun Unified Storage.
The Username and Password are the user credentials for performing backup and recovery from the NDMP appliance. The user should have privileges to perform NDMP backup and recovery.
Auth type can be MD5 or Text. This is the type of authentication used to connect to the NDMP appliance from the Amanda server.
Data Path can be DirectTCP or Amanda. The DirectTCP provides LAN free backups i.e, backups are sent directly from the appliance to the tape changer. The Amanda data path allows t
he user backup to NDMP appliances to the media accessible from the Amanda server. For DirectTCP data path, the staging area is automatically disabled.You can use only Amanda or DirectTCP data path in an Amanda server.
Compression and Encryption cannot be used for DirectTCP data path. Compression and Encryption can be performed for Amanda data path.
Click Add to save the configuration to the backup set. ZMC performs automatic verification of the configuration, when the configuration is saved.
You can schedule backups using Zmanda Management Console Backup When page or run immediate backups for the backup set from the Backup Now page.
The status of the backup are shown in the Monitor Backups page. Backup reports will be available under the Report tab in the Zmanda Management Console.
Use Zmanda Management Console Restore What page to select the backup images to be restored. The following figure shows restoration of NDMP appliance/filer with IP address 192.168.29.155 and directory/__VOLUME__/zmanda_fs1 (partially hidden). You can select backup you want to restore from using the Backup Date field. The Host Name field is always 127.0.0.1 for NDMP application.
Only Express Restore is supported for NDMP at this time.
In the Restore Where page, you can select where you want the data to be restored to. You can select a different appliance/filer or different directory as restoration target. In the following figure, the Destination Directory is the filer with IP address 192.168.29.155 and directory is /vol/restorevol/.
Data from a NDMP vendor can be restored only to the same vendor appliance. Temporary Directory and Destination User Name values are not used.
NDMP authentication for NDMP appliance 192.168.29.155 should be present in the NDMP authentication configuration file /etc/amanda/ndmp_filer_shares. This file should be readable only by amandabackup user. For example:
"192.168.29.155" "/vol/restorevol/" "root" "root_password" md5
or you can also have one entry for all volumes in a filer.
"192.168.29.155" "*" "root" "root_password" md5
Go to Restore Restore page to start the restoration process. Amanda Enterprise does not support Direct Access Recovery (DAR).
This section describes how to use Amanda recovery command amrecover to perform NDMP volume/directory restoration.
amrecover> sethost localhost
200 Dump host set to localhost.
amrecover> setdisk //netapp1.company.com/vol/vol3
200 Disk set to //netapp1.company.com/vol/vol3
amrecover> ls
2010-03-03-17-22-35 MyData
2010-03-03-17-22-35 MyMusic
...
amrecover> add *
Added file /MyData
Added file /MyMusic
amrecover> extract
amrecover> setproperty directory //netapp1.company.com/vol/vol2/restored/
This section provides guidelines on how to improve backup performance for NDMP backups from Netapp appliances. These guidelines are applicable for Oracle/ Sun as well BlueArc appliances also (please refer to appliance manual for configuration).
Run the following command on the Netapp filer:
options ndmpd.offset_map.enable off