CreateBackupPlan
In this article:
CreateBackupPlan#
Description#
Request to create a backup plan. The plan contains the information necessary to schedule periodic backup jobs.
Request Parameters#
BackupPlan — The contents of a backup plan that includes the plan name and several rules.
Type: BackupPlanInput object
Required: Yes
Response Elements#
BackupPlanArn — The Amazon Resource Name (ARN) of the backup plan.
Type: String
BackupPlanId — The backup plan ID.
Type: String
CreationDate — The time when the backup plan was created.
Type: Timestamp
Examples#
c2-bs CreateBackupPlan BackupPlan.BackupPlanName my_plan BackupPlan.Rules.1.RuleName my_rule BackupPlan.Rules.1.TargetBackupVaultName Default
c2-bs CreateBackupPlan 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