UpdateBackupPlan
In this article:
UpdateBackupPlan#
Description#
Request to update a backup plan.
Request Parameters#
BackupPlan — The backup plan.
Type: BackupPlanInput object
Required: Yes
BackupPlanId — The backup plan ID.
Type: String
Required: Yes
Response Elements#
BackupPlanArn — The Amazon Resource Name (ARN) of the backup plan.
Type: String
BackupPlanId — The backup plan ID.
Type: String
Examples#
c2-bs UpdateBackupPlan BackupPlanId 0000-0000-0000-0000 BackupPlan.BackupPlanName my_plan BackupPlan.Rules.1.RuleName my_rule BackupPlan.Rules.1.TargetBackupVaultName Default
c2-bs UpdateBackupPlan BackupPlanId 0000-0000-0000-0000 BackupPlan.BackupPlanName my_plan BackupPlan.Rules.1.RuleName my_rule BackupPlan.Rules.1.TargetBackupVaultName Default BackupPlan.Rules.1.CompletionWindowMinutes 120 BackupPlan.Rules.1.Lifecycle.DeleteAfterDays 2 BackupPlan.Rules.1.ScheduleExpression "cron(0 10 * * *)" BackupPlan.Rules.1.StartWindowMinutes 90