You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here the source \contoso.com\data\private is a DFS and /hr folder is a subfolder (\contoso.com\data\private\hr)
\contoso.com\data\private\hr is a folder with target to say \contoso.com\something\hr
When he tried to exclude this folder in the azcopy, the exclusion does not happen
This is only happening when the source is a DFS.
We tested the following
Exclude path with source as Local drive works fine (eg source - c:/Private Exclude path "hr/" c:/Private/hr gets excluded)- working
Exclude path works fine with any source as UNC path (eg source - //contoso.com/share/Private Exclude path "hr/" //contoso.com/share/Private/hr gets excluded)- working
But when the source is a DFS and customer tried to exclude a path that is a reference path in DFS, It does not exclude it. (eg source - //contoso.com/share/Private Exclude path "hr/" and "hr" is a DFS path to //contoso.com//something //contoso.com/share/Private/hr does not gets excluded) - not working
How can we reproduce the problem in the simplest way?
Create a DFS having folder with targets. Run AZcopy with Exclude path on the folder
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered:
Which version of the AzCopy was used?
Note: version 10
Which platform are you using? (ex: Windows, Mac, Linux)
windows
What command did you run?
azcopy.exe sync "\contoso.com\data\private" "https://storagename.file.core.windows.net/usfscontoso/Unstructured/private?sv=[token-redacted]" --exclude-path "hr/" --exclude-pattern thumbs.db --recursive=true --from-to=LocalFile --delete-destination=prompt --put-md5 --preserve-smb-info=true --log-level=INFO --trailing-dot=Enable --dry-run;
What problem was encountered?
Background:
We are trying to sync his on prem folder through AZcopy sync and wants to exclude a folder
using the below command
azcopy.exe sync "\contoso.com\data\private" "https://storagename.file.core.windows.net/usfscontoso/Unstructured/private?sv=[token-redacted]" --exclude-path "hr/" --exclude-pattern thumbs.db --recursive=true --from-to=LocalFile --delete-destination=prompt --put-md5 --preserve-smb-info=true --log-level=INFO --trailing-dot=Enable --dry-run;
Here the source \contoso.com\data\private is a DFS and /hr folder is a subfolder (\contoso.com\data\private\hr)
\contoso.com\data\private\hr is a folder with target to say \contoso.com\something\hr
When he tried to exclude this folder in the azcopy, the exclusion does not happen
This is only happening when the source is a DFS.
We tested the following
How can we reproduce the problem in the simplest way?
Create a DFS having folder with targets. Run AZcopy with Exclude path on the folder
Have you found a mitigation/solution?
No
The text was updated successfully, but these errors were encountered: