SFTP Storage

Steps to connect an SFTP storage or an SSH-accessible server as a storage to SimpleBackups

Connecting an SFTP Storage to SimpleBackups

Preparing your SFTP storage

The first step in connecting an SFTP storage to SimpleBackups is to set up an SFTP server. You can either use a cloud-based SFTP storage, or use just use an SSH-accessible server as your SFTP storage.

  • Make sure you have the login credentials and the server's IP address or hostname.
  • Add SimpleBackups IP addresses to your storage if it is behind a firewall.
  • Add SimpleBackups’ public key to your storage if you rely on passwordless authentication.
  • Finally, if you will be using your own server when making a backup, also ensure that your server’s IP is whitelisted on the storage.

Connecting your SFTP storage to SimpleBackups

The next step is to connect it to SimpleBackups. To do this, follow these simple steps:

 
  1. Go to https://my.simplebackups.com/storage and click on the "Connect Storage +" button.
  1. Select "SFTP / SSH" as the storage type.
  1. Enter the SFTP server's hostname or IP address, username, and password in the appropriate fields.
  1. Click on the "Validate" button to ensure that SimpleBackups can connect to the SFTP storage.
  1. If the connection is successful, click on the "Save Storage" button to add the SFTP storage to your SimpleBackups account.
 
ℹ️
Tip #1 — If you encounter any issues connecting your SFTP storage to SimpleBackups, make sure that your firewall is configured to allow incoming connections to your SFTP storage. You may also want to double-check that your login credentials are correct and that your SFTP storage is accessible. Clicking “Behind a firewall?” as shown below will show you all the IP addresses you need to whitelist, however, don’t forget that you will additionally need to ensure that you whitelist your backup server’s IP, if you are not using SimpleBackups serverless option.
ℹ️
Tip #2 — If you do not use a password and instead rely on passwordless authentication, aka, public key authentication, make sure you add SimpleBackups’ public key to your storage. To do so, just click on the “Show public key” toggle shown below then add the key you see to your SFTP storage authorized keys.
Notion image

Conclusion

Connecting an SFTP storage to SimpleBackups is a simple process that can be done in just a few steps. By following the steps outlined in this blog post, you can easily connect your SFTP server to SimpleBackups and start backing up your data. With SimpleBackups, you can automate your backup process and ensure that your important data is always safe and secure.

 

Regarding Hetzner Storage Box

SimpleBackups supports Hetzner storage box. To ensure that it works as expected, please note the following points.

Hetzner Storage Endpoint

⚠️
When using a subuser account u111111-sub1 for example, make sure you use the user’s endpoint, u111111-sub1.your-storagebox.de and not the root one u111111.your-storagebox.de

Hetzner Storage Path

⚠️
When entering a path on your storage, ensure that the directory exists first and enter the relative path.

Let’s say your user u111111 has access to the directory subuser1111/. Assuming you want to store your backups under let’s say subuser1111/backups/

  1. Create the directory backups under subuser111/ or ensure that it exists
  1. Enter your path as backups on SimpleBackups (do not enter your subusers’ home folder, in this case subuser1111)
Did this answer your question?
😞
😐
🤩

Last updated on May 12, 2023