In this article, I will explain how to take log backups frequently by creating a Log Backup Maintenance Plan in SQL Server 2016.

Consideration

Before you begin, you should be aware of the following,

Note
Steps

To keep the log from filling up, you should take log backups frequently by creating a Log backup maintenance plan as follows.
  • Connect to the SQL Server.
  • From Object Explorer > Management > Maintenance Plan Wizard.
  • The Maintenance Plan Wizard should be shown. Click Next.
  • Set the Maintenance Plan > click Change to set the schedule.
  • Set the Schedule setting as you prefer. Click OK, then Next.
  • In Maintenance Tasks > Select Backup database Transaction log > Next.
  • In Task Order, we only have one task, so click Next.
  • In General tab, click on the Database(s) drop-down list.
  • Select the desired database, or select all databases based on your requirement.
  • In Destination tab, Specify The folder that should contain the automatically created database files, Specify the backup file's extension. (The default is .trn)
  • On the Option tab, check "verify the backup integrity" to make sure the backup has been completed successfully and all volumes are readable.
  • Specify the report path > Check email report if you need to receive a report by email.

    • You should configure email setting in SQL to can send the report by email.
  • Click Finish to complete the Maintenance Plan Wizard.
  • The maintenance plan has been created successfully, click close.
  • To test and execute the Maintenance Plan, Go to > Right click on the created maintenance plan > select execute
  • Go to the backup path where the backup log has been created successfully.
Applies To
Conclusion

In this article, we have learned how to create a Log Backup Maintenance Plan in SQL Server 2016.

Reference

Create Log Backup Maintenance Plan in SQL Server

See Also

The transaction log for database ‘SharePoint_Config’ is full due to ‘LOG_BACKUP