Skip to content
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

When testing for a valid mount point, only the local computer is tested #1

Open
andrewtobin opened this issue Sep 16, 2021 · 2 comments
Assignees
Labels
bug Something isn't working fix in process

Comments

@andrewtobin
Copy link

Hey guys,

I'm trying to get VSS Application-Consistent snapshotting to dev and test working and have had real troubles with finding a good guide, but I'm working my way thru the powershell in the SSMS tooling to get this working for us.

I am having trouble requesting that the backup be mounted to a mount point and I noticed that in the ValidateDriveLetter function it tests if you have passed in a drive letter, and it also tests if that is instead a mount point, but the code only runs:
if ($False -eq (Test-Path -Path $DriveLetter))

To my understanding of powershell, this will only run on the current computer and not the remote computer that we check from the ComputerName being passed in?

This has stopped us from running this scripting on a remote server.

Thanks

@juliancates
Copy link

Hey Andrew, thanks for posting here about the issue you encountered with mount points on remote computers. The good news is that this is an issue that's been identified previously and the code has already been written to fix it. We'll be releasing an updated version soon which contains the fix.

Cheers!

@rquimbey
Copy link
Contributor

This is fixed in the 2.x branch which is almost ready to GA. We are a few days from finishing the user guide update and then we will post 2.0 here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fix in process
Projects
None yet
Development

No branches or pull requests

4 participants