Select to view content in your preferred language

Automating ArcGIS Online Backups with Python (Resume-Safe Approach)

345
2
03-17-2026 09:43 AM
Status: Open
VirajP
by
Frequent Contributor

The Real Problem is

In ArcGIS Online:

  • No built-in full backup option

  • Backup jobs fail and must restart from scratch

  • Duplicate exports increase credit usage

  • No tracking of what’s already backed up


🧪 Current Workaround (Python Script)

To solve this, I built a Python script using the ArcGIS API that:

  • Exports hosted feature layers to File Geodatabase (.gdb)

  • Saves Web Maps and Apps as JSON

  • Downloads file-based items

  • Implements resume mode by skipping already backed-up items

  • Generates an inventory report (Excel) with status and errors

This works well, but requires custom development and ongoing maintenance.


💡 Proposed Solution

A native tool should:

  • Support resume (skip existing items)

  • Handle all major item types (layers, maps, apps, files)

  • Provide export consistency (no replica naming issues)

  • Generate built-in reports


🎯 Why It Matters

  • Saves time on large backups

  • Reduces credit consumption

  • Improves reliability and disaster recovery


👍 Call to Action

If you're managing backups in ArcGIS Online, please upvote. A built-in resume-capable backup tool would be a huge improvement.

2 Comments
David_McRitchie

It's a good idea and can be quite difficult to manage when an organisation grows.

One solution I have seen a few others use is Geojobe which offers out of the box tools foPreviewr maintaining backups. 

TD1
by

agreed I need this as well