What good is a backup if you do not know to restore the backup. In this tutorial we will look at what restore options are available and which options are only accessible using T-SQL commands.
As you will see there are many options that can be used, but just like the BACKUP commands there are just a few parts of the RESTORE command that are needed to do a successful restore.
Take the time to review each of these topics to get a good understanding of what is available.
You can either use the outline on the left or click on the arrows to the right or below to scroll through each of these topics.
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:
- 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
Take the time to get to understand what options are available and what can be done using SQL Server Management Studio and what options are only available via T-SQL commands.