I’ve done a bit of searching on this but can’t find any examples of how to do it.
We would like to backup contentful asset files using the cli to an amazon s3 bucket using a Lambda function. I have successfully utilised this tutorial to backup the contentful space and this works well. But this does not deal with the asset files themselves.
Looking at the documentation I see there is an option to download the files
But I’d like to see an implementation of this in a Lambda script like the one in the above example.
Are there any out and about that I can take a look at?