Set-VBRNASBackupJobObject
Short Description
Modifies settings of files and folders that will be added to the file backup job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Set-VBRNASBackupJobObject -JobObject <VBRNASBackupObject> [-InclusionMask <VBRNASBackupMask[]>] [-ExclusionMask <VBRNASBackupMask[]>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of files and folders that will be added to the file backup job.
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 |
|---|---|---|---|---|---|
|
ExclusionMask |
Specifies a file mask for folders and files that you do not want to add to the file backup job. The cmdlet will not back up these folders and files. |
|
False |
Named |
False |
|
InclusionMask |
Specifies a file mask for folders and files that you want to add to the file backup job. The cmdlet will back up only folders and files specified in this file mask. |
|
False |
Named |
False |
|
JobObject |
Specifies the settings of files and folders that will be added to the file backup job. The cmdlet will modify these settings.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNASBackupJobObject object that contains settings of files and folders that will be added to the file backup job.
Examples
Example 1. Modifying Included Files
|
This example shows how to modify settings of a file mask for files that you want to add to the file backup job. The job will back up only .
Perform the following steps:
|
Example 2. Modifying Excluded Files
|
This example shows how to modify settings of file mask for files that you want to exclude from the file backup job. The job will not back up .
Perform the following steps:
|
Related Commands
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.New-VBRNASBackupJobObjectDefines settings of files and folders and enterprise NAS system that will be added to the file backup job.