0

I changed the database (foo) mode from "Standby / Read-Only" to Active by using the following statement:

restore database foo with recovery

After that, I changed the mode back to Active by using the following statement:

ALTER DATABASE foo SET READ_WRITE

Then, I changed back to "Read-Only" by using user interface here:

Properties --> Options --> State --> Database Read-Only --> changed to 'True':

enter image description here

Now, I am trying to go back to the original state "Standby / Read-Only" mode (original).

How do I go about doing that?

2

1 Answer 1

4

You can go from Standby back to Restoring, but after recovery you can't go back to Restoring without restoring the backups again with norecovery.

Your Answer

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

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