GFS Retention Policy Settings in CLI
Configuring GFS Retention Policy Settings in CLI
To enable GFS retention policy and configure one of the available GFS keeping periods for a backup plan, use the following parameters with the add and/or edit plan commands:
Yearly Keeping Period
Monthly Keeping Period
Weekly Keeping Period
Disabling GFS
To disable the specified GFS type for existing backup plans, use the following parameters with the edit plan commands:
CLI Examples
Create New Backup Plan with Enabled GFS Keeping Periods
cbb.exe addbackupibbplan -n GFS -a MyS3 -v {volumeIdList} -weekdayForceFull 4 -nbf -gfsWeekly 4 -gfsMonthly 2 -gfsYearly 1 -notification errorOnly
This command creates a new backup plan in the format that supports the GFS policy, enables the GFS policy, and specifies the following keeping periods for GFS policy: weekly restore points are kept for 4 weeks, monthly restore points are kept for 2 months, yearly restore points are kept for 1 year.
Edit the Existing Plan and Enable Weekly and Monthly GFS Keeping Periods
cbb.exe editBackupPlan -n "CLI GFS" -gfsM 20 -gfsWeekly 4
This command enables the GFS settings for the existing backup plan named CLI GFS: enables GFS policy with weekly keeping period that will be kept for 4 weeks and monthly keeping period that will be kept for 20 months.
Edit the Existing Plan and Disable GFS Policy
cbb.exe editBackupPlan -n "CLI GFS" -gfsWDisable -gfsMDisable -gfsYDisable
This command disables all GFS settings for the existing backup plan CLI GFS
Note that all existing weekly, monthly and yearly backups will be kept according to previously specified GFS settings.
Last updated