I’m looking at using the contentful-cli to backup my space data and the actual asset files. But I can not find any documentation that tells you how to do this or even where the asset files get downloaded to. I can see a flag you can add to download assets but as I say that is as much as I can find on the subject. It would be good to have a tutorial on this just to explain the steps and process before actually running any command. Anyone know of one?
Hi @mark.lett ,
Usually when running the contentful-cli, the JSON file and the eventual asset folder (named
images.ctfassets.net) are saved in the directory in which you are running the command. You can use the option
--export-dir to specify a different directory.
More details here: Importing and exporting content with the Contentful CLI | Contentful