Differential backup in MS SQL

MSSQL-Feature-Image
How to differental backup in GUI:
  1. Open “SMSS” > expand “Databases” > right-click database > select “Tasks” > select “Back Up…”
  2. Select “General” > select “Differential” in “Backup type:”
  3. At “Destination” click “Add…” to add multi backup file.
  4. Select “Media Options”, we can select backup to existing media set (Append or Overwrite) or new media set.
  5. There are some “Reliability” setting: “Verify backup when finished”, “Perform checksum before writing to media” and “Continue on error”
  6. Select “Backup Options”, we can assign the name, description, expire datetime to media set.
  7. We can also verify backup after backup.
  8. We can setup to Compression the backup.
  9. We can encrypt the backup media.
How to differential backup in T-SQL:
We will backup database named “AdventureWorks2016” to media set named “COMP_ENCRYPT_DIFF” with 3 backup file with compress and checksum.

Author: Joe Chan