
Mike Daniels, Product Manager
Before deploying the NetVault: Backup APM for SQL Server, you must first define your SQL Server backup strategy. The purpose of creating a SQL Server backup strategy is to be able to recover a database that has been damaged or become corrupted. When creating a backup strategy, you define the type and frequency of backups to meet the data protection requirements of the database or application.
First, it is important to understand the VDI-based backup types that can be performed with SQL Server in order to give you an idea of what each one does. The NetVault: Backup APM for SQL Server offers several types of backups including
- Full database
- Differential database
- Copy-only
- Incremental transaction log
- Tail-log
- Full file and filegroup
- Differential file and filegroup
- Partial database
- Differential partial database
With full database backups, you are backing up the entire database. This type of backup also includes part of the transaction log so that the full database backup can be completely recovered. A full database backup represents the database at the time that the backup was completed. These backups are typically easy to use because they contain all the data in the database. For smaller databases that can be backed up quickly, this is the recommended method for backups due to the simplicity of the recovery process. As databases become larger and the full database backups take longer, you probably want to consider supplementing full database backups with differential database backups.
Differential database backups only record the data that has changed since the last full database backup. These backups are smaller and faster than a full database backup, which saves time but does start to increase the complexity of the backup scheme. For large databases, it is Microsoft’s best practice to follow full database backups with a series of differential database backups. Since each differential will get larger than the previous, it is also recommended that you schedule a new full database backup on an appropriate schedule. There are special situations where you might want to have a database or a backup of the database, but do not want to impact the regular backup rotation or scheme. A typical SQL Server backup will change the database by updating the differential bitmap. This change affects how future backups and restores are done. By using copy-only backup, you can create a backup that is independent of the regular SQL Server backup sequence. This means that the differential bitmaps are not changed and your regular backup sequence will not be affected. Typically these backups are ideal for circumstances where you require the database, but do not want to affect you production system, such as creating a test environment, or for standby databases.
Transaction logs contain the data for all of the actual transaction that have occurred on the database. In SQL Server, taking routine transaction log backups are essential to be able to fully recover the data. With transaction log backups, you have the ability to recover a database to a specific point in time or to the point of a database failure. With incremental transaction log backups, you capture all of the transaction logs including transaction logs that have been generated since the last full database/file or filegroup, differential database/file or filegroup, or incremental transaction kog backup. These backups are also the means by with the SQL Server logs are typically truncated in order to reduce the amount of space required by the SQL Server logs.
Tail-log backups are backups that capture the logs that have not been backed up yet. These are typically the last backup restored in a SQL Server recovery sequence because it completes the log chain. With SQL Server 2005 and 2008, it is required that you run a tail-log backup prior to restoring any database that is currently attached to the SQL Server Instance. Because of this, the tail-log backup is typically the first step in any recovery process.
While restores are the primary consideration when creating a backup strategy, you have to understand what the different types of backups are actually doing so that you can make a conscious and informed decision.
In my next Blog we will continue the discussion on different types of SQL Server backups and their purpose.



