OCHA-DAP / hdx-signals

HDX Signals
https://un-ocha-centre-for-humanitarian.gitbook.io/hdx-signals/
GNU General Public License v3.0
6 stars 0 forks source link

Save backup of Mailchimp subscriber base to Azure #101

Closed caldwellst closed 4 months ago

caldwellst commented 6 months ago

The Mailchimp servers have gone down today, so unable to use the API reliably. Obviously, in a worst case scenario we would lose our subscriber base to the system if their data was wiped or the service went down permanently. Everything else is reconstructible quite easily, it is only the subscribers that are a high risk dataset stored on the Mailchimp servers.

Although this is highly unlikely, would be good to have a backup script in src-static that is run every time we update static files, but also running on a CRON job every week or so to create a subscriber backup. It would be very simple, as audience$mc_members() already extracts members in a list from the JSON format and we could just save as a JSON file directly to Azure.