Configuring a backup storage proxy
By using backup storage in the reverse proxy mode, you can proxy backup data to other multiple backup clusters, which are called upstream. The minimum proxy configuration consists of one reverse proxy backup storage and one upstream backup storage. If you have more backup storage clusters, you can add them as upstream to the reverse proxy backup storage. The scenario below describes a proxy configuration of three backup storage clusters: one reverse proxy backup storage and two upstream ones.
To configure a backup storage proxy, follow these steps (refer to examples in the sections below):
- On the first storage cluster, deploy the standalone backup storage by running
vinfra service backup cluster deploy-standalone
. - On the first storage cluster, turn the standalone backup storage to an upstream backup storage with the command
vinfra service backup cluster turn-to-upstream
. - Change the DNS server configuration as follows:
- Delete the DNS name of the standalone storage from the DNS records.
- Add the DNS name of the upstream backup storage that resolves to the public IP addresses of its nodes.
- On the second storage cluster, download the configuration file of the upstream backup storage by using
vinfra service backup cluster download-upstream-info
. - On the second storage cluster, deploy the reverse proxy backup storage and register the upstream backup storage with it. To do this, run
vinfra service backup cluster deploy-reverse-proxy
. - In the DNS records, add the first backup storage's DNS name that resolves to the public IP addresses of the reverse proxy nodes.
- On the third storage cluster, deploy the upstream backup storage with the command
vinfra service backup cluster deploy-upstream
. - In the DNS records, add the DNS name of the new upstream backup storage that resolves to the public IP addresses of its nodes.
- On the second storage cluster, download the configuration file of the new upstream backup storage by using
vinfra service backup cluster download-upstream-info
. - On the second storage cluster, register the new upstream backup storage with the reverse proxy by running
vinfra service backup cluster add-upstream
.
You can view each backup storage process and retry a suspended process with vinfra service backup cluster process
.
Finally, your backup storage proxy configuration is complete.