SFTP Backup - Database Backup to SFTP, FTP and FTPS Server
SFTP backup: send your scheduled auto backup of the database to your own SFTP, FTP or FTPS server (NAS, VPS, hosting) with retention. Add-on for Database Backup.
- Price
- $29
- Odoo versions
- 16.0
- 17.0
- 18.0
- 19.0
- 20.0
- Technical name
tamadoo_db_backup_sftp- License
- OPL-1

Text and screenshots below are from the Odoo 20.0 version of this module.
Send your scheduled Odoo backups to your own server (NAS, VPS, hosting) — off-site, with automatic retention.
What it does
Adds SFTP / FTP / FTPS Server as a destination for the free Tamadoo Database Backup engine. Every scheduled (or manual) backup is uploaded to a folder on your server, and old backups in that folder are pruned with the same retention policy as the local backups.
- SFTP (SSH) with a password or a private key (Ed25519, ECDSA, RSA, with or without passphrase).
- Host key check: the server fingerprint is recorded on the first connection, a changed key is refused (no upload to an impostor).
- FTP and FTPS (explicit TLS) with passive mode and TLS session reuse, so it works with vsftpd, ProFTPD, Pure-FTPd, FileZilla Server and NAS boxes.
- Upload streamed from disk to a temporary
.partname and renamed when complete: an interrupted transfer never looks like a backup. - Retention on the server: keep N days of backups plus the latest backup of each of the last M months. Only files named
<database>_YYYYMMDD_HHMMSS.zipor.dumpin the configured folder are ever deleted. - Test Connection (login, folder, write and delete rights) and Refresh Remote List right on the form.
- Clear error messages: login refused, host unreachable, folder missing, no permission, host key changed, TLS problem. Failure e-mail from the backup engine.
- Password, private key and passphrase readable by administrators only, password shown masked.
How it looks
The SFTP settings on the backup form, after Test Connection (host key recorded):
After the backups ran: status, last file and the backups now on the server:
Step by step setup in Odoo 20
- Prepare the server: a user that may log in by SFTP, FTP or FTPS and an existing folder
where that user may list, write, rename and delete files (for example
/srv/backups/odoo). - SFTP only: make sure the Python package
paramikois installed on the Odoo server (pip install paramiko, then restart Odoo). FTP and FTPS need nothing extra. - Install this module from Apps (the free Tamadoo Database Backup engine installs with it).
- Open Backups → Database Backups → New, give it a Name and set Store To = SFTP / FTP / FTPS Server. The SFTP / FTP Server section appears.
- Pick the Protocol, fill in Host, Port (22 for SFTP, 21 for FTP and FTPS), Remote Folder, Username and the Password, or for SFTP paste a Private Key and its Key Passphrase.
- Click Test Connection: it shows Connection OK, checks that the folder is writable and, for SFTP, records the Host Key Fingerprint. Compare it with the one of your server if you can.
- Click Back Up Now. The file appears under Existing Backups and in the folder on your server.
- Set Frequency, Keep Daily, Keep Monthly and a Notify On Failure e-mail. The scheduled action uploads and prunes from now on.
Which protocol for which server
| Server | Protocol / Port | Notes |
|---|---|---|
| Linux VPS or dedicated server | SFTP, 22 | Uses the SSH server already there. A dedicated user with a private key is best. |
| Synology / QNAP / TrueNAS | SFTP, 22 (or FTPS, 21) | Enable SFTP (or FTP with TLS) in the NAS file services and give the user rights on a shared folder. |
| Hetzner Storage Box | SFTP, 23 (or 22) | Turn on SSH support for the box; the folder is relative to the box root, e.g. backups. |
| cPanel / Plesk web hosting | FTPS, 21 | Create an FTP account limited to one folder. Keep Verify TLS Certificate on. |
| Plain FTP server on a private network | FTP, 21 | Unencrypted: the password and the backup travel in clear text. Use it only on a trusted LAN or VPN. |
Keep Passive Mode on for FTP and FTPS unless your server asks for active mode.
Troubleshooting
| Message | Fix |
|---|---|
| The server refused the login | Check the Username and the Password. For a private key: its public key must be in ~/.ssh/authorized_keys of that user. |
| Cannot reach host:port | Check the Host and the Port, that the service runs and that the firewall lets the Odoo server in. |
| The remote folder does not exist | Create the folder on the server, or correct the Remote Folder (absolute /srv/backups or relative to the login folder). |
| No permission in the remote folder | Give the user list, write, rename and delete rights on that folder. |
| HOST KEY CHANGED | The server presents another key than the one recorded. If you reinstalled or moved the server, clear Host Key Fingerprint and test again; otherwise investigate before sending any backup. |
| Private key problem | Paste the whole key including the BEGIN / END lines, and the right passphrase. Ed25519, ECDSA and RSA keys are supported. |
| TLS error | The server must support explicit FTPS (AUTH TLS). For a self-signed certificate on your own server, untick Verify TLS Certificate. |
| SFTP needs the Python package "paramiko" | Run pip install paramiko in the Python environment of Odoo and restart it (on Odoo.sh: add paramiko to requirements.txt). |
Requirements
- Odoo 20 — Community or Enterprise, on-premise or Odoo.sh.
- Tamadoo Database Backup (
tamadoo_database_backup, free) — the backup engine. - An SFTP, FTP or FTPS server reachable from the Odoo server.
- For SFTP: the Python package
paramiko. FTP and FTPS use only the Python standard library. - Enough free disk space in the server's temp folder for one backup file (it is written there, uploaded, then removed).
Works well with
Other Tamadoo backup apps for Odoo 20.0 that pair well with this one:
- S3 Backup - Database Backup to Amazon S3, Cloudflare R2, Wasabi, Backblaze B2, MinIO: also send each backup to Amazon S3 or any S3-compatible storage, with retention in the bucket.
- Google Drive Backup - Database Backup to Your Drive: keep a second copy of each backup in your own Google Drive.
Tamadoo · tama.odoo@gmail.com
Get SFTP Backup
Questions before buying? Write to tama.odoo@gmail.com.



