Using ndmpcopy from VNX / Unity to VNX / Unity
A Linux ndmpcopy binary is available from support.emc.com
it includes a man page
A couple of tips:
– You need to configure a NDMP password both on the src and dst NAS server (sa/da option)
– src path can be a file system or a snapshot – check with CIFS/NFS/ftp that its valid
– dst path has to be on a writeable file system – on a replication destination NAS server you cannot write directly into / since that would be that NAS server root which isn’t writeable
– dst path directory will be created if it doesn’t exist – unless it’s on the NAS server readonly root
– ndmpcopy doesn’t support a single file as the src – so you need to copy at least a directory
– ndmpcopy works file based so src/dst can be any directory in the file system
– user and tree quotas as well as shares need to be recreated seperately on the dst if needed
Copying from the read-only manual checkpoint called “ro” of file system fs3_multi on a read-only dst NAS server of a Unity system to a writeable file system fs1_multi on another Unity system into directory restored_fs3
service@unknown spa:~> ./ndmpcopy 10.245.19.153:/ro/test_fs3 10.245.19.147:/fs1_multi/restored_fs3 -sa ndmp:NdmpNdmp1! -da ndmp:NdmpNdmp1! -sport 10000 -dport 10000 -level 0
Connecting to 10.245.19.153. Connecting to 10.245.19.147. 10.245.19.153: CONNECT: Connection established.10.245.19.147: CONNECT: Connection established. 10.245.19.153: LOG: SnapSure file system creation succeeds10.245.19.153: LOG: server_archive: emctar vol 1, 13 files, 0 bytes read, 1983480 bytes written
10.245.19.153: HALT: The operation was successful!
Waiting for 10.245.19.147 to halt too. 10.245.19.147: LOG: server_archive: emctar vol 1, 13 files, 1983480 bytes read, 0 bytes written
10.245.19.147: HALT: The operation was successful!
The transfer is complete.
Elapsed time: 0 hours, 0 minutes, 7 seconds