-
Notifications
You must be signed in to change notification settings - Fork 1
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
Restore-SqlDatabase times out with "The wait operation timed out" #60
Comments
Can confirm. The same happens to us. |
I have the same issue on my powershell restore script. updated database connection timeout to 0 and used that -ConnectionTimeout on the command but it didn't work. powershell.exe : Restore-SqlDatabase : The wait operation timed out
At C:\db_refresh\db_refresh.ps1:45 char:1
|
Looks like separate |
I was using the Restore-SqlDatabase command, so it wasn't possible to set those separately. But I will try to use Invoke-Sqlcmd instead Restore-SqlDatabase. |
Yes, |
When restoring a large database using
Restore-SqlDatabase
the command times out after 600 seconds. This is regardless of theConnectionTimeout
parameter setting. Tried setting it to 0 and setting it to a large number, it always times out. When usingInvoke-Sqlcmd
to restore the same it works when settingQueryTimeout
to 0The text was updated successfully, but these errors were encountered: