SFTP Storage Provider

This guide aims to help you set up a connection to another server to store site backups over SFTP.

Prerequisites

Before you begin, ensure you have access to your SFTP server. You will need the following details:

  • Host: The server’s hostname or IP address where backups will be stored.
  • Port: The port number used for SFTP (default is 22).
  • Username: The username to access the SFTP server.
  • Authentication Method: Choose whether you’ll use Password or Public Key authentication.
  • Password (optional): Only required if Password Authentication is selected.

Add a new SFTP Provider

  1. Navigate to the Storage Providers section in your account settings.
  2. Select Add Storage Provider and choose SFTP from the options.
  3. Enter the required details:
    • Host: The SFTP server’s hostname or IP address.
    • Port: The port number (22 by default).
    • Username: The SFTP username.
    • Authentication Method: Choose Password or Public Key. If you choose Password, enter the password in the Password field.
  4. Click Save to save the provider configuration.

Add SFTP provider

Configure Backup for a Site

  1. When configuring backups for a site, select the SFTP Provider you previously set up from the list of available providers.
  2. You will be prompted to enter the Path where backups will be stored on the SFTP server. Make sure that the SFTP user has access to the directory.
  3. If the SFTP provider is using public key authentication, you will need to add a key to your server’s ~/.ssh/authorized_keys file to allow SpinupWP to securely connect to your server.
  4. Click Save to complete the backup configuration.

Configuring backups using an SFTP provider