4.4. Changing Storage Parameters

4.4.1. vinfra service backup storage-params show

Display storage parameters:

usage: vinfra service backup storage-params show

Example:

# vinfra service backup storage-params show
+----------------+---------------------------------------------+
| Field          | Value                                       |
+----------------+---------------------------------------------+
| abgw_address   | dns.example.com                             |
| account_server | https://cloud.acronis.com                   |
| dc_uid         | 44893a40296ecd9ae64567297a5b2b07-1577264050 |
| migration      | dns: null                                   |
|                | ips: []                                     |
|                | running: false                              |
|                | time_left: 0.0                              |
| reg_type       | abc                                         |
| storage_params | export: /myshare/myexport                   |
|                | host: 10.94.129.70                          |
|                | version: 4                                  |
| storage_type   | nfs                                         |
+----------------+---------------------------------------------+

This command shows the storage parameters of the backup cluster.

4.4.2. vinfra service backup storage-params change

Important

Change storage parameters with caution and only within the existing configuration. You can change the IP address of an external storage or its access credentials.

Modify storage parameters:

usage: vinfra service backup storage-params change --storage-type {local,nfs,s3,swift,
                                                   azure,google}
                                                   [--nfs-host <host>]
                                                   [--nfs-export <export>]
                                                   [--nfs-version <version>]
                                                   [--s3-flavor <flavor>]
                                                   [--s3-region <region>]
                                                   [--s3-bucket <bucket>]
                                                   [--s3-endpoint <endpoint>]
                                                   [--s3-access-key-id <access-key-id>]
                                                   [--s3-secret-key-id <secret-key-id>]
                                                   [--s3-cert-verify <cert-verify>]
                                                   [--swift-auth-url <auth-url>]
                                                   [--swift-auth-version <auth-version>]
                                                   [--swift-user-name <user-name>]
                                                   [--swift-api-key <api-key>]
                                                   [--swift-domain <domain>]
                                                   [--swift-domain-id <domain-id>]
                                                   [--swift-tenant <tenant>]
                                                   [--swift-tenant-id <tenant-id>]
                                                   [--swift-tenant-domain <tenant-domain>]
                                                   [--swift-tenant-domain-id <tenant-domain-id>]
                                                   [--swift-trust-id <trust-id>]
                                                   [--swift-region <region>]
                                                   [--swift-internal <internal>]
                                                   [--swift-container <container>]
                                                   [--swift-cert-verify <cert-verify>]
                                                   [--azure-endpoint <endpoint>]
                                                   [--azure-container <container>]
                                                   [--azure-account-name <account-name>]
                                                   [--azure-account-key <account-key>]
                                                   [--google-bucket <bucket>]
                                                   [--google-credentials <credentials>]
--storage-type {local,nfs,s3,swift,azure,google}
Storage type

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)

Storage parameters for the s3 storage type:

--s3-flavor <flavor> (optional)
Flavor name
--s3-region <region> (optional)
Set region for Amazon S3.
--s3-bucket <bucket>
Bucket name
--s3-endpoint <endpoint>
Endpoint URL
--s3-access-key-id <access-key-id>
Access key ID
--s3-secret-key-id <secret-key-id>
Secret key ID
--s3-cert-verify <cert-verify> (optional)
Allow self-signed certificate of the S3 endpoint

Storage parameters for the swift storage type:

--swift-auth-url <auth-url>
Authentication (keystone) URL
--swift-auth-version <auth-version> (optional)
Authentication protocol version
--swift-user-name <user-name>
User name
--swift-api-key <api-key>
API key (password)
--swift-domain <domain> (optional)
Domain name
--swift-domain-id <domain-id> (optional)
Domain ID
--swift-tenant <tenant> (optional)
Tenant name
--swift-tenant-id <tenant-id> (optional)
Tenant ID
--swift-tenant-domain <tenant-domain> (optional)
Tenant domain name
--swift-tenant-domain-id <tenant-domain-id> (optional)
Tenant domain ID
--swift-trust-id <trust-id> (optional)
Trust ID
--swift-region <region> (optional)
Region name
--swift-container <container> (optional)
Container name
--swift-cert-verify <cert-verify> (optional)
Allow self-signed certificate of the Swift endpoint (true or false)

Storage parameters for the azure storage type:

--azure-endpoint <endpoint>
Endpoint URL
--azure-container <container>
Container name
--azure-account-name <account-name>
Account name
--azure-account-key <account-key>
Account key

Storage parameters for the google storage type:

--google-bucket <bucket>
Google bucket name
--google-credentials <credentials>
Path to the file with Google credentials

Example:

# vinfra service backup storage-params change --storage-type nfs --nfs-host \
10.94.129.71 --nfs-export /myshare/myexport --nfs-version 4
Operation successful.

This command changes the NFS storage parameters for the backup cluster.