Skip to content

ArcGIS Online feature service+ backup and restore tools

License

Notifications You must be signed in to change notification settings

agrc/project-moonwalk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

project-moonwalk

Open source ArcGIS Online item backup and restore with style.

Add a backup tag to your item and moonwalk will start backing up your items.

This project is split into 2 parts. backup and restore. The backup service scans for items with the backup tag and uses the createReplica and data endpoints to extract the information necessary to restore the item. This data is placed in Google Cloud Storage. Backups are created daily and kept on a rolling 14 day schedule. Every sunday, the backup is also stored in a special area for 90 days.

The restore service consists of a website that allows you to view your backups and trigger a restore.

Installation

  1. Run some terraform to create some cloud infrastructure

Development

Backups

  1. conda create --name moonwalk-backup python=3.11
  2. conda activate moonwalk-backup
  3. cd jobs/backup
  4. pip install -e ".[tests]"

Enable versioning on the emulator bucket:

gcloud storage buckets update gs://ut-dts-agrc-moonwalk-dev.appspot.com --versioning