简体   繁体   中英

How to restore SQL Server 2014 database backup to a SQL Server 2016?

I get backup of my 2014 version database and try to restore this in another server into database with same name and login. This SQL Server version is 2016.

When restoring the backup file, I get this error:

TITLE: Microsoft SQL Server Management Studio

Restore of database 'TravelEnterDB' failed. (Microsoft.SqlServer.Management.RelationalEngineTasks)

ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: BACKUP LOG cannot be performed because there is no current database backup. (Microsoft.SqlServer.SmoExtended)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=13.0.16106.4+((SSMS_Rel_16_5).170125-2137)&LinkId=20476

I first created this database in SQL Server 2016 and then tried to restore backup file.

I can restore this backup file in SQL Server 2014 currently.This file has no problem!

What is problem?

在此处输入图片说明

as noted by hmahdavi this works. "check " with replace " and uncheck " Tail log backup " restored successfully"

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM