Breaking News
Loading...
28/08/2013

Restore FileListOnly in SQL Server

Database Backup Restore

I ran a back up of the ABC database, and stored it in D:\Backup\abc.bak.  Now I want to retrieve the files (data file, and log files) name and location path before restoring them in a new location. Which command should I use?
Choose your answer:

Correct answer: 

RESTORE FILELISTONLY FROM DISK=’D:\Backup\abc.bak’

Explanation: 

RESTORE FILELISTONLY FROM DISK=’D:\Backup\abc.bak’ is the correct answer. The RESTORE FILELISTONLY option allows usto see a list of the files and locations that were backed up.

0 comments:

Post a Comment

 
Toggle Footer