Unmount-VBRObjectStorageRepository
Short Description
Unmounts object storage and archive repositories.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
ObjectStorageRepositoryUnmount-VBRObjectStorageRepository -Repository <VBRObjectStorageRepository> [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
-
ArchiveObjectStorageRepositoryUnmount-VBRObjectStorageRepository -ArchiveRepository <VBRArchiveObjectStorageRepository> [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet unmounts object storage and archive repositories.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ArchiveRepository |
Specifies an archive repository. The cmdlet will mount this archive repository.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Force |
Defines that the cmdlet will unmount an object storage repository and will not show up any warnings or notifications. |
|
False |
Named |
False |
|
Repository |
Specifies an object storage repository. The cmdlet will unmount this repository.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Unmounting Object Storage Repository
This example shows how to unmount the Amazon OS object storage repository. The cmdlet will skip all notifications and warnings.
|
$repository = Get-VBRObjectStorageRepository -Name "Amazon OS" Unmount-VBRObjectStorageRepository -Repository $repository -Force |
Perform the following steps:
- Run the
Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
Unmount-VBRObjectStorageRepositorycmdlet. Set the$repositoryvariable as theRepositoryparameter value. Provide theForceparameter.
Related Commands
Get-VBRObjectStorageRepositoryReturns object storage added as backup repositories to Veeam Backup & Replication.