Add-VBRApplicationBackupRepository
Short Description
Adds an application backup repository.
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRApplicationBackupRepository [-Name <String>] [-Description <String>] -Server <CHost> -ZFSPool <String> [-MountPath <String>] [-RepositoryPermissions <VBRApplicationBackupRepositoryPermission[]>] [-EnableKerberosPermissions] [-KerberosPermissions <VBRApplicationBackupRepositoryKerberosPermission[]>] [-ScheduleOptions <VBRApplicationBackupRepositoryScheduleOptions>] [-NotificationOptions <VBRNotificationOptions>] [-RetentionDays <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet adds a new application backup repository to the backup infrastructure.
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 |
|
|
MountPath |
Specifies the path to the NFS share hosted on the application backup repository. |
|
False |
Named |
False |
|
Name |
Specifies the name you want to assign to the new application backup repository. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies notification settings for the snapshot creation.
Accepts the |
False |
Named |
False |
|
|
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 |
|
|
Server |
Specifies the server that will host the application backup repository.
Accepts the |
|
True |
Named |
False |
|
ZFSPool |
Specifies the ZFS pool name. |
|
True |
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 added to the backup infrastructure.
Examples
Adding Server as Application Backup Repository
This example shows how to add the Repository01 server as a new application backup repository with the following settings:
- The snapshots are created every Friday at 23:00.
- The permissions to access the NFS share are given to the
172.24.26.132host.
|
$server = Get-VBRServer -Name "Repository01" $permission = -Mode ReadWrite -ServerName 172.24.26.132 $daily = New-VBRDailyOptions -DayOfWeek Friday -Period 23:00 $schedule = New-VBRApplicationBackupRepositoryScheduleOptions -ScheduleEnabled $true -Type Daily -DailyOptions $daily Add-VBRApplicationBackupRepository -Name "Oracle FRA Repository" -Server $server -ZFSPool "abr01" -RepositoryPermissions $permission -ScheduleOptions $schedule |
Perform the following steps:
- Run the
Get-VBRServerReturns hosts connected to the backup infrastructure. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
New-VBRApplicationBackupRepositoryPermissionCreates a new permission for hosts to access an application backup repository NFS share. cmdlet. Specify theModeandServerNameparameter values. Save the result to the$permissionvariable. - Run the
New-VBRDailyOptionscmdlet. Specify theDayofWeekandPeriodparameter values. Save the result to the$dailyvariable. - Run the
New-VBRApplicationBackupRepositoryScheduleOptionsCreates a snapshot creation schedule for application backup repositories. cmdlet. Specify theScheduleEnabledandTypeparameter values. Set the$dailyvariable as theDailyOptionsparameter value. Save the result to the$schedulevariable. - Run the
Add-VBRApplicationBackupRepositorycmdlet. Specify the following settings:- Specify the
Nameparameter value. - Set the
$servervariable as theServerparameter value. - Specify the
ZFSPoolparameter value. - Set the
$permissionvariable as theRepositoryPermissionsparameter value. - Set the
$schedulevariable as theScheduleOptionsparameter value.
- Specify the
Related Commands
Get-VBRServerReturns hosts connected to the backup infrastructure.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.