Duplicator Documentation

Documentation, Reference Materials, and Tutorials for Duplicator

Want it done for you?

Let the Duplicator experts migrate your WordPress site for you — quick, safe, and hassle-free.

Get Migration Help

Storing Your Backup to SFTP/ FTP


Whether you’re a seasoned webmaster or new to website management, ensuring the safety of your website data is important. Duplicator simplifies the backup process, while FTP or SFTP offers a secure way to transfer your files to a remote server.

In this guide, we’ll walk you through the steps to set up Duplicator Pro with FTP or SFTP, ensuring your website backups are securely stored and easily accessible.

Note: SFTP is not the same as FTP or FTPS. SFTP uses the SSH protocol for transferring files and supports key-based authentication in addition to a password. In Duplicator Pro, FTP and SFTP are separate storage types, selected individually from the Type dropdown, not one combined option.

Storing Backup to SFTP/ FTP location

Begin with creating a new storage provider. Navigate to Duplicator Pro » Storage » and click on Add New:

Then, name the new storage. Using the Type dropdown menu, choose either FTP or SFTP, depending on which protocol your host supports:

Now, enter your FTP or SFTP credentials. If you’re setting up SFTP with a private key instead of a password, you’ll need the key file too. If you’re unsure about any of these details, reach out to your hosting provider.

Next, click the Save Provider button to save this storage endpoint.

Finally, click the Test Storage button to validate that data can be moved between systems:

validation- ftp

Note: When creating a new backup or schedule, you will need to check the box for this storage endpoint to be a location where the backup (archive.zip and installer.php) will be transferred to after it has been created.

FTP Settings

Storage FolderThe folder on the FTP servers where backups will be stored. This should be unique for each website using Duplicator Pro.
Note: This path must be setup ahead of time correctly for the storage connection to work.
Max BackupsSpecify the number of backups to keep in ‘Storage Folder’. Setting 10 will keep the last 10 backups. Set to 0 for no limit. It is highly recommended to keep this number low. Storing too many backups can lead to space allocation issues.
TimeoutHow long should Duplicator wait when trying to connect.
Explicit SSLWhether the connection attempts to use FTPS to connect to the server. This needs to be supported and configured correctly on the FTP server first.
Passive ModeWhether this connection uses FTP passive mode.
Transport MethodWhether Duplicator uses the PHP cURL extension or the PHP FTP extension for file transfers. Only one option is selectable if your server has just one of the two enabled.

FTP storage requires either the PHP cURL extension or the PHP FTP extension to be enabled on your server. If FTP doesn’t appear as an available storage type, ask your host to enable one of these.

SFTP Settings

Storage FolderThe absolute path on the SFTP server where backups will be stored. This should be unique for each website using Duplicator Pro.
Max BackupsSpecify the number of backups to keep in the Storage Folder. Setting 10 keeps the last 10 backups. Set to 0 for no limit.
TimeoutHow long Duplicator waits when trying to connect.
Private Key FileOptional. Upload a PuTTY-formatted key file (.ppk) to authenticate with a private key instead of a password.
PasswordYour account password, or the private key’s passphrase if you’re authenticating with a key file instead.

SFTP requires the PHP gmp extension to be enabled on your server. If SFTP doesn’t appear as an available storage type, ask your host to install it.

The Test Storage button mentioned earlier validates the connection the same way for both FTP and SFTP: it attempts to create and then delete a small test file at the configured Storage Folder.

For connection issues with either protocol, see Troubleshooting SFTP/FTP Storage Types.

That’s it. Your website backups will now be transferred to your FTP or SFTP server whenever a backup or schedule using this storage endpoint runs.

Looking for a different storage option? See A Complete Guide to Duplicator’s Storage Options.


Was this article helpful?


Related Articles

Don't Let Another Day Pass Unprotected

Every hour without proper WordPress backups puts your site at risk • Every delayed WordPress migration costs you performance and growth

Get Duplicator Now
Duplicator Plugin

Wait! Don't miss your
exclusive deal!

As a customer, you get 60% OFF

Try Duplicator free on your site — see why 1.5M+ WordPress pros trust us. But don't wait — this exclusive 60% discount is only available for a limited time.

or
Get 60% Off Duplicator Pro Now →