SQL Server & Databases
SQL Server & Databasesintermediate15 min read·Updated Oct 7, 2026

SQL Server Backup Strategy: Full, Differential & Log Backups (2026)

Build a practical SQL Server backup strategy with full, differential, and transaction log backups. Covers recovery models, RPO/RTO, retention, off-server copies, automation, and restore testing.

Genuine, fully-licensed Windows
Spin up a Windows Server: full admin, RDP-ready
Genuine Windows Server 2019, 2022, or 2025 with full administrator access. We handle the Microsoft licensing, billed monthly with nothing to buy upfront.
PowerShell output showing SQL Server full, differential, and transaction log backup files created on disk.

In short

A reliable SQL Server backup strategy starts with the business recovery target, not a fixed schedule copied from another server. Define how much data you can afford to lose (RPO) and how quickly the database must be restored (RTO), choose the correct recovery model, then combine full, differential, and transaction log backups only where they support those targets.

For databases in the FULL recovery model, transaction log backups are what make point-in-time recovery possible and keep the log backup chain moving. For SIMPLE recovery databases, use full and, where useful, differential backups because transaction log backups are not available.

The most important rule is operational:

A backup strategy is not proven until you have restored it successfully and measured how long recovery actually takes.

SQL Server backup strategy: quick answer

RequirementPractical starting approach
Dev/test database with low recovery requirementsRegular FULL backups may be enough
Small production database in SIMPLE recoveryFULL + optional DIFFERENTIAL backups
Production database needing point-in-time recoveryFULL + optional DIFFERENTIAL + frequent LOG backups
Very low RPOShorter transaction log backup interval
Large database with long full-backup windowsUse DIFFERENTIAL backups between FULL backups
Ad-hoc backup before a risky changeConsider a COPY_ONLY FULL backup
SQL Server ExpressAutomate with Windows Task Scheduler + sqlcmd
SQL Server Standard / EnterpriseSQL Server Agent is usually the cleaner scheduler
Business-critical workloadKeep an off-server copy and run restore drills

Do not treat daily full + 4-hour differential + 15-minute logs as a universal best practice. Those intervals can be reasonable for some workloads, but the schedule should follow the RPO, RTO, database size, change rate, backup duration, and restore process.

What are full, differential, and transaction log backups?

SQL Server has several backup types, but these three cover the most common production strategy.

Backup typeWhat it containsMain role in recovery
FULL database backupThe complete database plus enough transaction log to recover the backed-up data consistentlyMain restore baseline
DIFFERENTIAL backupExtents changed since the most recent conventional full backupReduces the amount of data and number of log backups needed during restore
TRANSACTION LOG backupLog records not yet backed up in the normal log backup sequencePoint-in-time recovery and shorter data-loss window in FULL/BULK_LOGGED recovery

A differential backup always depends on its differential base, normally the most recent conventional full backup. A COPY_ONLY full backup does not become a new differential base.

RPO and RTO should determine the schedule

Before deciding how often backups run, define two recovery objectives.

TermQuestion it answersExample
RPO — Recovery Point ObjectiveHow much recent data can the business lose?No more than 15 minutes
RTO — Recovery Time ObjectiveHow quickly must the database be operational again?Within 60 minutes

If the RPO is 15 minutes, a transaction log backup every hour cannot meet that target. If the RTO is 30 minutes but restoring the latest full backup takes 45 minutes, the backup schedule is also not meeting the requirement.

That is why backup frequency and restore duration must be designed together.

How often should SQL Server backups run?

Use the table below as planning examples, not fixed rules.

WorkloadFULLDIFFERENTIALLOGWhy
Dev/test or low-change internal databaseDaily or according to needOptionalNot applicable in SIMPLELow recovery requirement
Normal production databaseDailyEvery 4–6 hours if usefulEvery 15–30 minutes when RPO requires itBalanced restore chain
Transaction-heavy business databaseDailyEvery 2–4 hours if usefulEvery 5–15 minutes when RPO requires itSmaller potential data-loss window
Large database with expensive FULL backupsBased on maintenance windowMore frequent differentialsBased on RPOAvoid unnecessary full-backup overhead

A 5-minute log interval is not automatically better than 15 minutes. Shorter intervals create more backup files and operational work. Choose the interval that satisfies the business RPO and that your monitoring, copy, retention, and restore processes can reliably manage.

What we tested on Raff

The original backup workflow was tested on a Raff Windows VPS running Windows Server 2025 Datacenter Evaluation and SQL Server 2025 Express.

PowerShell output showing the original SQL-related services on the Raff Windows VPS before installing SQL Server Express.

ItemValue
ProviderRaff Technologies
OSWindows Server 2025 Datacenter Evaluation
SQL ServerSQL Server 2025 Express
InstanceSQLEXPRESS
SQL version17.0.1000.7, RTM
Test databaseRaffBackupTest
Original test date2026-05-26
TesterSerdar Tekin

The lab verified:

  • SQL Server 2025 Express installation;
  • SQL Server service state and sqlcmd access;
  • sample database creation;
  • recovery model inspection and FULL recovery configuration;
  • backup directory permissions;
  • FULL, DIFFERENTIAL, and LOG backup commands;
  • backup files written to disk;
  • RESTORE VERIFYONLY against the full backup.

SQL Server Express was useful for validating the backup workflow, but it does not include SQL Server Agent and does not support backup compression. Microsoft currently documents backup compression support for Enterprise, Standard, and Developer editions.

This September update reworks the strategy, scheduling, recovery-model, COPY_ONLY, retention, and restore guidance. It does not claim a new end-to-end backup benchmark.

Recovery models determine what backup strategy is possible

Check the recovery model of every user database before designing the schedule:

Sql
SELECT name, recovery_model_desc FROM sys.databases ORDER BY name;
Recovery modelTransaction log backups?Typical use
SIMPLENoDev/test, reporting, or workloads that do not require point-in-time recovery
FULLYesProduction workloads where point-in-time recovery and low RPO matter
BULK_LOGGEDYes, with recovery limitations around minimally logged operationsSpecialized bulk-load scenarios

Do not choose FULL only because the database is important. Choose it because the recovery requirement needs a log backup chain and point-in-time recovery.

In the original Raff lab, we switched the test database to FULL recovery:

Sql
ALTER DATABASE RaffBackupTest SET RECOVERY FULL;

Then verified it:

Sql
SELECT name, recovery_model_desc FROM sys.databases WHERE name = 'RaffBackupTest';

SQL command output showing the RaffBackupTest sample database and its recovery model.

After moving a database from SIMPLE to FULL, take a new full backup as a clean operational baseline before relying on the transaction log backup chain.

SQL Server Express vs Standard and Enterprise for backups

The core BACKUP DATABASE and BACKUP LOG commands work across SQL Server editions, subject to the recovery model and feature limits. The biggest operational difference for a small self-managed deployment is automation.

FeatureExpressStandardEnterprise
FULL database backupYesYesYes
DIFFERENTIAL backupYesYesYes
Transaction log backup in FULL/BULK_LOGGEDYesYesYes
SQL Server AgentNoYesYes
Windows Task Scheduler + sqlcmdYesYesYes
Backup compressionNoYesYes

Developer edition also supports backup compression, but it is for development/test licensing rather than production use.

For edition planning, see SQL Server Standard vs Enterprise.

Step 1 — Confirm the SQL Server instance and version

Run PowerShell as Administrator:

Powershell
Get-Service | Where-Object {$_.Name -like "MSSQL*"} | Select-Object Name, Status, DisplayName

PowerShell output showing SQL Server SQLEXPRESS service running and sqlcmd available on the Raff Windows VPS.

Check the SQL Server version:

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "SELECT @@VERSION AS SQLVersion;"

SQL Server 2025 Express installer showing successful installation with the SQLEXPRESS instance and SQL engine installed.

The -C option trusts the server certificate for this local sqlcmd connection. Do not use certificate-trust shortcuts as a substitute for a properly trusted production TLS configuration on remote connections.

Step 2 — Create a backup directory and permissions

Create a local backup folder:

Powershell
New-Item -ItemType Directory -Path 'C:\SQL\Backups' -Force

Grant the SQL Server Express service account access:

Powershell
icacls 'C:\SQL\Backups' /grant 'NT SERVICE\MSSQL$SQLEXPRESS:(OI)(CI)F'

Verify the directory:

Powershell
Get-ChildItem C:\SQL

PowerShell output showing the SQL backup folder created for the RaffBackupTest workflow.

For production, the backup folder is a staging location, not the entire disaster-recovery plan. Keep a copy outside the live SQL Server VM and preferably across a separate security or failure boundary.

Step 3 — Take a full SQL Server backup

A full backup is the main restore baseline.

The Express lab used:

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "BACKUP DATABASE [RaffBackupTest] TO DISK = N'C:\SQL\Backups\RaffBackupTest_FULL.bak' WITH INIT, CHECKSUM, STATS = 10;"

sqlcmd output showing a successful full backup of the RaffBackupTest database.

For an edition that supports backup compression:

Sql
BACKUP DATABASE [YourDB] TO DISK = N'C:\SQL\Backups\YourDB_FULL.bak' WITH INIT, COMPRESSION, CHECKSUM, STATS = 10;

SQL Server 2025 also supports the ZSTD backup-compression algorithm on editions that support backup compression. Do not add a compression algorithm just because it is newer; test backup time, restore time, CPU use, and storage savings for the actual workload.

Why use CHECKSUM?

WITH CHECKSUM asks SQL Server to perform additional verification during the backup operation and write backup checksums. It is a useful integrity control, but it does not replace a restore test.

Avoid one permanent backup file

The fixed file name above exists for a readable lab demonstration. In production, use unique timestamped names so each backup set has an independent file and your retention process can manage them safely.

Example:

Text
YourDB_FULL_20260901_020000.bak

Step 4 — Take a differential SQL Server backup

A differential backup contains data changed since the differential base, normally the most recent conventional full backup.

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "BACKUP DATABASE [RaffBackupTest] TO DISK = N'C:\SQL\Backups\RaffBackupTest_DIFF.bak' WITH DIFFERENTIAL, INIT, CHECKSUM, STATS = 10;"

sqlcmd output showing a successful differential backup of the RaffBackupTest database.

Differentials become more valuable when the database is large enough that frequent full backups are expensive, but only a portion of the database changes between full backups.

A typical restore with a differential is:

Text
Latest conventional FULL → latest DIFFERENTIAL based on that FULL → required LOG backups after the differential → RECOVERY

As more data changes after the full backup, differential backups usually become larger. Eventually a new full backup creates a new differential base.

Step 5 — Take a transaction log backup

Transaction log backups apply only to databases using the FULL or BULK_LOGGED recovery models.

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "BACKUP LOG [RaffBackupTest] TO DISK = N'C:\SQL\Backups\RaffBackupTest_LOG.trn' WITH INIT, CHECKSUM, STATS = 10;"

After a valid log backup chain exists, regular log backups reduce the amount of work that can be lost and allow log truncation to progress when no other condition is preventing truncation.

A database in FULL recovery with no regular log-backup process can experience continuous transaction-log growth. If the log is growing, check the actual log-reuse wait reason rather than assuming backups are the only possible cause.

Use:

Sql
SELECT name, recovery_model_desc, log_reuse_wait_desc FROM sys.databases WHERE name = 'RaffBackupTest';

This distinguishes LOG_BACKUP from other causes such as active transactions, replication, availability features, or other log-reuse waits.

Step 6 — Confirm backup files and backup history

Check the files on disk:

Powershell
Get-ChildItem 'C:\SQL\Backups' | Select-Object Name, Length, LastWriteTime

PowerShell output showing SQL Server full, differential, and log backup files created on disk.

Then inspect SQL Server backup history from msdb:

Sql
SELECT TOP (50) database_name, CASE type WHEN 'D' THEN 'Full' WHEN 'I' THEN 'Differential' WHEN 'L' THEN 'Transaction Log' ELSE type END AS backup_type, backup_start_date, backup_finish_date, backup_size, compressed_backup_size, is_copy_only FROM msdb.dbo.backupset WHERE database_name = 'RaffBackupTest' ORDER BY backup_finish_date DESC;

File existence proves that something was written. Backup history helps confirm what SQL Server believes was completed, when it finished, and whether it was a full, differential, log, or copy-only backup.

Step 7 — Verify backups, then perform real restore tests

Run RESTORE VERIFYONLY with checksum against the full backup:

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "RESTORE VERIFYONLY FROM DISK = N'C:\SQL\Backups\RaffBackupTest_FULL.bak' WITH CHECKSUM;"

sqlcmd output showing RESTORE VERIFYONLY successfully validated the SQL Server backup file.

RESTORE VERIFYONLY is useful because SQL Server reads the backup and verifies that the backup set is complete and readable. It is not the same as restoring the database and validating the application.

A production restore drill should prove:

  • the required backup files are available;
  • the restore sequence is understood;
  • credentials and permissions work;
  • the database comes online;
  • DBCC CHECKDB can complete successfully where appropriate;
  • the application can connect to the restored database;
  • the measured restore time fits the RTO.

COPY_ONLY backups: use them for ad-hoc full backups

Sometimes you need a one-off full backup before a deployment, migration, or risky maintenance operation but do not want to alter the normal differential backup base.

Use COPY_ONLY:

Sql
BACKUP DATABASE [YourDB] TO DISK = N'C:\SQL\Backups\YourDB_COPY_ONLY.bak' WITH COPY_ONLY, CHECKSUM, STATS = 10;

A copy-only full backup:

  • can be restored like a normal full backup;
  • does not become the differential base;
  • does not reset the differential bitmap for later scheduled differential backups.

That makes it a good option for ad-hoc administrative backups that should not interfere with the scheduled backup strategy.

Do not combine COPY_ONLY and DIFFERENTIAL expecting a special copy-only differential backup. COPY_ONLY does not apply meaningfully to differential backups.

SQL Server backup compression in 2026

Microsoft currently documents backup compression support for SQL Server Enterprise, Standard, and Developer editions. SQL Server Express does not support creating compressed backups, although editions can restore compatible compressed backups according to Microsoft support rules.

SQL Server 2025 adds ZSTD as a backup-compression algorithm alongside MS_XPRESS.

For a production database, compression should be a measured choice:

BenefitTradeoff to monitor
Smaller backup filesAdditional CPU use
Less backup I/O in many workloadsCompression performance depends on data and workload
Faster transfer to off-server storageRestore behavior should also be tested

If backup windows are already CPU-constrained, test before changing the default across every database.

Automating SQL Server Express backups

SQL Server Express does not include SQL Server Agent, so Windows Task Scheduler is a practical option.

A scheduled PowerShell or command task can call sqlcmd, for example:

Powershell
sqlcmd -S localhost\SQLEXPRESS -E -C -Q "BACKUP DATABASE [YourDB] TO DISK = N'C:\SQL\Backups\YourDB_FULL.bak' WITH INIT, CHECKSUM, STATS = 10;"

A production Express setup should automate more than the backup command itself. Include:

  • unique timestamped filenames;
  • error handling and exit-code checks;
  • off-server copy;
  • retention cleanup;
  • disk-space monitoring;
  • alerting when a scheduled task fails;
  • periodic restore tests.

A task that silently fails every night is not a backup system.

Automating Standard and Enterprise with SQL Server Agent

For Standard or Enterprise, SQL Server Agent usually provides a cleaner database-native scheduler.

Create separate jobs or job steps for the required backup types and include failure notifications.

At minimum monitor:

  • last successful backup time;
  • backup duration;
  • output file size;
  • free disk space;
  • failed SQL Agent jobs;
  • failed off-server copies;
  • age of the newest full and log backup;
  • restore-test results.

Automation should make backup failure visible, not merely make backups unattended.

Off-server backups need a separate failure boundary

A .bak file on the same VM protects against some database-level failures, but it does not protect well against loss of the VM, compromised administrator credentials, ransomware, or accidental deletion of the whole server.

Use a second location such as:

  • S3-compatible object storage;
  • another backup server;
  • a separate storage account or project;
  • another region when the business continuity design requires it.

Where the storage platform supports it, stronger designs can also use versioning, retention controls, or immutable/object-lock style protection so a compromised server account cannot immediately delete every recovery point.

Keep backup credentials separate from normal application credentials and grant only the permissions the copy process actually needs.

Retention should follow recovery and compliance needs

Do not keep every backup forever, and do not copy an arbitrary seven-day rule without understanding the restore requirement.

A retention design should answer:

  • How far back might the business need to recover?
  • Are month-end or year-end recovery points required?
  • How much backup storage is available?
  • What does compliance require?
  • How long is the complete restore chain valid?
  • When can older full, differential, and log backups be deleted without breaking a required recovery path?

Example only:

Recovery tierExample retention
Recent operational backups7–14 days
Daily/weekly recovery points30–90 days
Monthly archival pointsBased on business/compliance requirement

Make cleanup chain-aware. Do not delete the full backup or required log files while keeping a differential or later log backup that depends on them for a recovery point you still claim to support.

Restore sequence for FULL recovery model

A common restore path is:

  1. Restore the required FULL backup with NORECOVERY.
  2. Restore the latest applicable DIFFERENTIAL backup with NORECOVERY, if used.
  3. Restore the required transaction log backups in sequence with NORECOVERY.
  4. Recover the database at the final desired point.

Example lab-style sequence:

Sql
RESTORE DATABASE [YourDB_RestoreTest] FROM DISK = 'D:\BackupCopy\YourDB_FULL.bak' WITH NORECOVERY, REPLACE; RESTORE DATABASE [YourDB_RestoreTest] FROM DISK = 'D:\BackupCopy\YourDB_DIFF.bak' WITH NORECOVERY; RESTORE LOG [YourDB_RestoreTest] FROM DISK = 'D:\BackupCopy\YourDB_LOG_001.trn' WITH NORECOVERY; RESTORE DATABASE [YourDB_RestoreTest] WITH RECOVERY;

For a point-in-time restore, use the correct transaction log sequence and STOPAT on the appropriate final log restore instead of simply recovering the latest possible point.

After the test restore:

Sql
DBCC CHECKDB('YourDB_RestoreTest') WITH NO_INFOMSGS;

Then test the real application path. Database consistency alone does not prove the application can actually recover.

Common SQL Server backup mistakes

Using FULL recovery but not taking transaction log backups

If point-in-time recovery is required, configure and monitor the log backup schedule. Otherwise the log can continue growing when LOG_BACKUP is preventing log reuse.

Keeping every backup on the SQL Server VM

A local backup is useful for fast recovery, but it should not be the only copy of business-critical data.

Assuming a successful job means the database is recoverable

A successful BACKUP command is only one part of recovery. Run actual restore drills.

Resetting the differential base with an ad-hoc full backup

Use a COPY_ONLY full backup when you need a one-off full backup without changing the normal differential base.

Overwriting the same backup file forever

Use timestamped files and controlled retention so multiple recovery points survive.

Ignoring backup duration

If the full backup takes longer than the maintenance window or the restore takes longer than the RTO, redesign the strategy instead of only changing the schedule.

Deleting backups without understanding dependencies

Differential and log backups depend on earlier backups. Retention cleanup must preserve the complete restore chain for every recovery point you promise.

No alerts for failed backups or full disks

Backups often fail because storage fills, permissions change, credentials expire, or scheduled jobs stop running. Monitor the process, not just the configuration.

A practical production checklist

Before calling a SQL Server database protected, verify:

Text
RPO defined → RTO defined → recovery model chosen → full backup scheduled → differential schedule chosen if useful → log backups scheduled if FULL/BULK_LOGGED → unique backup files → off-server copy → retention policy → backup failure alerts → disk-space monitoring → RESTORE VERIFYONLY checks → real restore drill → restore time measured → application recovery validated

Use a Windows VM sized for the database, backup window, restore testing, and operational headroom.

What Raff recommends

For production SQL Server workloads, design backups around recovery objectives rather than a generic timetable.

Use FULL recovery only when the recovery requirement needs the log chain. Add differential backups when they reduce backup/restore overhead. Set the transaction log interval from the RPO. Keep at least one recovery copy outside the live SQL Server VM. Monitor failures and storage. Most importantly, run restore drills and record the real recovery time.

For the rest of the SQL Server production stack, pair this guide with SQL Server Max Server Memory, Configure TempDB for MSSQL Performance, SQL Server Standard vs Enterprise, and Windows Server Sizing by Workload.

Tested on

Original backup workflow tested on Raff Windows VPS, Windows Server 2025 Datacenter Evaluation, SQL Server 2025 Express, SQLEXPRESS instance, SQL Server version 17.0.1000.7 RTM, 2026-05-26. The lab created FULL, DIFFERENTIAL, and LOG backups, confirmed files on disk, and validated the full backup with RESTORE VERIFYONLY. Tester: Serdar Tekin. Strategy, edition, COPY_ONLY, compression, and recovery guidance re-reviewed against current Microsoft SQL Server documentation on 2026-09-01; no new performance benchmark is claimed.

What's next

Sources

Was this article helpful?

Frequently asked questions

How often should I back up SQL Server on a VPS?
Set the schedule from your acceptable data loss (RPO). A common small-business pattern is a nightly full backup plus transaction log backups every 15 to 60 minutes when the database runs in the FULL recovery model. A backup you have never restore-tested does not count.
What is the difference between full, differential, and log backups?
A full backup captures the whole database. A differential captures everything changed since the last full, keeping restores fast. Transaction log backups capture activity since the last log backup and enable point-in-time restore in the FULL recovery model.
Which recovery model should a small business use?
SIMPLE when losing up to a day of data is acceptable and you skip log backups. FULL when the business needs point-in-time restore, at the cost of managing log backups. Decide the model first; the backup schedule follows from it.
Where should SQL Server backups be stored?
In a dedicated backup directory on the server, with a copy kept off the server so one failure cannot take both the database and its backups. Whole-VM backups complement, not replace, SQL-level backups. Restore-test at least once before production.

Published May 26, 2026 · Updated October 7, 2026

Back to hub
Ready when you are

Your Windows Server, live in ~55 seconds

Genuine, fully-licensed Windows with full admin and RDP. We handle the Microsoft licensing, billed monthly with nothing upfront. On NVMe SSD, backed by a 14-day money-back guarantee.

Related articles