Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
PowerShell Reference

New-VBRGFSRetentionPolicy

Short Description

Creates a GFS retention policy for backup copy jobs that process backups of Amazon EC2 instances.

Applies to

Platform: VMware, Hyper-V

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

New-VBRGFSRetentionPolicy [-RestorePoints <int>] [-GFSWeeklyBackups <int>] [-GFSMonthlyBackups <int>][-GFSQuarterlyBackups <int>] [-GFSYearlyBackups <int>]  [<CommonParameters>]

Detailed Description

This cmdlet creates the VBRGFSRetentionPolicy object that contains a GFS retention policy for backup copy jobs that process backups of Amazon EC2 instances. Veeam Backup & Replication will keep the copied restore points on the target backup repository according to this policy.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

RestorePoints

Specifies the number of restore points that you want to keep in the backup chain on the target backup repository.

False

Named

False

 

GFSWeeklyBackups

Specifies the number of weekly backups that you want to keep on the target backup repository.

False

Named

False

 

GFSMonthlyBackups

Specifies the number of monthly backups that you want to keep on the target backup repository.

False

Named

False

 

GFSQuarterlyBackups

Specifies the number of quarterly backups that you want to keep on the target backup repository.

False

Named

False

 

GFSYearlyBackups

Specifies the number of yearly backups that you want to keep on the target backup repository.

False

Named

False

 

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

Example

This command creates a GFS retention policy for a backup copy job with the following settings:

  • The number of regular backups is set to 2
  • The number of weekly backups is set to 3
  • The number of monthly backups is set to 4
  • The number of quarterly backups is set to 5
  • The number of yearly backups is set to 9

New-VBRGFSRetentionPolicy -RestorePoints 2 -GFSWeeklyBackups 3 -GFSMonthlyBackups 4 -GFSQuarterlyBackups 5 -GFSYearlyBackups 9

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions Reference

Veeam Availability for Nutanix AHV Documentation

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation