Solved

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

Posted on 2013-05-27
4
3,291 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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:
Ramesh Babu Vavilla 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

Business Impact of IT Communications

What are the business impacts of how well businesses communicate during an IT incident? Targeting, speed, and transparency all matter. Find out more in this infographic.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

738 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