Solved

database restore error

Posted on 2006-11-17
4
1,306 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

911 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now