Add-VBOExcludedBackupItem
Short Description
Creates a list of objects excluded from a backup job.
Syntax
Detailed Description
This cmdlet creates a list of objects that will be excluded from a backup job.
Run the Get-VBOExcludedBackupitem cmdlet to get a list of excluded items.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Job | Specifies a backup job. The cmdlet will exclude objects from this backup job. | Accepts the VBOJob object. To get this object, run the Get-VBOJob cmdlet. | True | Named | False |
BackupItem | Specifies an array of objects that you want to exclude from the backup job. Note: Team objects can be excluded from the backup job only if the chats option is enabled for this team. | Accepts the VBOBackupItem[] object. To get this object, run the Get-VBOBackupItem cmdlet. | True | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Examples
Example 1. Excluding Site Objects
This example shows how to exclude objects of a SharePoint organization site from the Yearly Backup backup job.
Perform the following steps:
|
Example 2. Excluding Objects Specified as Backup Items for Another Backup Job
This example shows how to get backup items from the Yearly Backup backup job and to add them as excluded items to the Monthly Backup backup job.
Perform the following steps:
|
Related Commands