現在のデータベースバックアップがないため、BACKUP LOG を実行できません。質問する

現在のデータベースバックアップがないため、BACKUP LOG を実行できません。質問する

データベースを復元しようとしましたが、このメッセージが表示されました。このデータベースを復元するにはどうすればよいですか?

データベース 'farhangi_db' の復元に失敗しました。
(Microsoft.SqlServer.Management.RelationalEngineTasks)
------------------------------ 追加情報:

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

ベストアンサー1

Originally, I created a database and then restored the backup file to my new empty database:

Right click on Databases > Restore Database > General : Device: [the path of back up file] → OK

This was wrong. I shouldn't have first created the database.

Now, instead, I do this:

Right click on Databases > Restore Database > General : Device: [the path of back up file] → OK

おすすめ記事