Get-VBRReplica
Short Description
Returns replica objects of VMs or cloud VMs.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Get-VBRReplica [-Name <string[]>] [-Type <VBRReplicaType> {Local | Cloud | Tenant}] [<CommonParameters>] |
Detailed Description
This cmdlet returns replica objects of VMs or cloud VMs created by Veeam Backup & Replication.
You can look for all replica objects or for replica objects created by a particular replication job.
With this cmdlet, you can get the replica objects that are managed by your backup console. In case you have removed some replica objects from the Veeam Backup & Replication console, but they remain on disk, you will not be able to get them.
Tip |
Consider the following:
|
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Name | Specifies an array of the replication job names. The cmdlet will return replica objects produced by these jobs. | String[] | False | Named | False |
Type | Specifies the type of the replica objects you want to get:
| VBRReplicaType | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the CBackup object that contains replica objects created by Veeam Backup & Replication.
Examples
Example 1. Getting All Replicas
This command looks for all replica objects created by Veeam Backup & Replication.
|
Example 2. Getting Replica by Job Name
This command looks for the replica objects created by the replication job.
|
Example 3. Getting Local Replica by Job Name
This command looks for the local (non-cloud) replica objects created with the replication job.
|