Amanda Enterprise supports backup and recovery of NDMP appliances using NDMPv4 protocol. It does not supprot earlier versions of NDMP protocol. Amanda Enterprise supports Remote NDMP, Direct NDMP as well as 3-way NDMP configurations.
In Remote NDMP configurations, NDMP appliance such as Netapp Filers, Sun Unified Storage appliances are backed up to tape changers and disk attached to the Amanda server. The backup and recovery data goes through the server.
In Direct NDMP and 3-way NDMP configurations, Appliances can backed up to a tape changer that attached to a SAN and is accessible from the appliance. The backup and recovery data is not transferred using the server. The Amanda backup server acts as a backup control program.
The NDMP backups from an appliance can be restored to an appliance from the same vendor.
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.
Configuring NDMP backups requires configurations steps using Zmanda Management Console and some manual steps.
The Host Name for NDMP DLE must be always 127.0.0.1 because the backups are initiated from the Amanda server. The Share Name must have //<name or ip address of the filer or appliance>/<volume name or directory name> format. In the above example, 172.17.47.2 is the IP address of the filer. The Network Domain must be the IP address or the name of the filer. The Username and Password are the user credentials for performing backup and recovery from the filer using NDMP.
Compression and Encryption cannot be used for NDMP DLEs.
This authentication file should be readable only by amandabackup user. An example cifs_network_shares file is shown below:
172.17.47.2 /vol/vol1/data "root" "root_password" TEXT
172.17.47.2 is the IP address of the Netapp filer. /vol/vol1/data is the DLE. root is the user on the Netapp filer used for the backup operations and password for the user is root_password. The password must not be encrypted.
Edit define dumptype zmc_ndmp_app definition. Add the following:
data-path directtcp
Edit define application-tool app_amndmp definition. Make the following changes:
#property "AMANDAPASS" "cifs_network_shares" property "PASSFILE" "/etc/amanda/<backup set name>/cifs_network_shares" property "PORT" "10000" property "BU-TYPE" "dump"
$ amcheck -c <backup set name>
Please resolve any configuration errors found.
This procedure has to be performed for Direct NDMP and 3-way NDMP configurations.
Configuration of NDMP tape changer has to be done manually. You can create a backup to disk configuration using Zmanda Management Console Backup Where and Admin Devices page and use it as a template.
You can schedule backups using Zmanda Management Console Backup When page or run immediate backups for the backup set from the Backup Activate page.
The status of the backup are shown in the Monitor page. Backup reports will be available under the Report tab in the Zmanda Management Console.
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 /rhel4-32.vmx
Added file /rhel4-32.vmdk
amrecover> extract