Beruflich Dokumente
Kultur Dokumente
Topics
• Backup Types
• Backup Compression
• Backups from T-SQL
• Backup History
• Types of Restores
Backup Types
• Full Backup
• Log Backup
• Differential Backup
• Partial Backups
• File Backups
• Copy-Only Backups
Partial Backups
• Partial backups are similar to full backups, except they are designed to back up
only the primary filegroup, any read/write filegroups, and any read-only
filegroups optionally specified. If you create a partial backup of a read-only
database, only the primary filegroup will be included in the backup.
• SQL Server does not support partial backups using the SQL Server Management
Studio GUI. You must use T-SQL to create a partial backup.
--Partial backup
BACKUP DATABASE AdventureWorks2008R2 READ_WRITE_FILEGROUPS
-- [ , <optional_filegroups> ]
TO DISK = 'C:\Backups\AdventureWorks2008R2_part.bak';
USE master
GO
RESTORE FILELISTONLY
FROM DISK = 'c:\backups\AdventureWorks_log.bak'
RESTORE VERIFYONLY
• The RESTORE VERIFYONLY option within SQL Server allows you to
validate your database backups without actually performing the
restore operation.
• The VERIFYONLY option does additional checking to ensure that the
backup file is complete and the entire data set is readable,
• But it does not check the actual data structures of the backup set.
USE master
GO
RESTORE VERIFYONLY
FROM DISK = 'c:\backups\AdventureWorks_log.bak'
Assignments
• What is Tail Log Backup?
• How to restore it?
• Enjoy
Thank You