Loading
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Oct 11, 2022, 5:21 AM EDT
Following are the restore commands
RESTORE HEADERONLY - gives you a list of all the backups in a file
RESTORE LABELONLY - gives you the backup media information
RESTORE FILELISTONLY - gives you a list of all of the files that were backed up for a give backup
RESTORE DATABASE - allows you to restore a full, differential, file or filegroup backup
RESTORE LOG - allows you to restore a transaction log backup
RESTORE VERIFYONLY - verifies that the backup is readable by the RESTORE process
Amit MohantyRank #112 · 20K reputationPosted Oct 11, 2022, 6:17 AM EDT
https://www.mssqltips.com/sqlservertutorial/85/sql-server-restore-commands/
Brahma Prakash ShuklaRank #633 · 3.8K reputationPosted Oct 19, 2022, 7:41 AM EDT
There are several RESTORE commands and options that can be used to restore and view the contents of your backup files.
In this next section we will look at the following commands that can be used: