SQL Server Express

Automatic SQL Server Express backup, without SQL Agent

SQL Server Express has no SQL Server Agent, so it can't schedule its own backups. You can script it with sqlcmd and Windows Task Scheduler, or let SQLBak Plus schedule, compress, encrypt and upload Express backups for you — free for one server.

Storage is not included — you use your own. Send backups to a local disk or NAS at no extra cost, or to your S3, Azure, Google Drive or FTP/SFTP account, billed by that provider.

Why SQL Server Express backups are easy to get wrong

Express powers a huge number of billing, accounting, ERP, school and clinic applications in India. It is free and capable, but three limits make backups harder than on Standard edition:

  • No SQL Server Agent — no maintenance plans and no scheduled jobs inside SQL Server.
  • No backup compression — WITH COMPRESSION isn't supported, so .bak files are full size.
  • No native alerts — no Database Mail-driven Agent alerts, so a failed backup stays silent.

The result is often one of two things: a manual backup when someone remembers, or a backup that copies to the same disk the database lives on.

The manual way: sqlcmd + Windows Task Scheduler

The standard workaround is a script that calls sqlcmd, run by Windows Task Scheduler. This batch file takes a full backup with a dated file name, checks for errors and deletes backups older than seven days:

C:\Scripts\sql-backup.bat
@echo off
setlocal
rem ---- settings ----
set "SERVER=.\SQLEXPRESS"
set "DB=Sales"
set "DIR=D:\SQLBackups"
set "KEEPDAYS=7"

rem Timestamp like 2026-09-29_020000 (independent of regional date format)
for /f %%i in ('powershell -NoProfile -Command "Get-Date -Format yyyy-MM-dd_HHmmss"') do set "STAMP=%%i"

sqlcmd -S "%SERVER%" -E -b -Q "BACKUP DATABASE [%DB%] TO DISK = N'%DIR%\%DB%_FULL_%STAMP%.bak' WITH INIT, CHECKSUM, STATS = 10"
if errorlevel 1 (
  echo %date% %time% Backup of %DB% FAILED>> "%DIR%\backup.log"
  exit /b 1
)

rem Delete this database's backups older than KEEPDAYS
forfiles /p "%DIR%" /m "%DB%_FULL_*.bak" /d -%KEEPDAYS% /c "cmd /c del @path" 2>nul
exit /b 0

Schedule it to run every night at 2 AM (you'll be prompted for the account password):

Command Prompt (as administrator)
schtasks /Create /TN "SQL Express nightly backup" /TR "C:\Scripts\sql-backup.bat" ^
  /SC DAILY /ST 02:00 /RU "MYSERVER\sqlbackup" /RP *

Two details that trip people up

  • The .bak file is written by the SQL Server service account, not by the task's user, so that service account needs write access to D:\SQLBackups.
  • The task's Windows account needs a SQL login with the db_backupoperator role in each database (or sysadmin).

Many DBAs use Ola Hallengren's Maintenance Solution the same way — installing its stored procedures and calling dbo.DatabaseBackup from sqlcmd — which adds verification and clean-up options. For the full walkthrough, including a PowerShell version, read how to schedule SQL Server Express backups.

Drawbacks of the scripted approach

  • Same disk, same fate. The script leaves backups on the server. Off-site copies need another script for FTP or cloud upload.
  • Full-size files. Without compression, each backup is as large as the data in the database.
  • Silent failures. A full disk, a changed password or a renamed database stops backups without anyone noticing.
  • No one watching the watcher. If the server is off, the script can't report that it didn't run.
  • Restore is manual. Someone has to remote in, find the right file and run the restore.

The automatic way with SQLBak Plus

Install the connector (a small Windows MSI), paste your license key — setup configures SQL Server permissions — and create a job in the web dashboard.

NeedHow SQLBak Plus handles it on Express
SchedulingIts own scheduler: daily, weekly, monthly, hourly or every N hours. No SQL Agent.
Backup typesFULL, DIFFERENTIAL and LOG, with a database picker and an optional local vault kept for N days.
Compression7-Zip after the backup, with an optional archive password.
Encryption and integrityAES-256 before upload; SHA-256 checksum per file.
Off-site copyStraight to your S3, Azure Blob, Google Drive, SFTP/FTP or NAS — several at once.
RansomwareLocal vault copy with locked-down ACLs and tamper alerts; S3 Object Lock support.
AlertsEmail for failed or partial backups, connector offline, SQL Server down, and recovery.
RestoreFrom the web to the same server, under a new name or overwriting.

Backups never pass through our servers; the dashboard receives only status, logs and live progress. Supported on Windows Server 2012 R2+ and Windows 10+, with SQL Server Express from 2008 R2 onwards.

What it costs

The free SQL Server backup plan covers 1 server and 2 databases forever. If you run several Express instances, Starter is ₹399/month (₹3,990/year) for 3 servers with unlimited databases; Business and Enterprise cover 10 and 50 servers. Try any paid plan free for 14 days; prices exclude GST. Compare plans.

SQL Server Express backup — common questions

Why can't I schedule backups in SQL Server Express?

SQL Server Express doesn't include SQL Server Agent, the job scheduler that other editions use for maintenance plans and scheduled backups. You need an outside scheduler, such as Windows Task Scheduler with sqlcmd, or a tool like SQLBak Plus that has its own scheduler.

Can SQL Server Express compress backups?

No. The WITH COMPRESSION option isn't supported on Express (or Web). SQLBak Plus compresses Express backups with 7-Zip after they are taken, optionally with an archive password.

Can I take differential and log backups on Express?

Yes. Express supports full, differential and transaction log backups. Log backups require the database to use the FULL or BULK_LOGGED recovery model.

Is SQLBak Plus free for SQL Server Express?

Yes. The Free plan covers 1 server and 2 databases forever, which suits most single-application Express installations. Storage is your own, so a local disk or NAS costs nothing.

What happens if the server is switched off at backup time?

If the connector stops reporting, you get a server-down email after the delay you choose (5 to 60 minutes), and a recovery email when it comes back. With Task Scheduler, a missed run is easy not to notice.

Put your SQL Server Express backups on autopilot

Free for one server and two databases. No credit card, no SQL Agent.

Start free