hello, I'm performing a migration from an IBM Spectrum storage to NetApp C-Mode using xcp nfs, however the ibm storage has a particularity the snapshots folder is created with the name ".snapshots" and this is causing my copy to slow down.
I tested the scenario using the syntax below:
xcp copy -match -match "'/.snapshots/' not in str (x)" <source> <target>
I managed to make the copy without taking the data but the entire folder structure was created.
I tested this is another syntax
xcp copy -match "'snapshots' not in name" <source> <target>
The result was the same created the entire folder structure and did not take the data,
Both scenarios suit me but I would like to try to optimize because the scan of the entire volume snapshot structure at IBM is making xcp slow, and in the end I am obliged to access the destination and delete this folder so as not to confuse the users.
Is there a filter that does not copy this folder, similar to robocopy -XD?