Good morning
Is there a tool or application in AGOL to schedule backups periodically of a hosted feature layer?
I would like to backup daily 3 hosted feature layers.
Thanks
I use a notebook to do this, it's scheduled to run daily. It writes all of the backup FGDBs to a single folder, and during each run it scans that folder for backups older than a certain number of days and deletes them.
Not really unfortunately, but at a high level it does this:
For logging, I use another hosted feature layer table with a string field and a timestamp. (I also have a dashboard for displaying/filtering logs, as well as email notifications for any errors above a certain severity, but those parts are nice-to-haves, not really necessary.)
As others have noted, an ArcGIS Notebook is an easy way to automate backups of hosted feature layers as file geodatabases.
Depending on your requirements, you might want to backup your data to an external system, so that you have a backup, should something happen to ArcGIS Online. For example, you could backup your hosted feature layers to Dropbox, as illustrated in this example Notebook: Backup to Dropbox. You could just as easily use Google Drive, Microsoft OneDrive, or another storage option, by substituting the appropriate code for your preferred storage solution.