Skip to main content

Options for the ndmpcopy command

Contributors netapp-aoife

You should understand the options available for the ndmpcopy nodeshell command to successfully transfer data.

The following table lists the available options. For more information, see the ndmpcopy man pages available through the nodeshell.

Option Description

-sa username:[password]

This option sets the source authentication user name and password for connecting to the source storage system. This is a mandatory option.

For a user without admin privilege, you must specify the user's system-generated NDMP-specific password. The system-generated password is mandatory for both admin and non-admin users.

-da username:[password]

This option sets the destination authentication user name and password for connecting to the destination storage system. This is a mandatory option.

-st {md5|text}

This option sets the source authentication type to be used when connecting to the source storage system.This is a mandatory option and therefore the user should provide either the text or md5 option.

-dt {md5|text}

This option sets the destination authentication type to be used when connecting to the destination storage system.

-l

This option sets the dump level used for the transfer to the specified value of level.Valid values are 0, 1, to 9, where 0 indicates a full transfer and 1 to 9 specifies an incremental transfer. The default is 0.

-d

This option enables generation of ndmpcopy debug log messages. The ndmpcopy debug log files are located in the /mroot/etc/log root volume. The ndmpcopy debug log file names are in the ndmpcopy.yyyymmdd format.

-f

This option enables the forced mode. This mode enables system files to be overwritten in the /etc directory on the root of the 7-Mode volume.

-h

This option prints the help message.

-p

This option prompts you to enter the password for source and destination authorization. This password overrides the password specified for -sa and -da options.

Note

You can use this option only when the command is running in an interactive console.

-exclude

This option excludes specified files or directories from the path specified for data transfer. The value can be a comma-separated list of directory or file names such as .pst or .txt.