Add-DbaAgDatabase: testing prerequisites for joining database to Availability Group failed #9481
Unanswered
ad-eternum
asked this question in
General
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.
-
I use Add-DbaAgDatabase as part of a script that moves databases between servers with AGs. All replicas are configured for automatic seeding.
Add-DbaAgDatabase fails with below error, whereas SQL statement "alter availability group ag_name add database db_name " works perfectly fine on the same server.
Error:
Testing prerequisites for joining database db_name to Availability Group ag_name failed. | All replicas are configured to use automatic seeding, but the database db_name was never backed up. Please backup the database or use manual seeding.
Beta Was this translation helpful? Give feedback.
All reactions