Skip to main content
Print

FTP and SFTP

For any server you reach over FTP or SFTP. FTP is part of the free plugin; SFTP needs Hera Backup Pro, and without Pro the Protocol list offers FTP only.

Connect

  1. In WordPress, go to Hera Backup > Storages, find the FTP / SFTP card, and click Connect.
  2. Choose the Protocol: FTP, or SFTP with Pro.
  3. Enter the Host, for example ftp.example.com. For a server on your own network, such as a NAS, also tick This server is on my own network; without it the plugin does not connect to a private address.
  4. Enter the Port (21 for FTP, 22 for SFTP), Username, Password and Remote path (for example /backups/hera/).
  5. For SFTP you can paste a Private key (optional) in PEM format instead of a password.
  6. For FTP: tick SSL (FTPS) if the server supports it, and Passive mode if your host needs it. FTP mode offers PUT MODE, APPEND MODE and NON-BLOCKING MODE; leave PUT MODE unless uploads fail.
  7. Click Save, then Test connection.

How many backups are kept

Max backups to keep (0 = unlimited) is counted per schedule: when a scheduled backup finishes, that schedule's older backups here beyond this number are deleted. Manual and imported backups, the recovery point and the backup last restored are never deleted automatically. See Storage Retention and Cleanup.

SFTP and the server's key

The first successful connection over SFTP remembers the server's host key. If the key changes later, the backup is refused before any login and the form asks you to Trust the new key and test again. Trust it only if you replaced or re-keyed the server yourself; otherwise something may be standing between your site and the server.

Warning: Plain FTP sends the password unencrypted. Prefer SFTP, or tick SSL (FTPS).

Table of Contents