New-VBRNASBackupArchivalOptions
Short Description
Defines long-term retention policy for file versions of backed up files from file shares.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
New-VBRNASBackupArchivalOptions [-ArchivalType <VBRNASBackupArchivalType> {All | InclusionMask | ExclusionMask}] [-InclusionMask <string[]>] [-ExclusionMask <string[]>] [<CommonParameters>] |
Detailed Description
This cmdlet defines long-term retention policy for file versions of backed up files from file shares.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
ArchivalType | Specifies the filter settings for file versions that must be kept on the long-term repository. You can specify either of the following filter settings:
| VBRNASBackupArchivalType | False | Named | False |
InclusionMask | For the ArchivalType parameter with the InclusionMask value. Specifies a file mask for files and folders that you want to add to the file backup job. The cmdlet will back up only these files and folders. | String[] | False | Named | False |
ExclusionMask | For the ArchivalType parameter with the ExclusionMask value. Specifies a file mask for files and folders that you do not want to add to the file backup job. | String[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Defining Retention Policy for Active File Versions of File Share Backed Up Files by Using Filter Settings
This command shows how to define retention policy for active file versions of backed up files from file shares. The long-term repository will keep only .PDF and .DOCX file extensions.
|
Example 2. Defining Retention Policy for Deleted File Versions of File Share Backed Up Files by Using Filter Settings
This command shows how to define retention policy for deleted file versions of backed up files from file shares. The long-term repository will not keep .EXE file extensions.
|