Overview:
Duplicator Pro can push your backups to an SFTP location. All packages are initially built on the local server and then pushed upto the SFTP endpoint. Please Note: That SFTP is not the same as FTP or FTPS. SFTP uses the SSH protocol for transferring files.
Settings:
Item | Description |
---|---|
Name/Notes | The storage name and optional notes about the local server path |
CREDENTIALS | |
Server | The SFTP server name. Please see your SFTP server documents for the correct server name |
Port | The SFTP server port. Please see your SFTP server documents for the correct server port. The standard default port is 18765. |
Username/Password | The SFTP username/password. Please see your SFTP server documents for the correct username/password. Note: FTP accounts createdon a cpanel host in general are not usable for SFTP accounts. |
Private Key | A private key file generated on your hosts server. Please contact or visit your hosts documentation for setting up a private key. |
Private Key Password | The password associated with the private key. Please contact or visit your hosts documentation for setting up a private key password. |
SETTINGS | |
Storage Folder | The folder on the SFTP 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 |
Connection | Validate that the credentials and settings entered above are working. |
Step-By-Step:
- Create New Storage Provider: Duplicator > Storage > Add New
- Add Name and Notes and select Type: SFTP
- Under Credentials: Enter in all the required SFTP credentials
- Click the ‘Test SFTP Connection’ button to validate data can be moved between systems.
- Finally Click the “Save Provider” button to save this SFTP storage endpoint
- For connections issues see the SFTP troubleshooting FAQ.
Note: When creating a new package or schedule you will check the box for this storage endpoint to be a location where the package (archive.zip and installer.php)will be transferred to after it has been created.