Hi Kyle,
Below is the documentation from Ontap 6.3.1 - I would check you
authentication {md5|text) - see below
Copying data with ndmpcopy
What ndmpcopy is
The ndmpcopy command calls a filer-resident data migration tool that
controls the transfer of file system data between filers that support NDMP
v3 or v4 and the UFS dump format. The ndmpcopy command supports both full
and incremental data transfers; however, incremental transfers are limited
to a maximum of two levels (one full and up to two incremental). The
ndmpcopy command can transfer full or partial volumes, qtrees, or
directories, but cannot be used to copy individual files.
ndmpcopy functions as a simple NDMP data management application (DMA) that
performs data transfers by initiating a backup operation on the source filer
and recovery operation on the destination filer. It establishes separate
NDMP control connections with the source and destination filers, creates a
single NDMP data connection between the filers, and initiates backup and
recovery operations that result in the desired data transfer between the
source and destination.
Because ndmpcopy is an NDMP application rather than an NDMP server, it can
be executed at the command line of the source filer, the destination filer,
or a filer that is neither the source nor the destination of the data
transfer. It is also possible to execute ndmpcopy on a single filer that is
both the source and the destination of the data transfer. See the ndmpcopy
examples, next, for more information on supported data transfer topologies.
How to copy data using ndmpcopy
To copy data within a filer or between filers using ndmpcopy, complete this
step.
Note
The command can also be entered from a filer that is not the source or the
destination.
Step
Action
1 Enter the following command:
ndmpcopy [options][source_filer:]source_path
[destination_filer:]destination_path
options can be one or more of the following:
-sa username:[password]--Source authorization specifies the user name and
password to be used when connecting to the source filer.
-da username:[password]--Destination authorization specifies the user name
and password to be used when connecting to the destination filer.
-st {md5|text}--Sets the source authentication type to be used when
connecting to the source filer.
-dt {md5|text}--Sets the destination authentication type to be used when
connecting to the destination filer.
By default, md5 is the authentication type used. The text authentication
type exchanges the user name and password over the network in clear text.
The md5 authentication type exchanges the user name and password over the
network in encrypted form.
-l level--Sets the dump level used for the transfer to the specified value
of level. Valid values for level are 0, 1, and 2, where 0 indicates a full
transfer and 1 or 2 an incremental transfer. The default level is 0.
-d--Enables generation of ndmpcopy debug log messages. ndmpcopy debug log
files appear in the root volume /etc/log directory. The ndmpcopy debug log
file names are in the form ndmpcopy.yyyymmdd.
-f -- Enables forced mode. This mode enables overwriting system files in the
/etc directory on the root volume. See Example 5 for details.
-h--Prints the help message.
source_filer and destination_filer can be host names or IP addresses.
Examples of the ndmpcopy command
In these examples, network host names are used for the filers. ("myhost" is
used for a local filer and "remotehost1" and "remotehost2" are used for
remote filers.) If you specify host names when you use the ndmpcopy command,
the filer running the ndmpcopy command should be able to resolve these names
to their IP addresses. In UNIX, you can use the ping command to make sure
that host name resolution works.
Example 1:
This command migrates data from a source path (source_path) to a different
destination path (destination_path) on the same filer (myhost).
myhost> ndmpcopy -sa username:password -da username:password
myhost:/vol/vol0/source_path myhost:/vol/vol0/destination_path
This shorter form of the command achieves the same purpose:
myhost> ndmpcopy /vol/vol0/source_path /vol/vol0/destination_path
Because you are running the ndmpcopy command on myhost and the source and
destination filer are the same as myhost, you can omit the source and
destination filer names on the ndmpcopy command line. When your ndmpcopy
command is running on the same filer as the source filer or destination
filer, you can also omit the -sa or -da options.
Example 2:
This command migrates data from a source path (source_path) to a different
destination path (destination_path) on remotehost1.
myhost> ndmpcopy -da username:password /vol/vol0/source_path
remotehost1:/vol/vol0/destination_path
The destination filer must be specified in this case, because it is a remote
filer. The destination authorization is needed, but not the source
authorization.
Example 3:
This command migrates data from a source path (source_path) on remotehost2
to a destination path (destination_path) on myhost.
myhost> ndmpcopy -sa username:password -st text
remotehost2:/vol/vol0/source_path /vol/vol0/destination_path
The source authentication type specified by -st is text. The ndmpcopy
command tool running on myhost will authenticate with the source filer using
text authentication.
Example 4:
This command migrates data from a source path (source_path) on remotehost1
to a destination path (destination_path) on remotehost2.
myhost> ndmpcopy -sa username:password -da username:password -l 1
remotehost1:/vol/vol0/source_path
remotehost2:/vol/vol0/destination_path
The -l 1 option is used to do a level 1 transfer.
Example 5:
Without the -f option, the /etc directory and its contents on the root
volume of remotehost1 are protected from being overwritten with the /etc
directory from myhost, preventing unintentional changing of the system
characteristics after the root volume migration is completed.
myhost> ndmpcopy -da username:password /vol/rootvol
remotehost1:/vol/rootvol
To overwrite intentionally the /etc directory during the root volume
migration, use the -f flag as in the following copy.
myhost> ndmpopy -da username:password -f /vol/rootvol
remotehost1:/vol/rootvol
-----Original Message-----
From: kyle [mailto:kyle@source.intac.net]
Sent: Thursday, 30 January 2003 5:29 AM
To: toasters(a)mathworks.com
Subject: Problem with using ndmpcopy with a filer
I know that this isnt the correct forum to ask about ndmpcopy, but I do
know that some use ndmpcopy with their filers. What I am trying to do is
use ndmpcopy to copy a volume from a filer to a linux server running a
ndmp server(ndmpsdk).
Info:
Linux 2.4.18smp kernel, ndmpcopy 1.2
NetApp filer Release 6.1R1
I run the ndmpcopy command correctly(I believe; usage is below), but on my
filer console I get:
Wed Jan 29 13:33:22 EST [Java Thread:warning]: Ndmpd27: Top level
IOException
Wed Jan 29 13:33:22 EST [Java Thread:warning]: Ndmpd27: IO
exception: Socket closed.
My usage:
ndmpcopy $filer:/vol/vol0 -sport 10000 $linux_server:/$path -dport 10000
-v -dpass
Has anyone use ndmpcopy successfully? Is my usage incorrect?
Thanks,
K.
**** ASI Solutions Disclaimer ****
The material transmitted may contain confidential and/or privileged
material and is intended only for the addressee. If you receive this in
error, please notify the sender and destroy any copies of the material
immediately. ASI will protect your Privacy according to the 10 Privacy
Principles outlined under the new Privacy Act, Dec 2001.
This email is also subject to copyright. Any use of or reliance upon this
material by persons or entities other than the addressee is prohibited.
E-mails may be interfered with, may contain computer viruses or other
defects. Under no circumstances do we accept liability for any loss or
damage which may result from your receipt of this message or any
attachments.
**** END OF MESSAGE ****