hi, I have a database which is being log shipped to a secondary server. If i restart the sql server services in the first server what will happen? Thanks and Regards Akshay
If the log shipping process say backup of log is under progress then you will lose all uncommitted transactions and that are failed to written to log. For the next time when log shipping job starts to secondary server it will fail with log mismatch, you might need to apply full database backup in order to continue log shipping again. Log shipping works on LSN and any mismatch will cause issues in sync.