473,507 Members | 9,962 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

.BAK extension file ??

31 New Member
CAN anyone tell me how can i restore the .BAK extension file ??Please tell me the steps what should be done to restore the file as i m not at all aware of how to restore the .BAK file.Can i directly restore it to SQL Server 2005 which i m using.It does not contain the name with that database in it.

The file may contain the initial previous extension of MS Access,SQL Server,Oracle or MS Word.

The file contains the database details.

Please tell me Can anyone help me with this?

Thanxs if u reply

miaaa00@yahoo.com
Feb 14 '07 #1
5 8254
almaz
168 Recognized Expert New Member
BAK extension are usually used for SQL Server database backup files.
  1. Open SQL Server Management Studio, login to required instance of SQL Server. Right-click on Databases, select "Restore Database".
  2. In the [Destination for Restore] section specify a new name for database to restore backup to, in [Source for restore] - click on the [From Device] radio button, and click browse (three dots) next to it. Select your backup file, click OK. Make sure that check box is selected in the list of backups.
  3. Select Options page (on the left).
  4. Verify (and possible fix) the paths to the database files in the [Restore the database files as:] list. Normally they should point to SQL_SERVER_DIR\MSSQL.1\MSSQL\DATA\DBNAME.mdf and SQL_SERVER_DIR\MSSQL.1\MSSQL\DATA\DBNAME_log.LDF, where SQL_SERVER_DIR - The SQL Server folder (usually C:\Program Files\Microsoft SQL Server), DBNAME - name of the database
  5. Click OK to start restoring process
Feb 14 '07 #2
Miaaa Mukherjee
31 New Member
thanxs for replying.........

i was using first of all SQL Server 2003 and now just installed SQL Server 2005 with that of Visual Studio.Net 2005 which is much different i think.

can u just point the steps and explain me where all the database are stored in SQL 2005 from where we can go to DATABASE where all the tables are stored ??

Thanxs
Feb 14 '07 #3
Miaaa Mukherjee
31 New Member
Please give the reply.........

Is it same for 2005 & 2000 SQL Server.

Where the tables are stored in SQL Server 2005 ?????????????????
Feb 16 '07 #4
almaz
168 Recognized Expert New Member
There is no SQL Server 2003, there are 6.5, 7.0, 2000 and 2005.
I didn't understood your question, do you want to know where databases reside physically? or logically?
Physically database is stored in several files that are divided into DATA files and LOG files.
Logically - databases are registered in the master database, that contains information about available databases, their status, user rights and so on.

Tables are stored inside DATA files, SQL Server knows about them through system tables containing information about user objects like indexes, tables, columns, stored procedures and so on.

Tables can be created using SQL Management Studio (SQL Server 2005) or Enterprise Manager (SQL Server 2000). Also they can be created using create table SQL statement. Use Books Online for more information.

P.S. From what I see you don't understand the functionality of SQL Server. See SQL Server Architecture Overview
Feb 16 '07 #5
prathima saraf
1 New Member
hi everybody,

I have got some problem while restoring database from sql server 2000 to sql server 2005. The problem is
My database is created for some login say x in sqlserver2000.
so to retrieve when i say
select * from tablename; its working fine.
After creating database in sql server 2005 and restoring ,
to retrieve data, when i say
select * from tablename; its giving error invalid object tablename....
but if i say select * from x.tablename ; its working fine...
where x is login name....
y is it so?
iam using these queries in my code, so i have to change my code now. so how is it possible to run the queries without using loginname.

what exactly is schema here... is schema n login one and the same...


can anyone please help me out....
I would be greatful to u
thanks in advance
Mar 14 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
6533
by: megha | last post by:
Hi all I am exporting some data in .csv format through jsp file it is exporting the data in csv format but giving the exported file .jsp extension. I want .csv extension can anybody help. ...
6
5449
by: Els | last post by:
If I use <? include "file.html"; ?> in the html of my document, do I _have_ to change the extension of that document to .php, or would it still work and be valid if I let it remain .html? --...
3
2043
by: man-in-nature | last post by:
Hello, I have already read several existing posts about xsd:extension, but do not find something useful to my test case. I have one xml file and one xsd file. I can use a simple command line...
6
6637
by: J. Shrimp, Jr. | last post by:
Following code exports tables as text files: For Each tdf In db.TableDefs StrTblName = tdf.Name Me.txtProgName = StrTblName Me.txtProgName.Requery tblAtt = tdf.Attributes moddate =...
1
4062
by: Erik Cruz | last post by:
Hi. My application has a page where users can click on some links to download documents. When testing the page I noticed an strange behaviour. One of the links points to a .pps file. When I...
7
2901
by: Adam | last post by:
Im trying to add an httphandler for all *.sgf file extensions. I have developed the handler, 1. installed it into the gac 2. added it to the machine.config: <httpHandlers> <add verb="*"...
1
2155
by: Brian Henry | last post by:
Just thought maybe someone here would like to know this. It's an example code I just created quickly on how to figure out the name of a type of file based on its extension (say for example .DOC)...
4
2513
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
5
7923
by: Chuck Anderson | last post by:
I run Apache 2.0.55, and Php (both 4.4.1 and 5.2.5) on my home PC (Windows XP). One of the scripts that I run daily needs to access a secure URL (https://..............). When I am running Php4,...
8
7451
by: Ron | last post by:
I am building a dynamic image loading class. I have a list of properties that have associated images in a specified directory. The problem they are multiple formats which are not known at...
0
7313
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7372
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7029
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7481
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5619
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5039
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4702
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3190
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
758
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.