Use SANAD Backup

Backup jobs

Create a backup job in the six-step wizard, choose the backup type, compression and encryption, run it now and read its history.

A backup job says which databases to back up, how, where to send the backups and when. Administrators create and change jobs; other users see a read-only list on Backup Jobs.

Create a job

On Backup Jobs, choose + Create new job. The wizard has six steps. Next becomes available when a step is complete, and Back returns to an earlier step.

Step 1: Connection

Choose the SQL Server connection. Test Connection checks it again. No connection yet? Add one on the Connections page first.

Step 2: Databases

Tick the databases to back up. The search box filters the list. Select All ticks every database on the server, including any the search box hides. System databases are not listed. The job backs up exactly the databases you tick; a database created later is not added automatically.

Step 3: Options

Option What it does
Job Name Required.
Backup Source Leave it on Database (server).
Backup Type Full, Differential or TransactionLog for native output; Full for script output. It is the type a manual run takes.
Output Format Native (a SQL Server .bak file) or Script (schema and data as a SQL script). A script export's file is still named like a full backup: …_Full.bak, then .zip/.enc.
Enable Compression On by default. Uses SQL Server's backup compression for native backups (not available on Express and Web editions: turn this off there) and packs each backup into a zip file. Compression Level: Optimal (smallest files), Fastest, or None (store only).
Enable Encryption (AES-256) Encrypts each backup with a password you type twice. See The encryption password.
COPY_ONLY Backup Leaves SQL Server's own backup sequence untouched — useful when another tool also backs up the database. A COPY_ONLY job never takes differentials: each differential runs as a full backup.
Max Transfer Size, Block Size Optional SQL Server tuning; blank means SQL Server's defaults. Max Transfer Size: 65,536–4,194,304 bytes, a multiple of 65,536.
Filename Template How backup files are named. Tokens: {DatabaseName}, {DateTime:format}, {BackupType}, {ServerName}. Filename Preview shows an example. Dates and times in file names are in UTC.

Keep the filename template once backups exist: retention recognises a job's backups by their names.

Steps 4 and 5: Schedule and Destination

Set how often full and, for native output, differential backups run — or leave Run this job on a schedule off to run the job only on demand (Schedules). Then add one or more destinations, test them and set their retention (Destinations).

Step 6: Review

Check the summary, then choose Save Job, or Save & Run Now to save and start a backup at once. When a new or changed destination was not tested, a destination's last test failed or passed with a warning, or you removed or moved a destination, SANAD Backup first shows Before you save with the points to confirm. Choose Save with these changes or Go back. If it lists something to fix first, Save with these changes stays unavailable.

Backup types

Backup type Output What it contains
Full Native or Script The whole database. Each native full backup starts a new backup chain.
Differential Native The changes since the last full backup. When there is no full backup yet, or the last full backup SQL Server knows of was not taken by this job, SANAD Backup takes a full backup instead.
TransactionLog Native The transaction log since the previous log backup. The database must use the full or bulk-logged recovery model.

Scheduled runs take the type of their schedule — full or differential. The job's Backup Type decides what a manual run takes: Run Now, Save & Run Now and the command-line tool.

Native backups and restores need SQL Server on the same computer as SANAD Backup; see Connections. Script exports also work with remote servers, but the Restore page restores native backups only.

The encryption password

Backups are encrypted with AES-256-GCM, using a key derived from your password. SANAD Backup stores the password encrypted with the job, so the job's own restores use it automatically.

  • Keep a copy of the password somewhere safe outside SANAD Backup. Without it, an encrypted backup cannot be restored — for example after the server and its data folder are lost.
  • When you edit a job, leave the password blank to keep it. A new password applies only to later backups; earlier ones still need the old password, which you enter as Decryption password on the Restore page.
  • Turning encryption off keeps the stored password, so earlier encrypted backups stay restorable.

How a run works

SQL Server backs up each selected database into the staging folder, %ProgramData%\Sanad\backups\staging. SANAD Backup then compresses and encrypts the files, sends them to every destination of the job and deletes the staging copies. If one database fails, the others still run. A run ends as Success, PartialSuccess, Failed or Cancelled; a run whose backups reached no destination is Failed, even when SQL Server's backups worked.

Run a job now

  • On Backup Jobs, choose Run Now on an enabled job's card. While the run is going, the run page shows the elapsed time and a log, with Cancel; when it ends, it shows each database's result and a summary. Leaving the page does not stop the backup. When the page hands the run to the backup service, it says so; follow the result on History.
  • On the Dashboard, Run all enabled jobs runs every enabled job, one after another.
  • From a command prompt: Sanad.CLI backup run "Job name" — see Command line.

Change, disable or delete a job

  • Edit opens the wizard. The connection and the databases cannot be changed when editing; create a new job for another server or another set of databases.
  • The switch on the card enables or disables the job. A disabled job does not run on its schedule.
  • Notifications opens the job's own notification channels.
  • Delete removes a job that has never run. Deleting a job that has backup history stops it and removes its schedules, but its backups stay at the destinations and remain restorable from the Restore page, where the job is listed as "(deleted job)".

History

History lists every run. Filter by job, status and period (24h, 7d, 30d, All), then choose Apply. Expand a run to see the Delivery table: each database, where its backup went, with its status, size, duration, retries and any error. Export CSV saves the runs on the current page. Times are in UTC. The Dashboard sums it up: backups in the last 24 hours, the 30-day success rate, a 7-day trend and missed runs.