Use SANAD Backup

Destinations

Send backups to folders, network shares and preview cloud storage, test each destination, secure the connection and set retention.

A destination is a place where a job delivers its backups. A job can have several destinations, each with its own folder layout and retention rules. Add and edit them in the Destination step of the job wizard, for new jobs and when you edit a job.

Destination types

Group Types
Local & network Local folder, Network folder
File servers FTP (unencrypted), FTPS, SFTP — preview
Object storage Amazon S3, Wasabi, Internxt, Contabo, Backblaze B2, Other S3-compatible (custom endpoint), Azure Blob Storage — preview
Cloud drives Google Drive — preview

Preview means the destination is complete in the app but has not yet been verified against every real cloud service. Test it with your own account before you rely on it.

Add a destination

  1. In the Destination step, choose Add destination and pick the Destination type.
  2. Fill in its fields (required ones carry an asterisk), the folder layout and the retention rules.
  3. Choose Test, check the result, then choose Apply.
  4. Finish the wizard and save the job. Nothing is stored until the job is saved.
Type Main fields
Local folder Folder, such as D:\Backups.
Network folder Share path, such as \\server\share\backups, and optionally Username, Domain and Password. Without them, the account that runs the backup needs access to the share.
FTP, FTPS Server, Port, Username, Password, Remote folder, Passive mode. FTPS adds TLS mode — Explicit (usually port 21) or Implicit (usually port 990) — Verify the server's certificate and TLS 1.2 only. Choosing Implicit does not change Port, so set it to 990 yourself.
SFTP Server, Port, Username, Sign in with a password or a Private key file (readable on the computer that runs the backups) and, if the key has one, its Key passphrase, Remote folder.
Amazon S3 Access key ID, Secret access key, Region, Bucket, Prefix (folder), Storage class, Server-side encryption, and KMS key ID when SSE-KMS encryption is chosen.
Wasabi, Internxt, Contabo, Other S3-compatible Access key ID, Secret access key, Endpoint, Region, Bucket, Prefix (folder). The Wasabi and Internxt presets fill in the endpoint and region; for Contabo, enter your region's endpoint. Other S3-compatible adds Path-style addressing.
Backblaze B2 API (B2 native or S3-compatible), the key fields of that API, Bucket and Prefix (folder). With the native API, also enter the bucket's Bucket ID from your Backblaze account.
Azure Blob Storage Sign in with a connection string or a SAS token, Container, Prefix (folder), Access tier. A SAS token also needs Storage account. A Test never creates the container.
Google Drive OAuth client ID, OAuth client secret, Folder in your drive, then Connect account (see Google Drive).

Test a destination

Test writes a small test file exactly where backups will go, finds it, reads it back, lists the database folder (with One folder per database), deletes the file and removes any folder it created, within about 30 seconds. Abandon test stops waiting at once; SANAD Backup still cleans up. A failed test names one cause, such as Server unreachable, Sign-in rejected, Folder missing, No write permission, Certificate not trusted, Host key unknown or changed, or Timed out.

The result also names the computer and Windows account that ran the test. Scheduled backups run in the backup service as its account (Local System by default), so a share or key file can behave differently for them than for a test you run as yourself in the desktop app.

Secure connections

  • SFTP host keys. The first Test shows the server's fingerprint (SHA256:…). Confirm it with the server's administrator, then choose Trust this key, or paste the fingerprint under Enter the host key fingerprint yourself. The job cannot be saved before the key is confirmed. If the server later shows a different key, backups fail with "host key changed" until you choose Replace confirmed key. Changing the server or port clears the confirmed key.
  • FTPS certificates. The server's certificate is checked by default. Turning off Verify the server's certificate (for a self-signed certificate) needs an acknowledgement and marks the destination "certificate not verified". FTPS data connections are encrypted but not certificate-checked, so turn on backup encryption in the job. If uploads fail with error 425, try TLS 1.2 only.
  • Unencrypted connections. FTP sends the password and the files in clear text. It needs no acknowledgement; it shows an unencrypted badge. An http:// endpoint for S3-compatible storage, or an Azure connection string using http, needs you to tick an acknowledgement before you can test or apply it. Prefer FTPS, SFTP or HTTPS.

Saved passwords and keys

Saved passwords, keys, tokens and connection strings are never shown again. Their fields say Saved — leave blank to keep. Type a new value to replace one, or choose Remove saved value to clear an optional one. If a Test or a run reports "Saved credential can't be read on this machine", type the value again — for example after the data folder was copied from another server.

Retention

Each destination can Keep the last N backups, Delete backups older than N days, or both. With neither, nothing is deleted.

  • With One folder per database (the default), SANAD Backup keeps the newest N backup files of each database. With all backups in one folder, it keeps the newest N files in total, plus each database's newest full backup.
  • Only files this job created are counted or deleted.
  • A full backup is kept while a kept differential or log backup still needs it, and each database's newest full backup is never deleted.
  • Retention runs once a night on the computer that runs the scheduled backups. It does not run for a disabled job's destinations.
  • When retention cannot do its job, the job card shows Retention needs attention; point at it to see the reason.

Edit, move or remove a destination

  • The type of a saved destination cannot change; remove it and add another.
  • Changing the server, endpoint, bucket, container, storage account, folder, prefix, Google account or folder layout is a move. Remove marks a destination "Will be removed", with Undo, until you save. Moves and removals ask for confirmation when you save.
  • Backup history is kept, and the Restore page still looks in the old place for older backups while the files and the saved sign-in remain.

Google Drive

SANAD Backup uses an OAuth client that you create in your own Google Cloud project, with the drive.file permission: it sees only the files it created, in a folder it creates in your drive (SANAD by default). How to set up in the form lists the steps: enable the Google Drive API, add the drive.file scope, publish the app "In production" (in Testing, Google ends the connection after 7 days), and create a Desktop app client for the desktop app or a Web application client, with the redirect address the form shows, for the web dashboard. Use the same project for both.

Enter the client ID and secret and choose Connect account. Web connect works only at an https:// address with a domain name, or at http://localhost on the server. The form then shows Connected as your account; save the job to apply it. A declined or failed attempt changes nothing.

Disconnect forgets the authorization in SANAD Backup only; remove SANAD Backup's access in your Google Account's permissions. If Google stops accepting the connection, the job card shows Reconnect needed: edit the destination, choose Reconnect and save the job.