|After you have completed the steps in Configuring Tivoli Data Protection for NDMP, you are ready for NDMP operations. Use either a |client interface or the administrative interface described in Interfaces Used for Tivoli Data Protection for NDMP to perform a file system image backup. For example, |to use the Windows NT backup-archive client interface to back up a file system |named /VOL/VOL1 on a NAS file server named NAS1, enter the following |command:
|dsmc backup nas -nasnodename=nas1 {/vol/vol1}
|For more information on the command, see Tivoli Storage Manager for |Windows Using the Backup-Archive Client or Tivoli Storage Manager |for UNIX Using the Backup-Archive Client.
|You can perform the same backup operation with a server interface. |For example, to back up the file system named /VOL/VOL1 on a NAS file server |named NAS1, using the administrative command line, enter the following |command:
|backup node nas1 /vol/vol1
|You can restore the image using either interface. Backups are |identical whether they are backed up by using the client interface or by using |the server interface. For example, suppose you want to restore the |image backed up in the previous examples. For this example the file |system named /vol/vol1 is being restored as /vol/vol2. Restore the file |system with the following command, issued from a Windows backup-archive client |interface:
|dsmc restore nas -nasnodename=nas1 {/vol/vol1} {/vol/vol2}
|You can choose to restore the file system by using a server |interface. For example, to restore the file system name /VOL/VOL1 as |file system /VOL/VOL2, for a NAS file server named NAS1, enter the following |command:
|restore node nas1 /vol/vol1 /vol/vol2