Set-VBRApplicationBackupRepository
Short Description
Modifies application backup repository settings.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRApplicationBackupRepository -Repository <VBRApplicationBackupRepository> [-Name <String>] [-Description <String>] [-RepositoryPermissions <VBRApplicationBackupRepositoryPermission[]>] [-EnableKerberosPermissions] [-KerberosPermissions <VBRApplicationBackupRepositoryKerberosPermission[]>] [-ScheduleOptions <VBRApplicationBackupRepositoryScheduleOptions>] [-NotificationOptions <VBRNotificationOptions>] [-RetentionDays <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a application backup repository.
Note |
|
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies the description of the application backup repository. |
|
False |
Named |
False |
|
EnableKerberosPermissions |
Enables Kerberos authentication for accessing the NFS share. |
|
False |
Named |
False |
|
KerberosPermissions |
Specifies permissions for accessing the NFS share with Kerberos credentials.
Accepts the |
False |
Named |
False |
|
|
Name |
Specifies the name of the application backup repository. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings for the snapshot creation.
Accepts the |
False |
Named |
False |
|
|
Repository |
Specifies an application backup repository you want to modify.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
RepositoryPermissions |
Specifies host permissions for accessing the NFS share.
Accepts the |
False |
Named |
False |
|
|
RetentionDays |
Specifies the number of days for the snapshot retention policy. |
|
False |
Named |
False |
|
ScheduleOptions |
Specifies the schedule settings for the snapshot creation.
Accepts the |
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRApplicationBackupRepository object that contains settings of the application backup repository.
Examples
Modifying Snapshot Schedule Settings for Application Backup Repository
This example shows how to modify the snapshot creation schedule for the application backup repository named Oracle FRA Repository.
|
$repository = Get-VBRApplicationBackupRepository -Name "Oracle FRA Repository" $options = New-VBRApplicationBackupRepositoryScheduleOptions Set-VBRApplicationBackupRepository -Repository $repository -ScheduleOptions $options |
Perform the following steps:
- Run the
Get-VBRApplicationBackupRepositoryReturns application backup repositories. cmdlet. Specify theNameparameter value. Save the result to the$repositoryvariable. - Run the
New-VBRApplicationBackupRepositoryScheduleOptionsCreates a snapshot creation schedule for application backup repositories. cmdlet. Save the result to the$optionsvariable. - Run the
Set-VBRApplicationBackupRepositorycmdlet. Set the$repositoryvariable as theRepositoryparameter value. Set the$optionsvariable as theScheduleOptionsparameter value.
Related Commands
Get-VBRApplicationBackupRepositoryReturns application backup repositories.New-VBRApplicationBackupRepositoryPermissionCreates a new permission for hosts to access an application backup repository NFS share.New-VBRKerberosPermissionCreates a new permission to access an application backup repository NFS share with Kerberos credentials.New-VBRApplicationBackupRepositoryScheduleOptionsCreates a snapshot creation schedule for application backup repositories.New-VBRNotificationOptionsCreates new job notification options.