ONTAP Discussions

Can I use NDMPCOPY with complex folders names?

behbhelpdesk
3,629 Views

I am trying to do a simple copy from one NTFS volume to another on the same filer.

The folder names, however, contain spaces and commas.

I am getting the following error with the source path name:

Ndmpcopy: NetAppFiler1: Log: DATA: Backup terminated: backup configuration failure (2) on RPC error: ERROR: BAD ENV OP (then the path here)

I put quotes before and after the source and destination path (which was helpful for the spaces). Any ideas?

I can't rename the source folders as they are in a SnapShot.

- Elan

2 REPLIES 2

rwelshman
3,629 Views

Have you tried using a \ (or /) in front of the comma to see if it would escape it? I think it is parsing the data after the comma as a potential additional parameter, so if you can't escape it, I don't think ndmp will handle it.

behbhelpdesk
3,629 Views

Ryan,

I haven't tried it, but I will. My preliminary checks show that there isn't a way to escape it in ONTAP CLI.

See: http://www.wafl.co.uk/tag/cli/

- Elan

Public