BACKUP LOG cannot be performed because there is no current database backup

前端 未结 14 591
[愿得一人]
[愿得一人] 2021-01-30 09:59

I tried to restore a database but this message showed. How do I restore this database?

Restore of database \'farhangi_db\' failed.
(Microsoft.SqlSer

相关标签:
14条回答
  • 2021-01-30 10:33

    In our case it was due to the Recovery Model on the primary database having been changed after we did the backup in preparation for setting up log shipping.

    Ensuring the Recovery Model was set to Full Recovery before doing the backup and setting up log shipping resolved it for us.

    0 讨论(0)
  • 2021-01-30 10:34

    Please see below image and apply changes in SqlServer :

    first right click on Database --> Task --> Restore --> Select Backup File --> Finally Apply Change in Options Tab.

    0 讨论(0)
  • 2021-01-30 10:38

    I just deleted the existing DB that i wanted to override with the backup and restored it from backup and it worked without the error.

    0 讨论(0)
  • 2021-01-30 10:41

    I fixed my error on restoring to non-existing DB from SQL 2008 to SQL 2014 by putting a check mark on Relocating to the new SQL2014 folder location.

    0 讨论(0)
  • 2021-01-30 10:42

    Another cause of this issue is when the Take tail-log backup before restore "Options" setting is enabled.

    On the "Options" tab, Disable/uncheck Take tail-log backup before restore before restoring to a database that doesn't yet exist.

    0 讨论(0)
  • 2021-01-30 10:43
    1. Make sure there is a new database.
    2. Make sure you have access to your database (user, password etc).
    3. Make sure there is a backup file with no error in it.

    Hope this can help you.

    0 讨论(0)
提交回复
热议问题