Log shipping

What should I do when the log shipping fails?

The log shipping job actually works as following :

  1. Create log or other type of backup from source database .
  2. Select backup , include backups created in backup job or previous log shipping job that not shipped.
  3. Restore backups to target database.

That is , even this time it fails (in backup or restore stage ), when it next runs , it will continue from last failure time point, and it can select backup or logs necessary automatically to restore to target database.

I get message "The statement BACKUP LOG is not allowed while the recovery model is SIMPLE ...".

If a database's recovery model is simple, such as master , model .etc system databases , it has no transaction log file , you can only do full and differential backup on this type of database.

But if you change database's recovery model to full or Bulk-logged , you can create transaction log backup from this database.

Following step show how the change a database's recovery mode :