Export, Import, and Print Cloudflare Data


#1

Recommend Cloudflare add the following capabilities to its website:

(1) Ability to display and print a summary of client’s website (Cloudflare) information (*)

(2) Ability to export, import, and print client’s website DNS Records and Page Rules (*)

(*) Useful if on-boarding a new website or data is lost.

Looking forward to input from other Cloudflare users and Cloudflare’s client support team!


#2

+1 to all of these.

An export and import would be extremely useful.


#3
  1. I believe you can get a lot by API
  2. Not sure about export but I’m pretty sure you can import BIND compliant DNS zone file

#4

@komarEX you can export a BIND file from Cloudflare as well.

There are a couple of libraries/scripts available which can be used to export settings:

https://github.com/gds-attic/cloudflare-configure/ (hasn’t been updated in a while)
https://github.com/rmg/cloudflare-backup (backup DNS)

And a good Python library if anyone is interested: https://pypi.python.org/pypi/cloudflare/1.5.1


#5

No need to complicate things at the front-end level for those who are not programmers, coders, etc. All that is being asked is for CF to integrate the enhancements with simple buttons (export, import, and print). At the back-end level, we’ll let the CF gurus do their magic.


#6

Fair enough. It’s a good request and I’ve passed it along to the product team. I have a habit of trying to solve the problem ‘right now’ which isn’t always the most useful response. :wink:


#7

@cscharff: Yep. It’s tempting to do that! I do the same more often than not. Thank you.


#8

I had a similar desire, so I wrote some PHP code that exports the “all settings” api endpoint and also lists out the firewall rules. If anyone wants to use it and doesn’t use Drupal, the main pieces are in the file chotchkie.drush.inc


#9

Good Day, @cscharff!

What’s the latest on this? An update from your development team would be appreciated.

These features can be used now by the entire Cloudflare community.

Thank you!


#10

Another vote for this feature.


#11

Please suggest we have any plans to integrate in CloudFlare?