Solved

database restore error

Posted on 2006-11-17
4
1,315 Views
Last Modified: 2012-05-05
Server: Msg 3279, Level 16, State 2, Line 1
Access is denied due to a password failure
Server: Msg 3013, Level 16, State 1, Line 1
RESTORE FILELIST is terminating abnormally

How do i pass the above? i have the passpwrd , where do i define it?

I am using Querry Analyser with Restore command

thanks
0
Comment
Question by:crishna1
  • 3
4 Comments
 
LVL 29

Expert Comment

by:Nightman
ID: 17967671
Often a specific password is created for the backup itself, preventing it from being restored without the correct password. This seems to be the case here. You need to know what the password was.

RESTORE DATABASE MyDB FROM DISK = 'C:\MYDB.bak' WITH PASSWORD='password' etc
0
 
LVL 29

Expert Comment

by:Nightman
ID: 17967677
Post your entire T-SQL statement here for me to correct if that doesn't help.
0
 

Author Comment

by:crishna1
ID: 17967722
restore database XXX from disk ='E:\XXX\sonytcamera_1000.bak'
with
move 'sony1_Data' to 'E:\Data\XXX_Data.MDF',
move 'sony2t_Log' to 'E:\Log\XXX_Log.LDF',
replace,stats
0
 
LVL 29

Accepted Solution

by:
Nightman earned 500 total points
ID: 17967739
Replace 'password' with your password

restore database XXX from disk ='E:\XXX\sonytcamera_1000.bak'
with PASSWORD ='password',
move 'sony1_Data' to 'E:\Data\XXX_Data.MDF',
move 'sony2t_Log' to 'E:\Log\XXX_Log.LDF',
replace,stats
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Suggested Solutions

Title # Comments Views Activity
SSIS On fail action 5 38
SQL Backup Question 2 30
Access SQL Server instance by NONE-admin Windows user 12 29
Problems "swapping" SQL Server DBs 2 22
Nowadays, some of developer are too much worried about data. Who is using data, who is updating it etc. etc. Because, data is more costlier in term of money and information. So security of data is focusing concern in days. Lets' understand the Au…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

827 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