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
Ensure you are able to reproduce it on the latest released version (we release often)
Verified this bug is not already reported in an issue
Verified errors are not related to permissions
Can reproduce in a clean PowerShell session (clean = powershell -NoProfile)
Describe the bug
When not supplying -Destination to New-DcnClone and running this command remotely, the path resolution fails since the path is only valid on the remote host.
I think since we're fetching from the instance's default data dir, we can safely just + the values together instead? That has worked for me locally. Happy to make a PR if that works as a solution.
Join-Path : Cannot find drive. A drive with the name 'X' does not exist.
At C:\Program Files\WindowsPowerShell\Modules\PSFramework\1.6.214\PSFramework.psm1:11474 char:21
Expected behavior
It should be able to handle a default data directory that doesn't exist on the local machine when the destination instance is remote.
The text was updated successfully, but these errors were encountered:
Before submitting the bug
powershell -NoProfile
)Describe the bug
When not supplying
-Destination
toNew-DcnClone
and running this command remotely, the path resolution fails since the path is only valid on the remote host.I think since we're fetching from the instance's default data dir, we can safely just
+
the values together instead? That has worked for me locally. Happy to make a PR if that works as a solution.dbaclone/functions/clone/New-DcnClone.ps1
Lines 237 to 240 in 1386e86
To Reproduce
Steps to reproduce the behavior:
results in
Expected behavior
It should be able to handle a default data directory that doesn't exist on the local machine when the destination instance is remote.
The text was updated successfully, but these errors were encountered: