Been Googling this for awhile and no answer....can anyone help?
How do I import a .bak file into Microsoft SQL Server 2012?
.bak is a backup file generated in SQL Server.
Backup files importing means restoring a database, you can restore on a database created in SQL Server 2012 but the backup file should be from SQL Server 2005, 2008, 2008 R2, 2012 database.
You restore database by using following command...
RESTORE DATABASE YourDB FROM DISK = 'D:BackUpYourBaackUpFile.bak' WITH Recovery
You want to learn about how to restore
.bak file follow the below link:
You can use the following script if you don't wish to use Wizard;
RESTORE DATABASE myDB FROM DISK = N'C:\BackupDB.bak' WITH REPLACE,RECOVERY, MOVE N'HRNET' TO N'C:\MSSQL\Data\myDB.mdf', MOVE N'HRNET_LOG' TO N'C:\MSSQL\Data\myDB.ldf'