All Collections
Actions
Amazon Web Services
Backup Route53 Hosted Zones Actions
Backup Route53 Hosted Zones Actions
Matt Houser avatar
Written by Matt Houser
Updated over a week ago

Description

The Backup Multiple Route 53 Hosted Zones action will backup one or more Route 53 Hosted Zones and save them to an Amazon S3 bucket. The zones can be saved in different formats, including XML, JSON, and BIND.

Both public and private hosted zones will be exported. When exporting both, please make use of the $(HOSTEDZONEID) or $(ZONETYPE) macros in the Object Key.

Settings

Please see Common Action Settings for a description of settings common to all action types.

Hosted Zone Identification Method

Indicates the method in which hosted zones will be identified to be exported. Valid options include:

  • All hosted zones - Will export all hosted zones found.

  • By hosted zone - Will export all hosted zones listed.

Hosted Zones

Required when Hosted Zone Identification Method is "By hosted zone".Indicates the names of the Route 53 Hosted Zones to be backed up. Inclusion of the trailing '.' is optional.

Bucket Name

Indicates the name of the bucket to save the hosted zone to.

Object Key (file name)

Indicates the Amazon S3 object key (also known as the file name). Macros can be used to substitute run-time data, see below.

Export Format

Indicate the format of the backed up hosted zone. Currently, three options exist:

  • XML - The data will be stored to an XML file

  • JSON - The data will be stored to a JSON file

  • Bind - The data will be stored in BIND format (used by some other name servers)

Macros

The following macros can be used to include some run-time information.

$(DATE)

Date of backup in year-month-day format

$(TIME)

Time of backup in 24-hour format

$(HOSTEDZONE)

Name of the hosted zone. The trailing '.' will be removed.

$(HOSTEDZONEID)

Unique identifier of the host zone.

$(ZONETYPE)

The hosted zone's type: public or private.

Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.

Amazon Commands Used

The following Amazon AWS commands are used. The access key should have permission to execute all of them.

  • route53:ListHostedZones

  • route53:ListResourceRecordSets

  • s3:PutObject

Did this answer your question?