Skip to main content
Websites require regular backups to ensure data safety and quick recovery in case of accidental loss, server failure, or security breaches. Many users prefer storing backups on external storage systems for added security and reliability. With ORIV, you can easily integrate an SFTP storage provider to securely store your site backups, manage them efficiently, and automate backup schedules, all within a single platform. In this guide, you will learn how to integrate SFTP storage provider with ORIV to set up a seamless and reliable backup solution for your site.

Step 1: Prepare the Backup Directory on Your SFTP Server

First, collect the required credentials for your SFTP user account. You will need:
  • Hostname or IP address
  • Port number (default is 22)
  • Username
  • Password
  • Path (directory where backups will be stored)
Before you start integrating SFTP with ORIV, you need to make sure the backup directory has the correct permissions. Connect to your SFTP server using SSH. Copy to clipboard 1
Check the file permissions of your backup directory Copy to clipboard 1
Example output: Copy to clipboard 1
Here, the directory is owned by root, which means the user arafat cannot write to it yet. Give the user full access. Run the following commands to update ownership and permissions to ensure that the user has full access to the backup directory. Copy to clipboard 1 2 3
This ensures that the user has full access to the backup directory.

Integrate SFTP Storage Provider in ORIV

Once you have gathered all the required details, you can move forward with configuring the SFTP storage provider in ORIV. With this setup, your SFTP server will be connected to your ORIV account, making it possible to use it as a secure storage option for your site backups.

Step 2: Choose the New Storage Provider

To add the storage provider, go to your ORIV dashboard and go to ‘My Profile’ from the top right menu. Then navigate ‘Integrations’‘Storage Provider’ option from the sidebar menu. From there, click on the ‘Add New Provider’ button to integrate SFTP storage provider.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.
A pop-up will appear, where you will find all the storage integrations available to integrate with ORIV. Then,  select the ‘SFTP’ as your storage provider to integrate with ORIV.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 3: Fill in the Required Information

Next, provide the following details in the blank fields:
  • Label: Enter a name for your SFTP integration.
  • Host: Enter the hostname or IP address of your SFTP server.
  • Port: Enter the port number of your SFTP server. If left blank, the default port 22 will be used.
  • Username: Enter the username of your SFTP account.
  • Password: Enter the password of your SFTP account.
  • Path: Enter the directory path where you want to store the backup files (for example: /data1/home/1234/oriv-backup). Make sure this directory exists on your server. If you leave this blank, the default path /home/ will be used.
After entering all the credentials, click on the ‘Submit’ button. Once submitted, your SFTP storage will be added to ORIV. You can now use it for site backups. If the integration is successful, it will appear in your dashboard.
[!NOTE] Precisa de ajuda visual para esta etapa? Entre em contato com o nosso suporte em support@oriv.cloud.

Step 4: Configure Site Backup Settings in ORIV

Now, in the ‘Remote Backup’ section, choose Backup Type as ‘Full’ and select the bucket you have just created for SFTP. You can then choose to exclude paths if necessary (for the paths you do not want to take backup). Then, you can also enable ‘Automatic Backup’ and choose the backup frequency. Plus, you have the option to use the ‘Automatic Delete’ option with which you can set days after when your backup will be deleted automatically. Once done, hit the ‘Save’ button. Integrate SFTP Storage Provider
This is how you can easily integrate an SFTP storage provider and configure site backups in ORIV with SFTP. If you encounter any difficulties, feel free to reach out to our support team for assistance.