Creating backup storage on an external NFS share

Limitations

  • Virtuozzo Hybrid Infrastructure does not provide data redundancy on top of NFS volumes. Depending on the implementation, NFS shares may use their own hardware or software redundancy.
  • Only one cluster node may store backups on an NFS share.
  • Each NFS export is used by only one gateway. In particular, do not connect two Virtuozzo Hybrid Infrastructure installations to the same NFS export for backup storage.
  • Multiple full backups stored on an NFS share may consume additional storage space due to the delay of automatic compaction, which is performed for one backup at a time.

Prerequisites

  • 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.
  • Ensure that the node to join the backup storage has access to external NFS storage.

To select an external NFS share 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 Network File System (NFS) share.
  4. On the Nodes step, select one node to add to the backup storage cluster, and then click Next.

  5. On the NFS share step, specify the hostname or IP address of the NFS share, the export name, and select the NFS version. Then, click Next.

    NFS version 4 is recommended, as it provides better scalability and performance compared to NFS version 3, which has limitations in the protocol.

  6. On the DNS step, specify 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.

  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 NFS share.

Command-line interface

Use the following command:

vinfra service backup cluster create --nodes <nodes> --domain <domain>
                                     --reg-account <reg-account>
                                     --reg-server <reg-server>
                                     --tier {0,1,2,3} --encoding <M>+<N> 
                                     --failure-domain {0,1,2,3,4}
                                     --storage-type nfs
                                     --nfs-host <host>
                                     --nfs-export <export>
                                     --nfs-version <version> [--stdin]
--nodes <nodes>
A comma-separated list of node hostnames or IDs
--domain <domain>
Domain name for the backup cluster
--reg-account <reg-account>
Partner account in the cloud or of an organization administrator on the local management server
--reg-server <reg-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,nfs,s3,swift,azure,google}
Storage type
--stdin
Use for setting registration password from stdin.

Storage parameters for the nfs storage type:

--nfs-host <host>
NFS hostname or IP address
--nfs-export <export>
Full path to the NFS export
--nfs-version <version>
NFS version (3 or 4)

For example, to create the backup cluster from the node node001 on the NFS storage, run:

# vinfra service backup cluster create --nodes node001 --storage-type nfs --domain dns.example.com \
--tier 0 --encoding 1+2 --failure-domain host --nfs-host 10.136.18.149 --nfs-version 4 \
--nfs-export /share1/export1 --reg-account account@example.com --reg-server https://cloud.acronis.com/ --stdin

This command also specifies the domain name, tier, failure domain, registration account and server, as well as the required NFS parameters.

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

# vinfra service backup cluster show
+-----------------+--------------------------------------+
| Field           | Value                                |
+-----------------+--------------------------------------+
| abgw_address    | dns.example.com                      |
| account_server  | https://eu-cloud.acronis.com         |
| dc_uid          | 8f8fa1c5-cbfd-4b22-ba69-07c20e8f2bac |
| deployment_mode | standalone                           |
| hosts           | - amigai-ac-ve1.vstoragedomain       |
| migration       | dns: null                            |
|                 | ips: []                              |
|                 | running: false                       |
|                 | time_left: 0.0                       |
| reg_type        | abc                                  |
| storage_params  | export: share1/export1               |
|                 | host: 10.136.18.149                  |
|                 | version: 4                           |
| storage_type    | nfs                                  |
| upstreams       | []                                   |
+-----------------+--------------------------------------+