Ask Your Question
0

How to initiate log shipping again when it is not synchronized?

asked 2022-09-07 11:00:00 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-08-14 03:00:00 +0000

plato gravatar image
  1. Check the causes of the unsynchronized state: Before attempting to do anything, it is crucial to identify the causes of the log shipping not being synchronized. Some of the common reasons could be network issues, a failure of the primary or secondary server, or database corruption, among others.

  2. Set Up a Baseline: Setting up a baseline involves backing up the primary database, copying the backup file to the secondary server, and restoring it with "NO-RECOVERY" option. This process sets a starting point for the log shipping process.

  3. Configure and Enable Log Shipping: After setting up the baseline, log in to the primary server and configure log shipping again. Use the original settings and ensure that you set the copy and restore jobs up to the point in time where the log shipping was last synchronized.

  4. Restore the Last Backup: Once the jobs have been created, it is necessary to restore the last backup taken on the primary server to the secondary server using the "NO RECOVERY" option.

  5. Monitor the Process: With the log shipping process initiated, continuously monitor the log shipping status to ensure that the synchronization is taking place.

  6. Troubleshoot Issues: Monitor the logs to identify any errors that could occur during the log shipping process. If any errors are identified, troubleshoot and resolve them before they become severe.

  7. Ensure That Security Settings Are Correct: Double-check the security settings on the backup file and secondary server to ensure that they are accurate.

  8. Reconfigure Security Settings: If the security settings do not match the log shipping configuration settings, then configure them accordingly.

  9. Repeat: If the synchronization is successful, continue with the log shipping process. If not, repeat the process until synchronization is achieved.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-09-07 11:00:00 +0000

Seen: 15 times

Last updated: Aug 14 '21