-
Notifications
You must be signed in to change notification settings - Fork 222
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Azcopy doesn't recognize CNAME or the privatelink URI of the FILE uri #2893
Comments
AzCopy detects the storage type and couple of other things based on the URL so if the URL does not contain ".blob.core.windows.net" or ".file.core.windows.net" the copy/sync jobs will not work. |
@IfthikharAhamed Does setting the --from-to CLI parameter not work? |
even with the --from-to cli i am getting the same error: Tried with the privatelink.file.core.net & custom DNS name .myapp.local.am.net ERROR: |
I am trying to figure out a work around for the cross regional copy of AFS resource with multiple PE (one on the source VNET and another on DEST VNET). Due to the DNS issue having multiple PE, I am trying out to use a CNAME app.company.net instead of the file.core.windows.net,
The azcopy doesn't recognize the CNAME or the privatelink.core.file.windows.net DNS and failing as below.
Cannot perform sync due to error: trying to sync between different resource types (either file <-> directory or directory <-> file) which is not allowed.sync must happen between source and destination of the same type, e.g. either file <-> file or directory <-> directory.To make sure target is handled as a directory, add a trailing '/' to the target.
The text was updated successfully, but these errors were encountered: