Update-VBRUnstructuredBackupPath
Short Description
Updates the data source for file backups and object storage backups.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Update the data source: a file share, a root server protected by a file backup job or object storage protected by object storage backup job.
Update-VBRUnstructuredBackupPath -Backup <VBRUnstructuredBackup> -SourceUnstructuredServer <VBRUnstructuredServer> -TargetUnstructuredServer <VBRUnstructuredServer> [-WhatIf] [-Confirm] [<CommonParameters>] |
- Update the name of the root server with the name that is not added to the Veeam Backup & Replication database.
Update-VBRUnstructuredBackupPath -Backup <VBRUnstructuredBackup> -SourceRootNASServerName <string> -TargetRootNASServer <VBRNASServer> [-WhatIf] [-Confirm] [<CommonParameters>] |
- Update the SAN host or SAN volume name.
Update-VBRUnstructuredBackupPath -Backup <VBRUnstructuredBackup> -SourceSANEntity <VBRSANEntity> -TargetSANEntity <VBRSANEntity> [-WhatIf] [-Confirm] [<CommonParameters>] |
- Update the name of the SAN host with the name that is not added to the Veeam Backup & Replication database.
Update-VBRUnstructuredBackupPath -Backup <VBRUnstructuredBackup> -SourceSANHostName <string> -TargetSANHost <VBRSANEntity> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet updates the data source for file backups and object storage backups.
Important |
Consider the following:
|
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Backup | Specifies a file share backup or an object storage backup. The cmdlet will update the the data source for these backups. | Accepts the VBRUnstructuredBackup object. To get this object, run the Get-VBRUnstructuredBackup cmdlet.
| True | Named | True (ByPropertyName, ByValue) |
SourceUnstructuredServer
| Specifies data source of file share backup or object storage backup. The cmdlet will update this data source to a new data source. | Accepts the VBRUnstructuredServer object. To get this object, run the Get-VBRUnstructuredServer cmdlet. | True | Named | False |
SourceRootNASServerName | Specifies a new name of the root server. The cmdlet will add this name to a configuration database. | String | True | Named | False |
SourceSANEntity | Specifies the enterprise NAS system or its volume where the file shares reside. The cmdlet will update the path to this NAS system to a new path. | Accepts the VBRSANEntity[] object. To create this object, run the Get-NetAppHost cmdlet. | True | Named | False |
SourceSANHostName | Specifies the name of the SAN host object to be changed in the backup. | String | True | Named | False |
TargetUnstructuredServer | Specifies new data source of file share backup or object storage backup. The cmdlet will update this data source to this data source. | Accepts the VBRUnstructuredServer object. To get this object, run the Get-VBRUnstructuredServer cmdlet. | True | Named | False |
TargetRootNASServer | Specifies the file share server. The cmdlet will update the root server name to this one. | Accepts the VBRNASServer object. To get this object, run the Get-VBRUnstructuredServer cmdlet. | True | Named | False |
TargetSANEntity | Specifies the enterprise NAS system or its volume where the file share will reside. The cmdlet will use this NAS system entity as a new one when updating the backup information. | Accepts the VBRSANEntity object. To create this object, run the Get-NetAppHost cmdlet. | True | Named | False |
TargetSANHost | Specifies the enterprise NAS system or its volume where the file share will reside. The cmdlet will use this NAS system entity as a new one when updating the backup information. | Accepts the VBRSANEntity object. To create this object, run the Get-NetAppHost cmdlet. | True | Named | False |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if you want to continue running the command. | SwitchParameter | 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 VBRUnstructuredBackup object that defines results of updating the data source to the protected file share or object storage.
Examples
Example 1. Updating Path to Existing Source File Share Protected by a File Backup Job
This example shows how to update the path to the \\WinSRV2049\Documents file share protected by a file backup job.
Perform the following steps:
|
Example 2. Updating Data Source for Object Storage Backups
This example shows how to update the data source for object storage backups. The cmdlet will change the data source from AWS01to AWS02.
Perform the following steps:
|
Example 3. Updating Name of Root File Share Server
This example shows how to update the name of the root server to the name that does not exist in the Veeam Backup & Replication database.
Perform the following steps:
|
Example 4. Updating SAN Host
This example shows how to update the SAN host.
Perform the following steps:
|
Example 5. Updating SAN Host Name
This example shows how to update the name of the SAN host. The cmdlet will change the SAN host name from pdc-ontap-3 to pdc-ontap-5.
Perform the following steps:
|
Related Commands