vinfra service backup geo-replication master establish

Establish a connection between the primary and secondary clusters to enable geo-replication:

usage: vinfra service backup geo-replication master establish

Example:

# vinfra service backup geo-replication master establish
+---------+--------------------------------------+
| Field   | Value                                |
+---------+--------------------------------------+
| task_id | 014903e4-c2e6-4e03-b1af-06c28b672f6e |
+---------+--------------------------------------+

This command creates a task to connect the primary and secondary clusters to enable geo-replication.

Task outcome:

# vinfra task show 014903e4-c2e6-4e03-b1af-06c28b672f6e
+---------+----------------------------------------------------+
| Field   | Value                                              |
+---------+----------------------------------------------------+
| details |                                                    |
| name    | backend.tasks.message_dispatcher.CommandDispatcher |
| result  |                                                    |
| state   | success                                            |
| task_id | 014903e4-c2e6-4e03-b1af-06c28b672f6e               |
+---------+----------------------------------------------------+