Good day!
I'm new to log shipping. I have setup two SQL Server. One is the primary database server and the other one is the secondary database server for Disaster Recovery.
I tried to do logshipping. From the primary server, I back up the 'TestDB' database and copy & restore it to the secondary server. I chose the standby mode. Everything was fine. Then I shutdown the primary server to test if the logshipping is working. Then I restore the secondary server using this command 'RESTORE DATABASE TestDB' and then it was successful.
My problem now is that when I switch on the primary server, I don't know how to make it as the online database and bring back the secondary database server to standby/read-only mode.
I hope someone could help me with my problem.
Thank you.