The following error occurs during manual recovery:
The backup set holds a backup of a database other than the existing database. Restore database is terminating abnormally
Use force reply. From the swlicense. Bak file, restore the data and table structure to a new database swlicmanitenance.
Restore filelistonly from disk = 'd: \ panshengbo \ swlicense. Bak'
Restore database swlicmaintenance from disk = 'd: \ panshengbo \ swlicense. Bak'
With
Move 'swlicense 'to 'C: \ Program Files \ Microsoft SQL Server \ mssql10_50.mssql2008r2 \ MSSQL \ data \ swlicmaintenance. MDF ',
Move 'swlicense _ log' to 'C: \ Program Files \ Microsoft SQL Server \ mssql10_50.mssql2008r2 \ MSSQL \ data \ swlicmaintenance_log.ldf'
Backup: Backup Database Swlicmaintenance
To Disk = ' D: \ swlicmaintenance. Bak '
Restore Filelistonly
From Disk = ' D: \ swlicmaintenance. Bak '