We often use Collector for Windows for long periods of time in areas where syncing is not possible. If our device experiences a failure in between syncs, we have the potential to experience significant data loss. It would be nice if collector had an option to back up its edits to a portable drive.
In the meantime, with some help from tech support, we were able to come up with the following workflow for backing up Collector files to a portable drive, and then restoring these files as a single file geodatabase. This workflow, which we were able to capture in a Python script, is the following:
- Navigate to C:\Users\[user]\AppData\Local\Packages\Esri.CollectorforArcGIS_[string]\LocalState\[string]
- Copy the *.geodatabase files from the folder mentioned in Step 1 to a portable flash drive. Collector may use several geodatabases to track edits. Therefore, it’s important to copy all *.geodatabase files in this folder.
- Use the “Copy Runtime Geodatabase to File Geodatabase” tool to create a file geodatabase from the *.geodatabase files