Administer
Web dashboard
The SanadWeb service, its listen addresses, serving it over HTTPS or behind a reverse proxy, and the health endpoint for monitoring.
The SanadWeb service
The web dashboard is the Windows service SanadWeb, shown as "SANAD Backup Web Dashboard", installed in C:\Program Files\Sanad\web. It serves the same pages as the desktop app, in a browser. It starts automatically with Windows, restarts after a failure and runs as the account chosen with SERVICEACCOUNT during installation (Local System by default). It shares SANAD Backup's data folder with the backup service but never runs schedules itself: the backup service does that.
Control it like any Windows service, from an administrator prompt:
sc.exe stop SanadWeb
sc.exe start SanadWeb
In PowerShell, Restart-Service SanadWeb does both. Restart the service after you change its settings file.
Listen addresses
Setup installs the dashboard on the addresses given in WEBURLS, by default http://localhost:5080, which answers only on the server itself. Setup remembers the value; to change it, pass a new WEBURLS to the next version's setup, or uninstall and install again (your data stays). See Install.
If the port is already used by another program, the service cannot start — see Troubleshooting.
Signing in from other computers
The dashboard's session cookie is marked Secure. Over plain HTTP, browsers keep it only for localhost, 127.0.0.1 and [::1], so from any other computer the sign-in page simply comes back. Serve the dashboard over HTTPS with one of the two options below.
Keep your own settings in C:\Program Files\Sanad\web\appsettings.Production.json. You create this file; SANAD Backup does not install it, so upgrades keep it. Do not change appsettings.json in the same folder: every upgrade replaces it.
Option 1: HTTPS in the dashboard itself
Install a certificate for the server's name in the computer's certificate store (Local Computer > Personal). The service account must be able to read its private key; Local System can.
Create
C:\Program Files\Sanad\web\appsettings.Production.json:{ "Kestrel": { "Endpoints": { "Https": { "Url": "https://*:5443", "Certificate": { "Subject": "sanad.example.com", "Store": "My", "Location": "LocalMachine" } } } } }Allow the port through Windows Firewall:
New-NetFirewallRule -DisplayName "SANAD Backup dashboard" -Direction Inbound -Protocol TCP -LocalPort 5443 -Action AllowRestart
SanadWeband openhttps://sanad.example.com:5443.
Replace the name and port with your own. A Kestrel Endpoints section replaces WEBURLS entirely: list every address the dashboard should answer on. Once an HTTPS address exists, plain HTTP requests are redirected to it. To keep a plain HTTP address for the server itself, add it as a second endpoint next to Https — "Http": { "Url": "http://localhost:5080" } — and add "Security": { "EnableHttpsRedirection": false } at the top level of the same file.
Option 2: a TLS reverse proxy
Run a reverse proxy on the server that accepts HTTPS and forwards to http://localhost:5080. The proxy must:
- pass WebSocket connections (the dashboard keeps a live connection open while a page is in use), and allow long-lived connections;
- send
X-Forwarded-ForandX-Forwarded-Proto; - keep the original
Hostheader.
For example, with NGINX:
location / {
proxy_pass http://127.0.0.1:5080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 100s;
}
A proxy on the same computer is trusted automatically. If the proxy runs on another computer, list its address in appsettings.Production.json — list the proxies themselves, not your client networks:
{
"ForwardedHeaders": { "KnownProxies": [ "10.0.0.5" ] }
}
Listing a proxy replaces the automatic trust of the local machine. If you also use a proxy on the server itself, list 127.0.0.1 and ::1 too.
The health endpoint
GET /health answers without sign-in, for load balancers and monitoring tools. It returns JSON with an overall status and one entry per check, and it never includes secrets:
{
"status": "Healthy",
"checks": [
{ "name": "database", "status": "Healthy", "description": "..." },
{ "name": "disk", "status": "Healthy", "description": "..." },
{ "name": "scheduler", "status": "Healthy", "description": "..." }
]
}
| Check | Reports |
|---|---|
database |
Whether SANAD Backup's database can be reached. |
disk |
Whether the data drive has enough free space (1 GB by default). |
scheduler |
Whether a SANAD Backup scheduler — normally the backup service — is alive and owns the schedules. Degraded means none does, so scheduled backups will not start. |
The HTTP status is 200 when the result is Healthy or Degraded and 503 when it is Unhealthy. Alert on Degraded too: a stopped backup service shows up as a degraded scheduler.
Request limits
The dashboard accepts up to 100 requests per minute from each client address. If many users reach it through one address, raise the limit in appsettings.Production.json:
{
"RateLimiting": { "PermitLimit": 300 }
}
When you set several of these options, put them all in the one appsettings.Production.json file.