0

Is there any way to back up a non readable secondary replica database to restore in a dev environment and then do dbcc checkdb? Will appreciate any help!

0

1 Answer 1

3

Backups are only allowed in readable secondaries, so not really.

Also you need to take in mind that running checkdb might be considered a production workload if you don't run it in production too.

You should be running checkdb on all your databases regardless primary or secondary and also your backups, that way you wouldn't have to license the instance where you restore your backups and run checkdb on them (you are validating backups, not production databases), otherwise MS can make you pay for that, but I'm not a licensing expert, so better ask to confirm this point.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.