“The transaction log for database is full due to 'LOG_BACKUP'” in a shared host

后端 未结 6 827
孤街浪徒
孤街浪徒 2021-01-30 09:50

I have an Asp.Net MVC 5 website with EntityFramework codefirst approach in a shared hosting plan. It uses the open source WebbsitePanel for control panel and its SQL Server pane

6条回答
  •  -上瘾入骨i
    2021-01-30 10:29

    This error occurs because the transaction log becomes full due to LOG_BACKUP. Therefore, you can’t perform any action on this database, and In this case, the SQL Server Database Engine will raise a 9002 error.

    To solve this issue you should do the following

    • Take a Full database backup.
    • Shrink the log file to reduce the physical file size.
    • Create a LOG_BACKUP.
    • Create a LOG_BACKUP Maintenance Plan to take backup logs frequently.

    I wrote an article with all details regarding this error and how to solve it at The transaction log for database ‘SharePoint_Config’ is full due to LOG_BACKUP

提交回复
热议问题