Skip to content

FTP ​

Store backups on a remote FTP server. Supports plain FTP and explicit FTPS (FTP over TLS).

Configuration ​

Credential Profile required

FTP requires a Credential Profile of type USERNAME_PASSWORD. Create one in Vault → Credentials before saving the destination.

FieldDescriptionDefaultRequired
NameFriendly name for this destination-✅
HostHostname or IP of the FTP server-✅
PortFTP port21❌
LoginUSERNAME_PASSWORD credential profile (username + password)-❌
TLSEnable explicit FTPS (FTP over TLS)false❌
FolderRemote directory for backups. The folder button beside it browses the server from its top once the connection and its login are filled in-❌

Setup Guide ​

  1. Create a USERNAME_PASSWORD credential profile in Vault → Credentials (guide)
  2. Ensure an FTP server is running on the target host
  3. Create a dedicated user with write access to the backup directory
  4. Go to Connections → Destinations → New destination → FTP
  5. Enter Host and pick the credential profile under Login
  6. Enable TLS if your server supports FTPS (recommended)
  7. (Optional) Set a Folder in the Location part to specify the remote directory, or pick it with the folder button (📂)
  8. Click Test connection to verify the connection

Security

Plain FTP transfers credentials and data unencrypted. Always enable TLS when possible, or consider SFTP as a more secure alternative.

How It Works ​

  • When TLS is enabled, DBackup uses explicit FTPS (AUTH TLS) - the connection upgrades from plain to encrypted
  • DBackup creates subdirectories per job within the folder automatically
  • All credentials are stored AES-256-GCM encrypted in the database

Troubleshooting ​

Connection Refused ​

connect ECONNREFUSED

Solution: Verify the host and port. Ensure the FTP service is running and the firewall allows the FTP port and passive port range.

Login Failed ​

530 Login authentication failed

Solution: Verify username and password. Check the FTP server logs for more detail.

TLS Handshake Error ​

SSL routines / handshake failure

Solution: Ensure the server supports explicit FTPS (AUTH TLS). Implicit FTPS (port 990) is not supported - use explicit mode on port 21.

Passive Mode Issues ​

ETIMEDOUT after PASV

Solution: Ensure the server's passive port range is open in the firewall. In Docker, the FTP data ports also need to be forwarded.

Next Steps ​

Released under the GNU General Public License. | Privacy · Legal Notice