Network Storage Protocols Discussions

xcp 1.6.2 excluding folder

hamedg

I need to exclude a folder from sync . I am using the following parameter however this does not seems to be working

-exclude "'folder-a/b/c/*'"

 

Idea is anything under folder c should be excluded. is this the correct format?

 

 

1 ACCEPTED SOLUTION

ttran

Hi Hamedg,

 

I looked into your request and see that the "-exclude" flag is now introduced in XCP 1.6.2, which the reference document for XCP 1.6.2 does not describe the flag or all the various parameters it supports. I have communicated this to our Engineering Team to update the documentation. I apologize in advance.

 

For your reference: XCP 1.6.2 to add exclude filter for files and folders 

 

Regards,

 

Team NetApp

Team NetApp

View solution in original post

4 REPLIES 4

hamedg

so correct answer is 

-exclude path('*path/to/your/folder*')

 

 

ttran

Hi Hamedg,

 

I looked into your request and see that the "-exclude" flag is now introduced in XCP 1.6.2, which the reference document for XCP 1.6.2 does not describe the flag or all the various parameters it supports. I have communicated this to our Engineering Team to update the documentation. I apologize in advance.

 

For your reference: XCP 1.6.2 to add exclude filter for files and folders 

 

Regards,

 

Team NetApp

Team NetApp

View solution in original post

JaganReddy

is there any update on what filters/formats can be used with -exclude?

markb1

Believe its in the 1.6.3 documentation now:

http://docs.netapp.com/us-en/xcp/xcp-filters.html

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public