Home > NetApp > Migrating Data with NDMP

Migrating Data with NDMP

This is an example that I’ve used to copy data within a folder that’s within a qtree. This will prompt for password instead of requiring that you enter the password to be clearly visible in the console.

ndmpcopy -d -sa root -p -st md5 -da root -p -dt md5 SourceIP:/vol/volume_name/qtree_name/SourcFolder DestinationIP:/vol/volume_name/qtree_name/DestFolder

Here are additional syntax:

If using the Data ONTAP 7-mode command ‘ndmpcopy’
Build a command line:
ndmpcopy -d -sa <source_user>:<source_pass> -st <auth_type> -da <dest_user>:<dest_pass> -dt <auth_type> <hostname_or_IP>:<source_path> <hostname_or_IP>:<dest_path>

Example syntax for c-mode to c-mode NDMP-based copy using ndmpcopy:
netapp> ndmpcopy -d -sa root:netapp1 -st md5 -da root:netapp1 -dt md5 10.64.31.123:/madden-vs1/quotas/qt2 10.64.31.124:/madden-vs1/quotas2/qt2

Example syntax for a c-mode to 7-mode NDMP-based copy using ndmpcopy:
netapp> ndmpcopy -d -sa root:netapp1 -st md5 -da ndmp:v0smhhqZ -dt md5 10.64.31.123:/madden-vs1/quotas/qt2 10.64.31.43:/vol/chris2/qt2

Example syntax for a 7-mode to 7-mode NDMP-based copy using ndmpcopy:
netapp> ndmpcopy -d -sa ndmp:v0smhhqZ -st md5 -da ndmp:v0smhhqZ -dt md5 10.64.31.43:/vol/chris2/qt2 10.64.31.43:/vol/chris2/qt2-copy

To display general NDMP status information, enter the following command:ndmpd status

About these ads
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: