I'm putting a picture of the origin and destination
Storage IBM
Storage NetApp
.snapshot -> default snapshot folder NetApp
.snapshot-> default snapshot folder IBM
The data is not overwritten, as in NetApp the folder is .snapshot and in IBM it is .snapshots
By the documentation xcp already skips the copy of the entire folder with the name .snapshot, however as in the origin the storage keeps the folder with the name .snapshots I need to skip the copy using filters in the parameter -match
I tested the parameters:
xcp copy -match -match "'/.snapshots/' not in str (x)" <source> <target>
xcp copy -match "'snapshots' not in name" <source> <target>
However, as seen in the print, the folder is created in NetApp