Click here to Skip to main content
15,890,123 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hello Firends ,
I have create password protected backup file
but i will try to restore same backup with same server but different
database then
Logical file 'xxx' is not part of database 'xx'. Use RESTORE FILELISTONLY to list the logical file names.
error occured

What I have tried:

Hello friends please help me to solve the problem
Posted
Updated 15-Feb-17 2:25am

1 solution

Run the following command

SQL
RESTORE FILELISTONLY 
FROM DISK = 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SS2008\MSSQL\Backup\DBName.bak'
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900