Solved

database restore error

Posted on 2006-11-17
4
1,330 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
[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
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

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 …
I have a large data set and a SSIS package. How can I load this file in multi threading?
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

707 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