Use SANAD Backup
Schedules
Run backup jobs automatically with full and differential schedules, and understand missed runs and retries.
How scheduling works
The backup service (Sanad, "SANAD Backup Service") runs every schedule on time, whether or not anyone is signed in and whether or not the desktop app is open. While the backup service is stopped, an open desktop app runs the schedules instead, as your Windows account. The web dashboard never runs schedules itself. A schedule you add or change in the desktop app or the web dashboard reaches the backup service within about a minute, without a restart. So does enabling or disabling a job, including with the command-line tool.
Set a schedule for a job
Schedules belong to a job: set them in step 4, Schedule, of the job wizard (see Backup jobs).
- Turn on Run this job on a schedule. Leave it off to run the job only on demand.
- Under Full backup — every, enter a number and choose hours or minutes.
- For a native SQL Server job, you can also tick Also run differential backups and set Differential backup — every. The differential interval must be shorter than the full interval.
- Finish the wizard and save the job.
| Setting | Runs at |
|---|---|
| Every 24 hours | Once a day, at midnight |
| Every 6 hours | 00:00, 06:00, 12:00 and 18:00 |
| Every 1 hour | At the start of every hour |
| Every 30 minutes | At :00 and :30 of every hour |
Intervals are 1–24 hours or 1–59 minutes. Hour intervals count from midnight and minute intervals from the start of each hour, so an interval that does not divide the day or the hour evenly starts again at midnight or on the hour. If a differential is due before the job has a full backup, or the last full backup SQL Server knows of was not taken by this job, SANAD Backup takes a full backup instead.
Differential backups are offered only for SQL Server jobs with native output. The wizard does not schedule transaction-log backups: to take one, run a job whose Backup Type is TransactionLog.
Advanced schedules with cron
Tick Advanced (raw cron) to type the schedule as a cron expression in Full backup cron and, optionally, Differential backup cron. The format has six or seven fields: seconds, minutes, hours, day of month, month, day of week, and an optional year. Use ? in either the day-of-month or the day-of-week field.
| Schedule | Cron |
|---|---|
| Every day at 02:00 | 0 0 2 * * ? |
| Monday to Friday at 22:00 | 0 0 22 ? * MON-FRI |
| Every Sunday at 03:00 | 0 0 3 ? * SUN |
| The 1st of every month at 04:00 | 0 0 4 1 * ? |
| Every 4 hours | 0 0 0/4 * * ? |
| Every 30 minutes | 0 0/30 * * * ? |
SANAD Backup checks the expression when you save the job and refuses one it cannot read.
Time zone
Schedule times are in the time zone of the computer where the job was saved — the server, when you use the web dashboard or the desktop app on the server. The Schedules page shows each schedule's time zone.
The Schedules page
Schedules, in the sidebar for administrators, lists each job's backup type, plain-language recurrence, original cron expression, next run and time zone. Complex cron expressions are labeled Custom schedule; the cron remains authoritative. A configured run window appears beside the recurrence.
Next runs show the schedule-local time with its UTC offset and a UTC equivalent. Offsets can change with daylight saving. Scheduler reported means the running scheduler supplied the time. Stored estimate means the page read the saved next-run time; the service may update it. Past estimates appear as Last reported, rather than being presented as upcoming runs. When no future time is available, the page says Next run not reported.
The page's Trigger now, Pause and Resume actions work only in the desktop app, where the scheduler runs; in the web dashboard they fail. To change a schedule, edit the job. To run a job immediately, use Run Now on its card on the Backup Jobs page.
Missed runs
A scheduled time that passes more than about a minute without the backup starting — because the computer was off or asleep, the backup service was stopped with no desktop app open to take over, or the previous run of the same job was still going — is recorded as a missed run. It is not run late: the next scheduled time runs as usual. For differential schedules, a later run of the job covers the missed time, and the missed run is not reported. A missed full backup is always reported.
The Dashboard's Live activity panel shows how many missed runs are waiting. To catch up, use Run Now: it takes the backup, but the Dashboard's missed-run count stays as it is.
While a job is disabled, its scheduled times are skipped on purpose and are not counted as missed runs. Re-enabling the job resumes its schedule without a restart; it does not catch up the skipped times.
Retries
When a scheduled run cannot reach SQL Server, SANAD Backup tries the run again up to three more times, waiting 5, 10 and then 15 minutes. Each attempt appears on the History page. A permanent error, such as a backup type the job cannot take, is not retried.
A failed upload to a destination is retried twice straight away during the run; it does not repeat the whole run. Run Now in the app and the command-line tool do not retry.