“No backupset selected to be restored” SQL Server 2012

前端 未结 21 1812
一向
一向 2020-12-04 08:36

I have a SQL Server 2012 database with filestream enabled. However, when I backup it and try to restore it on another SQL Server 2012 instance (on another machine), I simply

21条回答
  •  清歌不尽
    2020-12-04 08:46

    For me, it was because the backup file was still open by another process. Here's the event log:

    BackupDiskFile::OpenMedia: Backup device 'X:\Backups\MyDatabase\MyDatabase_backup_2014_08_22_132234_8270986.bak' failed to open. Operating system error 32(The process cannot access the file because it is being used by another process.).

    Simply closing and reopening Sql Server Management Studio resolved it (so obviously it was ssms.exe that had the handle..)

提交回复
热议问题