New-VBRFileToTapeObject
Short Description
Defines settings of the source for the files to tape job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
New-VBRFileToTapeObject -NASServer <VBRUnstructuredServer> [-Path <String>] [-IncludeMask <String>] [-ExcludeMask <String>] [<CommonParameters>] |
Detailed Description
This cmdlet creates the VBRFileToTapeObject object. This object contains settings of files or directories that you want to add to a file to tape job.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ExcludeMask |
Specifies files that you want to exclude from the file to tape job. |
|
False |
Named |
False |
|
IncludeMask |
Specifies files that you want to back up with the file to tape job. |
|
False |
Named |
False |
|
NASServer |
Specifies network shared folders and file servers. Veeam Backup & Replication will back up these shared folders and file servers with the file to tape job.
Accepts the |
|
True |
Named |
False |
|
Path |
Specifies the target file path. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Creating Object for File to Tape Job
This example shows how to create an object for a file to tape job. The object contains a folder on the fileserver08 server.
|
$server = Get-VBRUnstructuredServer -Name "fileserver08.tech.local" $folder = New-VBRFileToTapeObject -NASServer $server -Path "D:\Summary Reports\Payroll Reports" |
Perform the following steps:
- Run the
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory. cmdlet. Specify theNameparameter value. Save the result to the$servervariable. - Run the
New-VBRFileToTapeObjectcmdlet. Set the$servervariable as theNASServerparameter value. Specify thePathparameter value. Save the result to the$foldervariable to be used with other cmdlets.
Related Commands
Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.