NetApp Community Update
This site will enter Read Only mode on July 23 as we prepare to move to a new platform.
You will still be able to view content, but posting and replying will be temporarily disabled.
To learn more, please review the information in this blog post.

ONTAP Discussions

Can I use NDMPCOPY with complex folders names?

behbhelpdesk
4,537 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
4,537 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
4,537 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