To create a differential database backup
Important It is not possible to create a differential database backup unless the database has been backed up first.
The INIT clause is not required if the FORMAT clause is specified.
Important Use extreme caution when using the FORMAT or INIT clauses of the BACKUP statement as this will destroy any backups previously stored on the backup media.
This example creates a full and a differential database backup for the MyNwind database.
-- Create a full database backup first.
BACKUP DATABASE MyNwind
TO MyNwind_1
WITH INIT
GO
-- Time elapses.
-- Create a differential database backup, appending the backup
-- to the backup device containing the database backup.
BACKUP DATABASE MyNwind
TO MyNwind_1
WITH DIFFERENTIAL
GO
BACKUP | Creating and Restoring Differential Database Backups |
Using Differential Database Backups with Transaction Log Backups |