Whether you’re a seasoned webmaster or new to website management, ensuring the safety of your website data is paramount. Duplicator simplifies the backup process, while SFTP/ FTP 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 and SFTP/ FTP, ensuring your website backups are securely stored and easily accessible. Let’s get started on safeguarding your website!
Storing Backup to SFTP/ FTP location
Begin with creating a new storage provider. Navigate to Duplicator Pro » Storage » and click on Add New:
![image-1 - Duplicator - Duplicator](https://duplicator.com/wp-content/uploads/2023/12/image-1.png)
Then, name the new storage location. Using the Type dropdown menu, choose FTP/ SFTP:
![storage-type-FTP - Duplicator](https://duplicator.com/wp-content/uploads/2024/02/storage-type-FTP.png)
Now, enter all your required SFTP/ FTP Credentials. In case you are unsure about these details, you can reach out to your hosting provider.
![sftp-ftp-credentials - Duplicator](https://duplicator.com/wp-content/uploads/2024/02/sftp-ftp-credentials-edited.png)
Next, click the Test FTP Connection button to validate data can be moved between systems:
![image-6 - Duplicator validation- ftp](https://duplicator.com/wp-content/uploads/2024/02/image-6.png)
Finally Click the Save Provider button to save this SFTP/ FTP storage endpoint.
FTP Settings
Storage Folder | The folder on the FTP servers where packages will be stored. This should be unique for each web-site using Duplicator. Note: This path must be setup ahead of time correctly for the test connection to work. |
Max Packages | Specify the number of packages to keep in ‘Storage Folder’. Setting 10 will keep the last 10 packages. Set to 0 for no limit. It is highly recommendedto keep this number low. Storing too many packages can lead to space allocation issues. |
Timeout | How long should Duplicator wait when trying to connect |
SSL-FTP | Should the connection attempt to use FTPS to connect to the server. This option needs to be supported and configured correctly on the FTP serverbefore it will work correctly. |
Passive Mode | Should this connection use FTP passive mode. |
Connection | Validate that the credentials and settings entered above are working. |
For SFTP connections issues see the SFTP troubleshooting FAQ and for FTP, see FTP troubleshooting FAQ.