Set-VBRObjectToTapeJob
Short Description
Modifies an object to tape job or GFS object to tape job.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Set-VBRObjectToTapeJob -Job <VBRObjectToTapeJob> [-Name <String>] [-Description <String>] [-EjectCurrentMedium]
[-ExportCurrentMediaSet] [-FullBackupPolicy <VBRFileToTapeBackupPolicy>]
[-IncrementalBackupPolicy <VBRFileToTapeBackupPolicy>] [-Object <VBRObjectStorageBackupJobObject[]>]
[-UseHardwareCompression] [-NotificationOptions <VBRNotificationOptions>]
[-JobScriptOptions <VBRJobScriptOptions>] [-EnableFileAclChangeTracking] [<CommonParameters>]
-
SimpleMediaPoolSet-VBRObjectToTapeJob -Job <VBRObjectToTapeJob> [-Name <String>] [-Description <String>] [-EjectCurrentMedium]
[-ExportCurrentMediaSet] [-FullBackupMediaPool <VBRTapeMediaPool>]
[-IncrementalBackupMediaPool <VBRTapeMediaPool>] [-ExportDays <DayOfWeek[]>]
[-FullBackupPolicy <VBRFileToTapeBackupPolicy>] [-IncrementalBackupPolicy <VBRFileToTapeBackupPolicy>]
[-Object <VBRObjectStorageBackupJobObject[]>] [-UseHardwareCompression]
[-NotificationOptions <VBRNotificationOptions>] [-JobScriptOptions <VBRJobScriptOptions>]
[-EnableFileAclChangeTracking] [<CommonParameters>]
-
GFSMediaPoolSet-VBRObjectToTapeJob -Job <VBRObjectToTapeJob> [-Name <String>] [-Description <String>] [-EjectCurrentMedium]
[-ExportCurrentMediaSet] [-GFSMediaPool <VBRTapeGFSMediaPool>]
[-GFSMediaSetsToExport <VBRGFSMediaSetTypeToExport[]>] [-FullBackupPolicy <VBRFileToTapeBackupPolicy>]
[-IncrementalBackupPolicy <VBRFileToTapeBackupPolicy>] [-Object <VBRObjectStorageBackupJobObject[]>]
[-UseHardwareCompression] [-GFSScheduleOptions <VBRTapeGFSScheduleOptions>]
[-NotificationOptions <VBRNotificationOptions>] [-JobScriptOptions <VBRJobScriptOptions>]
[-EnableFileAclChangeTracking] [<CommonParameters>]
Detailed Description
This cmdlet modifies a selected object to tape job or GFS object to tape job that was created before.
Note |
|
To modify settings, specify new values for the necessary parameters. This cmdlet will overwrite the previous parameter values with the new values. The parameters that you omit will remain unchanged. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Description |
Specifies the description of the object to tape job. |
|
False |
Named |
False |
|
EjectCurrentMedium |
Defines that the tapes will be automatically ejected from drive after the job finishes. The ejected tape is moved to a standard library slot. |
|
False |
Named |
False |
|
EnableFileAclChangeTracking |
Enables backup of permissions and attributes for files.
Default: |
|
False |
Named |
False |
|
ExportCurrentMediaSet |
For non-GFS object to tape jobs.
Defines that the tapes belonging to the media set will be automatically placed to Import/Export (Mail) slot for further export. Use the
If you use this parameter, but do not set the |
|
False |
Named |
False |
|
ExportDays |
Used to set days for exporting tapes for the
Specifies days on which the tapes written by this tape job will be automatically exported: |
|
False |
Named |
False |
|
FullBackupMediaPool |
For non-GFS object to tape jobs. Specifies the media pool where you want to store full backups produced by this tape job.
Accepts the |
False |
Named |
False |
|
|
FullBackupPolicy |
Specifies virtual synthetic full backup for tape settings. Default:
Accepts the |
False |
Named |
False |
|
|
GFSMediaPool |
For GFS object to tape jobs. Specifies the target GFS media pool.
Accepts the |
False |
Named |
False |
|
|
GFSMediaSetsToExport |
For GFS object to tape jobs. Specifies GFS media sets for which the tapes will be automatically exported once the tape job is finished:
|
|
False |
Named |
False |
|
GFSScheduleOptions |
For GFS object to tape jobs. Specifies the schedule settings for the GFS media pool.
Accepts the |
False |
Named |
False |
|
|
IncrementalBackupMediaPool |
For non-GFS object to tape jobs. Specifies the media pool where you want to store incremental backups produced by this tape job.
Accepts the |
False |
Named |
False |
|
|
IncrementalBackupPolicy |
Specifies the incremental backup settings. Default:
Accepts the |
False |
Named |
False |
|
|
Job |
Specifies the object to tape job to which you want to apply new settings. Accepts the following objects:
|
True |
Named |
True (ByPropertyName, ByValue) |
|
|
JobScriptOptions |
Specifies the scripting options.
Accepts the |
False |
Named |
False |
|
|
Name |
Specifies the name you want to assign to the object to tape job. |
|
False |
Named |
False |
|
NotificationOptions |
Specifies the email notification options.
Accepts the |
False |
Named |
False |
|
|
Object |
Specifies the array of object to tape job sources.
Accepts the |
|
False |
Named |
False |
|
UseHardwareCompression |
Defines that tape library must perform hardware compression for archives. Do not use this option for archiving Veeam backups or other already compressed files. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Modifying Object to Tape Job [Using Pipeline]
This example shows how to set a new media pool for the incremental backups for the Sydney Container to Tape job.
|
$newpool = Get-VBRTapeMediaPool -Name "Azure Blob Storage Backups" Get-VBRTapeJob -Name "Sydney Container to Tape" | Set-VBRObjectToTapeJob -IncrementalBackupMediaPool $newpool |
Perform the following steps:
- Run the
Get-VBRTapeMediaPoolReturns media pools. cmdlet. Specify theNameparameter value. Save the result to the$newpoolvariable. - Run the
Get-VBRTapeJobReturns tape jobs. cmdlet. Specify theNameparameter value. - Pipe the cmdlet output to the
Set-VBRObjectToTapeJobcmdlet. Set the$newpoolvariable as theIncrementalBackupMediaPoolparameter value.
Related Commands
Get-VBRTapeJobReturns tape jobs.Get-VBRUnstructuredServerReturns unstructured data sources added to the inventory.New-VBRObjectStorageBackupJobObjectDefines a scope of objects that will be added to the object storage backup job.Get-VBRTapeMediaPoolReturns media pools.New-VBRFileToTapeBackupPolicyCreates schedule settings for a file to tape job.New-VBRNotificationOptionsCreates new job notification options.New-VBRJobScriptOptionsCreates new job script options.New-VBRTapeGFSScheduleOptionsCreates new GFS schedule settings.