[sql-server] SQL-Server: The backup set holds a backup of a database other than the existing

This helped me to import the back-up file from the system drive

  1. Create a database with the same name(preferably) as your .bak file database name
  2. Right click the database > Tasks > Restore > Database
  3. Under "Source for restore" select "From Device"
  4. Select the .bak file selecting the path from the system
  5. Select the check box for the database in the list box below
  6. Under "Select a Page" on the right Select "Options"
  7. Select the checkbox labeled "Preserve the replication settings(WITH KEEP_REPLICATION)
  8. Select the checkbox for Overwrite the existing database(WITH REPLACE) Now Go back to the General page and click OK to restore the database...