Skip to content
SQL DATA LOG
SupportedUpdated November 17, 2026

Getting started: install, first backup, restore check

Install SQL DATA LOG Backup, run the setup wizard, take your first backup and check that you can open it again.

On this page

SQL DATA LOG Backup is a Windows service plus a desktop app. The service takes the backups on schedule. The desktop app is where you set everything up. This guide takes you from the installer to a backup you have opened again yourself.

Before you start

  • A Windows computer that can reach your SQL Server (the SQL Server computer itself is the simplest case). SQL Server 2012 or newer, Express included.
  • A Windows administrator account for the installation.
  • Free disk space for the staging folder, about the size of your largest database. SQL Server writes the backup there first.
  • A second place for the backups: a different disk, a network share, an FTP/SFTP server or S3-compatible storage. Backups on the same disk as the database do not protect you from a disk failure.

1. Install

Run the installer (SQLDataLog.msi) as administrator. It installs to C:\Program Files\SQL Data Log\ and does four things:

  • registers the Windows service SQLDataLog (account NT SERVICE\SQLDataLog, starts automatically);
  • adds the desktop app SQL Data Log to the Start menu and the desktop;
  • puts the command line tool sqldatalog.exe on the system PATH;
  • creates the data folder C:\ProgramData\SQLDataLog (settings, logs, staging). Only administrators and the service can open it. It is not deleted when you uninstall.

No separate .NET installation is needed. At the end, leave "Start SQL Data Log" ticked; Windows shows the usual administrator prompt.

2. Run the setup wizard

The wizard has seven steps. Everything can be changed later in the app.

Welcome

Pick the language (English or Turkish) and read the short summary of what the service does.

Setup wizard, welcome page

SQL Server connection

Enter the instance name and press Test connection. Examples: localhost, .\SQLEXPRESS, ERPSRV\SQL2019, 10.0.0.5,1433. Windows authentication is recommended; the test runs as you, while the service later runs as NT SERVICE\SQLDataLog. Choose SQL Server login only if you must. Its password is stored encrypted with Windows DPAPI (LocalMachine), never in the settings file.

Setup wizard, SQL Server connection

If SQL Server runs on another Windows computer, the wizard asks for a shared staging folder. See back up a remote SQL Server below.

Backup jobs

Choose the jobs and the databases:

  • Daily backup: a full backup of every selected database each night. Recommended.
  • Weekly backup: a full backup every Sunday, kept for 8 weeks. Optional.
  • Monthly backup: a full backup on the 1st of the month, kept for a year. Optional.
  • Log backup: every 15 minutes, only for databases in the FULL recovery model. It lets you restore to a few minutes before a problem. Databases in SIMPLE recovery get full and differential backups but no log backups.

"All user databases" also covers databases created later. You can change, add or remove jobs later under Backups.

Setup wizard, backup jobs

Destinations

Add at least one destination; two different places are safer. See the guides for local and network folders, FTP, FTPS and SFTP and S3-compatible cloud storage. Use Test destination: it writes and deletes a small test file.

Setup wizard, destinations

Encryption

Every backup is encrypted (AES-256-GCM) with a key that stays on this server. The wizard shows you the recovery key once. Save it to a file, move that file off the server (for example to a USB stick in a safe) and confirm by typing the first four characters.

Setup wizard, encryption and recovery key

E-mail

Enter your own SMTP server to get an e-mail when a backup fails or an expected backup does not arrive, plus an optional daily summary. Send test e-mail checks the settings.

Setup wizard, e-mail notifications

Finish

The summary lists server, jobs, destinations and key. On this page setup can give the service account the SQL Server permissions it needs: either minimum (backup permissions in the selected databases) or full (sysadmin). It also secures the data folder and starts the service.

Setup wizard, summary and permissions

3. Take the first backup

Open Backups, pick the job and press Run now, or use the command line:

PowerShell
sqldatalog backup nowsqldatalog backup now --job daily --db LOGODB

Without --job the command works only when there is exactly one backup job. The request goes to the running service, so it follows the same rules as a scheduled run (one heavy job at a time). While a backup runs you see the steps: SQL Server is backing up, verifying, compressing and encrypting, copying to the destinations.

Backups page with the job list

4. Check the result

History lists every backup, verification and upload with its result. The same information is available on the command line:

PowerShell
sqldatalog statussqldatalog log --last 20sqldatalog log --failed

Each backup is taken with BACKUP ... WITH CHECKSUM and then checked with RESTORE VERIFYONLY ... WITH CHECKSUM before it is compressed (Zstandard), encrypted and copied to your destinations. A result carries a language-independent code (for example BKP-1004) that you can quote to support.

History page

5. Do a restore check yourself

A backup you have never opened is a hope, not a backup. Do this once now and again from time to time:

  1. In the app open Restore, choose a .sdlb file from one of your destinations and press Open backup. Use this server's key, or the recovery key if you are on another computer.
  2. The app decrypts and fully verifies the file and writes the original .bak.
  3. In SQL Server Management Studio restore it under a new name and look at the data. For differential and log backups restore the full backup WITH NORECOVERY first.

On the command line (also works on a computer that does not run the service):

PowerShell
sqldatalog decrypt D:\Backups\LOGODB_full.sdlb --out D:\Restore\LOGODB.baksqldatalog decrypt D:\Backups\LOGODB_full.sdlb --verify-only

The key is taken from --key, otherwise from this server, otherwise it is asked for without echo. --overwrite replaces an existing output file.

Restore page

Back up a remote SQL Server

BACKUP runs inside SQL Server and writes to a path on the SQL Server computer's own disk. When SQL Server runs on another Windows computer than the service, the staging folder must therefore be a shared folder such as \\server\share\sqlstaging:

  • SQL Server's service account needs Modify rights on the share and the folder.
  • The computer running the SQL Data Log service needs Modify rights too. The service runs as NT SERVICE\SQLDataLog, which appears on the network as the computer account (DOMAIN\COMPUTER$).
  • The wizard detects a remote server and shows a Shared staging folder field with a Test folder button that checks both sides.

Both sides must use the same path. If SQL Server sees the folder under a different path (a container, a share alias), the settings file has an extra value staging.sqlServerPath in the backup section for the path as SQL Server sees it. The desktop app does not offer it; edit config.json in the data folder if you need it.

For SQL Server on Linux see SQL Server on Linux: what works.

Next steps