FTP, FTPS and SFTP destinations (WebDAV coming soon)
Send SQL Server backups to an FTP, FTPS or SFTP server. Exact settings, port defaults, certificate and host key checks. WebDAV is planned.
On this page
SQL DATA LOG Backup can copy the finished backup to an FTP, FTPS or SFTP server, for example a hosting account, a NAS or a server at another site. Add a destination and choose the type; the dialog is the same as for other destinations.
Which type to choose
- SFTP (SSH): the first choice when the server offers it. Encrypted, and the server is identified by its host key.
- FTPS (FTP over TLS): encrypted FTP. Use it when the server has no SSH.
- FTP (not encrypted): user name and password travel in clear text. The app warns about it. Use it only inside a network you control. Backups are encrypted before they leave the server, but the login is not protected.
Settings common to all three
| Field | Meaning |
|---|---|
| Server name or address | Host name or IP address only. No ftp:// prefix and no port. |
| Port | Empty means the default: 21 for FTP and explicit FTPS, 990 for implicit FTPS, 22 for SFTP. |
| Folder on the server | For example /backups/sql. A relative path starts in the login folder; empty means the login folder. Missing folders are created. |
| User name and password | The login. The password is stored encrypted with Windows DPAPI (LocalMachine), never in the settings file or the logs. |
Files are uploaded under a temporary name and renamed when complete, so an interrupted upload does not leave a half file under the real name. Temporary errors are retried with growing pauses; a permanent error such as a wrong password is not.
FTP and FTPS
| Field | Meaning |
|---|---|
| Encryption (FTPS) | Explicit TLS (the default, usually port 21) or implicit TLS (usually port 990). Plain FTP has no TLS. |
| Passive mode | On by default. It is the mode that works through firewalls and NAT; leave it on unless your provider tells you otherwise. |
| Trusted server certificate thumbprint (FTPS, optional) | Only for a server with a self-signed certificate: enter the certificate's SHA-1 or SHA-256 thumbprint to trust exactly that certificate. Empty means the certificate must be valid and trusted by Windows. |
There is no "accept any certificate" switch. A server whose certificate fails the check is refused until you pin its thumbprint.
SFTP
| Field | Meaning |
|---|---|
| Server key fingerprint (SHA256) | Required. Press Test destination: the app reads the key the server presents and shows its fingerprint. Compare it with the value from your server administrator and press Trust this key only if they are identical. |
| Password | Optional if you use a key file. |
| Private key file | Full path of a key file on the SQL Data Log computer that the service account can read. OpenSSH, PEM and PuTTY key formats are supported. Use it with a password or instead of one. |
| Key passphrase | Only if the key file has one; stored in the encrypted vault. |
If the server's key ever differs from the confirmed one, backups to that destination stop, because it can mean someone is intercepting the connection. If you really replaced the server, clear the fingerprint field and confirm the new key again.
Press Test destination for every FTP, FTPS or SFTP destination: it checks the login and the folder.
WebDAV (coming soon)
WebDAV (for example the WebDAV access of Nextcloud or some NAS devices) is planned but not built. Until then:
- many WebDAV products also offer SFTP or an S3 API; use that type;
- a NAS that speaks WebDAV can usually also be reached as a network share, see local and network;
- if you need WebDAV specifically, tell us on the support page.