.. _Setting Up Acronis Backup Gateway:

Setting Up Acronis Backup Gateway
=================================

.. note:: If you are going to migrate your Acronis Storage Gateway, skip the steps described in this chapter and proceed to :ref:`Migrating Backups from Older Acronis Storage and Acronis Storage Gateway Solutions`.

.. important::

   #. When working with Amazon S3, Acronis Backup Gateway uses the local storage (EBS) as the staging area as well as to keep service information. It means that the data to be uploaded to the Amazon S3 cloud is first stored locally and only then sent to the destination.

   #. Make sure the local storage cluster has plenty of logical space for staging. For example, if you perform backup daily, provide enough space for at least 1.5 days' worth of backups. If the daily backup total is 2TB, provide at least 3TB of logical space. The corresponding raw storage required will vary depending on the encoding mode: 9TB (3TB per node) in the mode 1+2, 5TB (1TB per node) in the mode 3+2, etc.

   #. You must update Acronis Backup Agents to version 4492 (Windows/Mac) or 4470 (Linux). Otherwise agents' attempts to place backups in the new storage backend will result in "Backup failed" errors.

   #. If you are to store backups in an Amazon S3 cloud, keep in mind that Acronis Backup Gateway may sometimes block access to such backups due to the eventual consistency of Amazon S3. It means that Amazon S3 may occasionally return stale data as it needs time to render the most recent version of the data accessible. Acronis Backup Gateway detects such delays and protects backup integrity by blocking access until the cloud updates.

Before you proceed, make sure that your Amazon S3 cloud storage has enough space for backups.

To set up Acronis Backup Gateway, do the following:

#. In the left menu, click **STORAGE SERVICES** > **Backup**.

   .. image:: ../../images/abgw-amazon-6.png
      :align: center
      :class: align-center

#. Check the box of the only available node and click **Create gateway** in the right menu.

   .. image:: ../../images/abgw-amazon-7.png
      :align: center
      :class: align-center

#. Select **Public cloud** as storage type.

   .. image:: ../../images/stor_image56_11.png
      :align: center
      :class: align-center

#. As you have already assigned the required ABGW roles to the network adapter, click **Next**.

   .. image:: ../../images/stor_image56_2.png
      :align: center
      :class: align-center

#. On the **Public cloud parameters** pane, select **Amazon S3**, the desired region, and fill out the keys and bucket information.

   .. important:: The specified bucket folder must be writeable.

   .. image:: ../../images/abgw-amazon-8.png
      :align: center
      :class: align-center

#. On the **Volume parameters** pane, leave volume parameters as they are.

#. On the **DNS configuration** pane, paste the instance hostname in the **DNS name** field.

   .. image:: ../../images/abgw-amazon-9.png
      :align: center
      :class: align-center

#. On the Acronis Backup Cloud registration tab, specify the following:

   - In **Account Server Name**, specify the address of the Acronis Backup Cloud management portal (e.g., https://cloud.acronis.com/).

   - In **Acronis Account**, specify the credentials of the Acronis Backup Cloud administrator account.

#. Finally, click **DONE**.
