Creating backup storage on the local cluster

Limitations

  • Redundancy by replication is not supported for backup storage.

Prerequisites

  • A clear understanding of the concept Storage policies.
  • The storage cluster has at least one disk with the Storage role.
  • The destination storage has enough space for both existing and new backups.
  • Ensure that each node to join the backup storage cluster has the TCP port 44445 open for outgoing Internet connections, as well as for incoming connections from Acronis backup software.

To select the local cluster as the backup destination

Admin panel

  1. On the Infrastructure > Networks screen, make sure that the Backup (ABGW) private and Backup (ABGW) public traffic types are added to the networks you intend to use.
  2. Open the Storage services > Backup storage screen, and then click Create backup storage.
  3. On the Backup destination step, select Virtuozzo Hybrid Infrastructure cluster.
  4. On the Nodes step, select nodes to add to the backup storage cluster, and then click Next.
  5. On the Storage policy step, select the desired tier, failure domain, and data redundancy mode. Then, click Next.

  6. On the DNS step, specify a registration name and an external DNS name for backup storage (for example, backupstorage.example.com). Backup agents will use this DNS name and the TCP port 44445 to upload backup data. Then, click Next.

    • Configure your DNS server according to the example suggested in the admin panel.
    • Each time you change the network configuration of nodes in the backup storage cluster, adjust the DNS records accordingly.

    For complex environments, HAProxy might be used to build a scalable and redundant load balancing platform, which can be easily moved or migrated and is independent from Virtuozzo Hybrid Infrastructure. For more information, refer to https://kb.acronis.com/content/64787.

  7. On the Acronis account step, specify the following information for your Acronis product:

    • The URL of the cloud management portal (for example, https://cloud.acronis.com/) or the hostname/IP address and port of the local management server (for example, http://192.168.1.2:9877)
    • The credentials of a partner account in the cloud or of an organization administrator on the local management server

  8. On the Summary step, review the configuration, and then click Create.

After creating the backup storage, you can increase its storage capacity at any time by adding space to the local storage cluster, as described in Scaling the storage cluster.

Command-line interface

Use the following command:

vinfra service backup cluster deploy-standalone --nodes <nodes> --name <name> --address <address>
                                                [--location <location>] --username <username>
                                                --account-server <account-server>
                                                --tier {0,1,2,3} --encoding <M>+<N> 
                                                --failure-domain {0,1,2,3,4}
                                                --storage-type local [--stdin]
--nodes <nodes>
A comma-separated list of node hostnames or IDs
--name <name>
Backup registration name.
--address <address>
Backup registration address.
--location <location>
Backup registration location.
--username <username>
Partner account in the cloud or of an organization administrator on the local management server.
--account-server <account-server>
URL of the cloud management portal or the hostname/IP address and port of the local management server.
--tier {0,1,2,3}
Storage tier
--encoding <M>+<N>

Storage erasure encoding mapping in the format:

  • M: number of data blocks
  • N: number of parity blocks
--failure-domain {0,1,2,3,4}
Storage failure domain
--storage-type local
Set the storage type to local
--stdin
Use for setting registration password from stdin.

For example, to create the backup cluster from three nodes on the local storage, run:

# vinfra service backup cluster create --nodes node001,node002,node003 --name registration1 \
--address backupstorage.example.com --storage-type local --tier 0 --encoding 1+2 \
--failure-domain 1 --username account@example.com --account-server https://cloud.acronis.com/ --stdin

This command also specifies the registration name and address, tier, failure domain, registration account and server.

You can view the backup storage details in the vinfra service backup cluster show output:

# vinfra service backup cluster show
+-----------------+---------------------------------------------+
| Field           | Value                                       |
+-----------------+---------------------------------------------+
| dc_uid          | 966ac53e-a92c-11ec-be79-fa163ea9f01a        |
| deployment_mode | - standalone                                |
| geo_replication |                                             |
| hosts           | - hostname: node001.vstoragedomain          |
|                 |   id: 24a953ce-b50e-40c2-bf44-0668aafb421d  |
|                 |   systemd: active                           |
|                 | - hostname: node002.vstoragedomain          |
|                 |   id: c1de8940-c38a-d7ae-41b5-bdd35581a906  |
|                 |   systemd: active                           |
|                 | - hostname: node003.vstoragedomain          |
|                 |   id: 2307dc2c-a954-70a2-3673-8a8f832bd46a  |
|                 |   systemd: active                           |
| registrations   | - account_server: https://cloud.acronis.com |
|                 |   address: backupstorage.example.com        |
|                 |   expires: '2025-03-20T15:20:59+00:00'      |
|                 |   id: be526718-d9f8-4f2c-9bd3-04a987f7e4c4  |
|                 |   name: registration1                       |
|                 |   type: ABC                                 |
|                 |   username: account@example.com             |
| status          | deployed                                    |
| storage_params  |                                             |
| storage_type    | local                                       |
| upstreams       | []                                          |
+-----------------+---------------------------------------------+