Skip to content

SQL Server Backup

Breeze can discover, back up, and restore SQL Server databases directly — no third-party SQL backup tool required. The agent connects as its own Windows service identity and runs native sqlcmd commands to produce standard .bak and .trn backup files; the sqlcmd shipped with SQL Server 2022 and 2025 is supported.


  1. Go to Backup > Device Backup > SQL Server.
  2. Click Discover Instances for a device to scan it for SQL Server installations.
  3. Discovered instances appear in the list.

Each instance shows:

  • Instance name, version, and edition
  • Authentication type and port — informational only; Breeze always connects locally over Windows Authentication regardless of what’s shown here
  • Status (Online / Offline)

Expand an instance to see its databases, including:

  • Database name and size
  • Recovery model (Simple, Full, Bulk-logged)
  • TDE (Transparent Data Encryption) status
  • Compatibility level

SQL Server supports three backup types:

Type What it captures File extension Frequency
Full Complete database .bak Weekly (typical)
Differential Changes since last full backup .bak Daily (typical)
Transaction Log Log entries since last log backup .trn Every 15–60 min (typical)

  1. On the SQL Server tab, find the database you want to back up.
  2. Click the Backup action.
  3. Select the backup type: Full, Differential, or Log.
  4. Optionally select a storage configuration for cloud upload.
  5. Confirm to start the backup.

There’s no field to choose the output path. Breeze runs BACKUP DATABASE ... TO DISK into the instance’s default backup directory, under a breeze subfolder, then uploads the resulting .bak/.trn file and deletes the local copy — it doesn’t accumulate on the SQL Server host. Backups are compressed except on Express Edition, which doesn’t support backup compression.

Create a backup policy with the MSSQL mode to automate SQL Server backups. Like Hyper-V, MSSQL mode uses all-by-default targeting against the discovered inventory — see the discovery note above. Use exclude lists for databases that don’t need backup (e.g., tempdb).


  1. On the SQL Server tab, find the database and click Restore.
  2. The restore dialog walks you through:
    • Source — select the instance and source database
    • Backup to restore — pick one specific backup (full, differential, or log) from the list; there’s no point-in-time picker — each restore applies exactly one backup file
    • Target database — name of the database to restore into; it can differ from the source name
    • No Recovery mode — optionally leave the database in a restoring state so you can apply additional log backups before bringing it online
  3. Review and confirm.

All SQL Server backup and restore commands use strict input validation to prevent T-SQL injection. Instance names, database names, and file paths are validated against allowed patterns before being passed to sqlcmd.