CmdID

CmdID / aws / aws backup

aws backup get-backup-plan-from-template

Returns the template specified by its templateId as a backup plan. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To get an existing backup plan from a template

The following get-backup-plan-from-template example gets an existing backup plan from a template that specifies a daily backup with a 35 day retention.

aws backup get-backup-plan-from-template --backup-plan-template-id "a1b2c3d4-5678-90ab-cdef-EXAMPLE11111"Identify
--backup-plan-template-idUniquely identifies a stored backup plan template.
Its output
{
    "BackupPlanDocument": {
        "Rules": [
            {
                "RuleName": "DailyBackups",
                "ScheduleExpression": "cron(0 5 ? * * *)",
                "StartWindowMinutes": 480,
                "Lifecycle": {
                    "DeleteAfterDays": 35
                }
            }
        ]
    }
}

For more information, see Creating a Backup Plan in the AWS Backup Developer Guide.

Options

1 in the AWS CLI reference
--backup-plan-template-idUniquely identifies a stored backup plan template.