Route53 Zone export

less than 1 minute read , Apr 06, 2016

You need to have your local system ready for AWS access.

Find the Zone ID we want to export/backup:

$ aws route53 list-hosted-zones-by-name --dns-name --query 'HostedZones[0].Id'

Export the Zone into Route53 and BIND compatible file: $ cli53 export –full ZXXXXXXXXXXXXI > ~/backups/route53/zone_file_domain_com

The cli53 command line tool has been obtained as follows:

$ wget
$ sudo mv cli53-linux-amd64 /usr/local/bin/cli53
$ sudo chmod +x /usr/local/bin/cli53




Leave a Comment