New-DbaDbSnapshot - Database error with multiple files in the primary filegroup #10206
Unanswered
AndersonSouzaDBA
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The command is New-DbaDbSnapshot -SqlInstance localhost -Database StackOver -Name StackOver_Snap -Path C:\SQL_Snap and the error An exception while executing a transaction-sql statement or batch. All files must be specified for database snapshot creation, missing the file "StackOver_1".

By creating a T-SQL script, the snapshot process is successful.
Beta Was this translation helpful? Give feedback.
All reactions