Configure the Backup Repository

Veeam Backup & Replication keeps backup files, VM copies, and metadata for replicated VMs in a backup repository. You can use different types of storage as the backup repository.

To configure a backup repository from the Veeam Backup & Replication Console, select Backup Infrastructure, then Backup Repositories, and then click Add Repository. The available options that correlate to Oracle Cloud Infrastructure are Direct attached storage, Network attached storage, and Object storage.

When you create scale-out repositories, Veeam lets you choose both direct-attached storage and network-attached storage as the performance tier and object storage as the capacity tier. To read more about these tiers, see the “Veeam Scale-Out Backup Repository” section later in this document.

A full list of storage types is available in the “Backup Repository” section of the Veeam Backup & Replication User Guide, referenced referenced in the "Before You Begin" topic for more detailed information.

The following sections describe how you can use various Oracle Cloud Infrastructure storage services as a backup repository.

Configure Block Volumes as a Backup Repository

Veeam Backup & Replication lets you add a virtual server or a physical server as a backup repository. This means that you can allocate a block storage volume in Oracle Cloud Infrastructure to the Veeam server or any other server and attach the direct-attached storage as a backup repository.

Configure File Storage as a Backup Repository

Veeam Backup & Replication lets you attach an NFS or CIFS share as a backup repository. Oracle Cloud Infrastructure provides a durable, scalable, and secure network file system called Oracle Cloud Infrastructure File Storage. You can deploy a file system in Oracle Cloud Infrastructure and add it as a backup repository in Veeam Backup & Replication.

This section describes how to create a file system and add it as a backup repository.

Create Resources in File Storage

We recommend creating a separate private subnet to deploy File Storage (file systems and mount targets).

Follow these steps to create a file system and mount target:
  1. In the Oracle Cloud Infrastructure Console, navigate to the VCN in which you want to deploy File Storage.
  2. Create an empty security list (for example, FSS-SL) and an empty route table (for example, FSS-RT).
    • For the security list, add ingress rules for the VCN CIDR to TCP ports 111, 2048, 2049, and 2050 and UDP ports 111 and 2048.
    • You can leave the route table empty because we’re planning to use the file system inside the same VCN.
  3. Create a new private subnet with the appropriate CIDR block and select the security list and route table from step 2.
  4. In the Console navigation menu, select File Storage and then select File Systems.
  5. Click Create File System and complete the details as described in the following steps.
  6. In the File System Information section, click Edit Details to make appropriate changes.
    • Name: Provide a name or choose the default.
    • Availability Domain: Select the same availability domain as your Oracle Cloud VMware Solution cluster.
  7. In the Export Information section, edit the Export Path value as required. This value must be unique for each file system in the mount target.
  8. Edit the values under Mount Target Information to select the appropriate VCN and File Storage subnet.
  9. Click Create. The File Storage service typically creates the file system and mount target within seconds. When completed, you have a mount target with an export path.
  10. Select the export path to see the mount commands.

Add Network Attached Storage as the Backup Repository

Complete the following steps to add the file system as an NFS share.

  1. In the Veeam Backup & Replication Console, select Backup Infrastructure, select Backup Repositories, and then click Add Repository.
  2. In the Add Backup Repository wizard, select Network attached storage.
  3. Select NFS Share.
  4. Provide the required values in the wizard. On the Share page, specify the server and shared folder details in server:/folder format.
  5. Finish the wizard to add an NFS repository.

Configure Object Storage as a Backup Repository

Veeam Backup & Replication supports S3-compatible Object Storage as a capacity tier when you create scale-out repositories. OCI Object Storage is now certified as Veeam Ready.
Veeam Ready—Object icon

For additional information about Veeam Ready and OCI Object Storage, see the OCI blog post, OCI Object Storage is certified as Veeam Ready - Object, accessible from the Explore More section elsewhere in the playbook.

Note:

We recommend that you read more about Object Storage tiers and understand their capabilities, in the Oracle Cloud Infrastructure document, Overview of Object Storage.

Veeam currently supports OCI Object Storage Standard and Infrequent Access tiers.

Use the S3 Compatibility API

Now use the Amazon S3 Compatibility API to access Object Storage in Oracle Cloud Infrastructure Amazon S3 Compatibility API support is provided at the bucket level and object level. Use the S3 Compatibility API in the following topics to add Object Storage as a backup repository in Veeam Backup & Replication.

To summarize the documentation, when you add Object Storage as S3 compatible storage, the service endpoint must include the namespace and the region identifier (shown in bold in the following example):
mynamespace.compat.objectstorage.us-phoenix-1.oraclecloud.com

Note:

To determine the region identifier and read more about other variables, see the Amazon S3 Compatibility API, accessible from the "Before You Begin" topic of this playbook.

Configure Customer Secret Keys

To add Object Storage as S3-compatible storage, you must provide an access key and a secret key. To generate these credentials, follow these high-level steps.

  1. In the Identity section of the Console, create a user:
    1. Open the navigation menu. Under Governance and Administration, go to Identity and click Users. A list of the users in your tenancy is displayed.
    2. Click Create User.
    3. Enter the following:
      • Name: A unique name or email address for the user. The name must be unique across all users in your tenancy and you cannot change this value later. The name must meet the following requirements: No spaces and comprised of only basic Latin letters (ASCII), numerals, hyphens, periods, underscores, +, and @.
      • Description: This value could be the user's full name, a nickname, or other descriptive information. You can change this value later.
      • Email: Enter an email address for the user. This email address is used for password recovery and must be unique in the tenancy. If the user forgets their password, they can click Forgot Password on the sign on page, and a temporary password is generated and sent to the email address provided here. The user or an administrator can also update the email address can also later.
      • Tags: Optionally, you can apply tags. If you have permissions to create a resource, you also have permissions to apply free-form tags to that resource. To apply a defined tag, you must have permissions to use the tag namespace. For more information about tagging, see Resource Tags. If you are not sure if you should apply tags, skip this option (you can apply tags later) or ask your administrator.
    4. Click Create.
  2. Create a group for Object Storage access and add the user to it.
  3. Create a policy to manage buckets and objects in the compartment.
  4. To generate the access key and secret key, select the user and click Customer Secret Keys on the left side of the page.
  5. Click Generate Secret Key.
  6. Enter a name for the key and then click Generate Secret Key. The generated secret key is displayed.

    Note:

    The secret key is displayed only once. You must copy the key and save it in a secure place. After you close the dialog box, the key name is listed along with its associated access key.
  7. Copy the access key. You use the access key and secret key when adding Object Storage in Veeam.

Add Object Storage as the Backup Repository

Complete the following steps to add Object Storage as backup repository.

  1. In the Veeam Backup & Replication Console, select Backup Infrastructure, then Backup Repositories, and then click Add Repository.
  2. In the Add Backup Repository wizard, select Object storage.
  3. Select S3 Compatible.
  4. Provide the required details in the wizard. On the Account page specifically, enter the Service point (or endpoint) and Region; for example:
    https://prodtenancy.compat.objectstorage.us-phoenix-1.oraclecloud.com
  5. On the Account page, click Add next to Credentials, and add the credentials that were created in the previous section (access key and secret key).
  6. Finish the wizard to add Object Storage as a backup repository.