Add-VBRTapeGFSMediaPool
Short Description
Creates a new GFS media pool.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Add-VBRTapeGFSMediaPool -Name <String> [-Description <String>] -Library <VBRTapeLibrary[]> [-Medium <VBRTapeMedium[]>] [-MoveFromFreePool] [-EnableEncryption] [-EncryptionKey <VBREncryptionKey>] [-KMSServer <VBRKMSServer>] [-NextLibOffline] [-NextLibDrivesBusy] [-NextLibNoMedia] [-DailyOverwritePeriod <Int32>] [-WeeklyOverwritePeriod <Int32>] [-MonthlyOverwritePeriod <Int32>] [-QuarterlyOverwritePeriod <Int32>] [-YearlyOverwritePeriod <Int32>] [-DailyMediaSetPolicy <VBRTapeGFSMediaSetPolicy>] [-WeeklyMediaSetPolicy <VBRTapeGFSMediaSetPolicy>] [-MonthlyMediaSetPolicy <VBRTapeGFSMediaSetPolicy>] [-QuarterlyMediaSetPolicy <VBRTapeGFSMediaSetPolicy>] [-YearlyMediaSetPolicy <VBRTapeGFSMediaSetPolicy>] [-SplitJobFilesBetweenDrives] [-NumberOfStreams <Int32>] [-WORM] [<CommonParameters>] |
Detailed Description
This cmdlet creates a new GFS media pool. The media sets are created with default settings.
Run the New-VBRTapeGFSMediaSetPolicyCreates a new VBRTapeGFSMediaSetPolicy object. cmdlet to set other options for media sets.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DailyMediaSetPolicy |
Specifies settings for the daily media set.
Accepts the |
False |
Named |
False |
|
|
DailyOverwritePeriod |
Indicates the data retention period for the daily media set (days). |
|
False |
Named |
False |
|
Description |
Specifies the description for the created media pool. If not set, Veeam will enter date and time of creation by default. |
|
False |
Named |
False |
|
EnableEncryption |
Enables data encryption for data archived to tape.
Use the |
|
False |
Named |
False |
|
EncryptionKey |
Used to set the encryption key for the Specifies the encryption key you want to use to encrypt the data.
Accepts the |
|
False |
Named |
False |
|
KMSServer |
Used to set the encryption key for the Specifies the KMS Server you want to use to encrypt the data.
Accepts the |
False |
Named |
False |
|
|
Library |
Specifies the array of tape libraries. The media pool will use tapes from these libraries.
For tape library failover, use
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Medium |
Specifies the array of tapes. The cmdlet will add these tapes to the media pool.
Accepts the |
False |
Named |
False |
|
|
MonthlyMediaSetPolicy |
Specifies settings for the monthly media set.
Accepts the |
False |
Named |
False |
|
|
MonthlyOverwritePeriod |
Indicates the data retention period for the monthly media set (months). |
|
False |
Named |
False |
|
MoveFromFreePool |
Defines that the media pool will be replenished by tapes from the Free media pool. |
|
False |
Named |
False |
|
Name |
Specifies the name you want to assign to the media pool. |
|
True |
Named |
False |
|
NextLibDrivesBusy |
Defines that the media pool will switch to the next library if the primary library has no available drives.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NextLibNoMedia |
Defines that the media pool will switch to the next library if the primary library has no available media.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NextLibOffline |
Defines that the media pool will switch to the next library if the primary library is offline.
Default:
Note: To disable this option, set the parameter value to |
|
False |
Named |
False |
|
NumberOfStreams |
Indicates the maximum number of drives that the media pool can use. Set the value to
Default: |
|
False |
Named |
False |
|
QuarterlyMediaSetPolicy |
Specifies settings for the quarterly media set.
Accepts the |
False |
Named |
False |
|
|
QuarterlyOverwritePeriod |
Indicates the data retention period for the quarterly media set (months). |
|
False |
Named |
False |
|
SplitJobFilesBetweenDrives |
Defines that Veeam Backup & Replication will use multiple drives simultaneously to process multiple source backup chains within one tape job. Default: one drive is used for one tape job. |
|
False |
Named |
False |
|
WeeklyMediaSetPolicy |
Specifies settings for the weekly media set.
Accepts the |
False |
Named |
False |
|
|
WeeklyOverwritePeriod |
Indicates the data retention period for the weekly media set (weeks). |
|
False |
Named |
False |
|
WORM |
Defines that the cmdlet will add the WORM Media Pool.
Note: you cannot set retention policy when the
Default: |
|
False |
Named |
False |
|
YearlyMediaSetPolicy |
Specifies settings for the yearly media set.
Accepts the |
False |
Named |
False |
|
|
YearlyOverwritePeriod |
Indicates the data retention period for the yearly media set (years). |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Creating GFS Media Pool with Default Settings and Custom Retention Periods
This example shows how to create a GFS media pool with default settings and customized retention periods.
|
$library = Get-VBRTapeLibrary -Name "HP MSL G3 Series 9.50" $encryption = Get-VBREncryptionKey -Description "Veeam Administrator" Add-VBRTapeGFSMediaPool -Name "GFS Media Pool" -Library $library -MoveFromFreePool -EnableEncryption -EncryptionKey $encryption -DailyOverwritePeriod 30 -WeeklyOverwritePeriod 8 -MonthlyOverwritePeriod 12 -QuarterlyOverwritePeriod 8 -YearlyOverwritePeriod 5 |
Perform the following steps:
- Run the
Get-VBRTapeLibraryReturns tape libraries. cmdlet. Specify theNameparameter value. Save the result to the$libraryvariable. - Run the
Get-VBREncryptionKeyReturns encryption keys. cmdlet. Specify theDescriptionparameter value. Save the result it to the$encryptionvariable. - Run the
Add-VBRTapeGFSMediaPoolcmdlet. Specify the following settings:- Specify the
Nameparameter value. - Set the
$libraryvariable as theLibraryparameter value. - Provide the
MoveFromFreePoolparameter. - Provide the
EnableEncryptionparameter. - Set the
$encryptionvariable as theEncryptionKeyparameter value. - To define retention settings, provide the
DailyOverwritePeriod,WeeklyOverwritePeriod,MonthlyOverwritePeriod,QuarterlyOverwritePeriod,YearlyOverwritePeriodparameter values.
- Specify the
Related Commands
Get-VBRTapeLibraryReturns tape libraries.Get-VBREncryptionKeyReturns encryption keys.New-VBRTapeGFSMediaSetPolicyCreates a new VBRTapeGFSMediaSetPolicy object.