Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SQL backup and restore not possible

Posted on 2014-09-18
2
Medium Priority
?
201 Views
Last Modified: 2014-09-23
Hi Experts,

I have a SQL server 2005 SP4 STD.
I made a backup of the DB to import it on a new server SQL 2012.
The backup was ok.

When I try to restore the DB on the SQL2012 server and I select the file, I cannot select any DB.
Can you help me why ?
0
Comment
Question by:Eprs_Admin
2 Comments
 
LVL 52

Assisted Solution

by:Vitor Montalvão
Vitor Montalvão earned 1000 total points
ID: 40330414
Can you post here a screenshot?
Alternatively you can use SQL command to run a query for restore, which is something that I always prefer:
RESTORE DATABASE YourDBNameHere
FROM DISK = '<Full Path plus Filename.bak>' 
MOVE '<Datafile Logical Name Here>' TO '<Full Path plus Datafile filename.mdf>', 
MOVE '<Logfile Logical Name Here>' TO '<Full Path plus Logfile filename.ldf>'

Open in new window

0
 
LVL 27

Accepted Solution

by:
Zberteoc earned 1000 total points
ID: 40330446
if the database that was backed up doesn't exist on the new server there is no database to choose. Just start the restore following the UI from Management Studio and the database will be created .
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

782 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