DublinOhio / backup-ago

Backup ArcGIS Online content to a specified location.
MIT License
1 stars 0 forks source link

backup-ago

Backup ArcGIS Online content to a specified location.

Purpose

Download GIS and other content from ArcGIS Online Organizations to create copies for backup and historical purposes. ArcGIS Online does not support archiving and history tracking like SDE databases so this process will provide that functionality.

Requirements

Project Setup

Setup Creation of Backups on ArcGIS Online

Prep data on ArcGIS Online or Enterprise

Local Process for Downloading Backups Install Requirements

Clone (download) this project.

Create a Python environment for the project (strongly recommended).

Activate the new environment

Install ArcGIS API for Python in the new Environment

Install dotenv

Install JupyterLab (Optional)

Configuration

This project uses a hidden environment file named ".env" in the root directory. This file is ignored (by .gitignore method) so you must create this file in the root directory and add variable features.

Create .env file

Set Environment varaibles

Run

Can be run as a Python file i.e. scheduled with Windows Task Scheduler or interactively in a Jupyter Lab notebooks.

Development was done in Jupyter Lab then exported to Python.