I have created a script to backup all member content from AGOL. The script downloads the data to a network location. After further investigation, I noticed the hosted feature layer, with attachments (images), does not carry across the images.
According to Esri documentation you will need to utilize the Create Replica functionality from the ArcGIS REST API. However, I was wondering in the clone_items() function would carry across the images.
Has anyone tried this yet? I am looking to clone the content from AGOL into our Portal Environment (10.8.1). Any suggestions would be greatly appreciated.