Solved

how do i open .bak file on SQL Server 2012 ?

Posted on 2013-05-27
4
3,177 Views
Last Modified: 2013-06-23
i copy .bak file 8GB to my local computer i installed SQL server 2012 with studio manager how do i open this .bak file

Thanks
Gvilbis
0
Comment
Question by:gvilbis
4 Comments
 
LVL 18

Assisted Solution

by:x-men
x-men earned 125 total points
ID: 39199127
Restore filelistonly from disk = 'MyPath\Myfile.bak'

wil give you the contents of the bakup file.
0
 
LVL 16

Assisted Solution

by:Surendra Nath
Surendra Nath earned 125 total points
ID: 39199131
you cannot open a .bak file with SSMS, it will be used to restore the database.

In simple terms, you cannot open it, just like that you have to follow a procedure to open it (it will be correct to say to restore it).


The below link have a step by step guide on how to do it.
http://www.katieandemil.com/sql-server-2012-restore-database-backup-file
0
 
LVL 1

Assisted Solution

by:engmgs
engmgs earned 125 total points
ID: 39199133
.bak is a backup file generated in sql server .

Backup files importing means resotring a database ,you can restore on a database created in sql server 2012 but the backup file should be from SQL 2005,2008,2008r2,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:

http://msdn.microsoft.com/en-us/library/ms186858(v=sql.90).aspx
0
 
LVL 10

Accepted Solution

by:
sqlservr earned 125 total points
ID: 39200854
restore database dbname from disk =' .bak file pth'
if you backup file is generated in SQL Server 2000. you cant restore it , to work out
you have to restore it on SQL Server 2008 and then on SQL Server 2012
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now