- Posts: 6
- Liked: never
- Joined: Feb 13, 2018 6:39 pm
- Full Name: Mike Richter
Restore-VESQLDatabase : The specified file already exists on the target server.
I'm using -Force switch which should allow the job to overwrite the file, but it doesn't seem to be working. I've verified that the account running the job has full access to the DB and Log files so they should be able to overwrite them at the file system level. I could write to a different file, but since it is a nightly task, the issue would occur the second time it ran. Any ideas?? His is my Restore-VESQLDatabase line:
Restore-VESQLDatabase -Database $clDatabase -ServerName $destDBsrv -InstanceName $destDBInst -Force
I've verified the variables are all being populated correctly by DB objects and server/instance names... Any Ideas?
Users browsing this forum: No registered users and 2 guests