Select to view content in your preferred language

File gdb exports via python notebook are suddenly failing

352
2
03-19-2026 04:42 AM
RobBlash
Frequent Contributor

I have a few notebooks that run nightly to backup my field data. I have 2 distinct groups of feature services, and each has a notebook for csv export and file gdb backup. So, 4 notebooks in total that have been successfully running sine November of 2025. The notebooks loop through items in an AGOL group and export them.

As of early AM Monday, my 2 file gdb notebooks fail to complete (they time out while exporting a larger gdb). My first thought was a particular feature was corrupted and failing to export, but since the exports are failing on different hosted feature services, that doesn't seem plausible. So, I updated the runtimes for all notebooks to python 13 (standard), with no improvement. Has anyone else experienced similar issues?

Some more background:

  • I query only a subset of features (last 30 days) to keep the backup size manageable. So, I'm not trying to export gigantic datasets.
  • I have some smaller datasets that succeed, but when the script hits a "larger" dataset it seems to hang.
  • The notebooks replaced python scripts that were running nightly on a desktop for 5+ years, so I'm not in uncharted territory. These workflows work, but something has changed and impacted the success.
  • I'm trying a manual export to file gdb from survey123.com, I will report back if/when that finishes.
  • I will also try the old python scripts to see if they succeed.

 

0 Kudos
2 Replies
RobBlash
Frequent Contributor

I meant to put in a support ticket yesterday, but the day got away from me on other pressing issues. The FGDB export via survey123.com never completed, and exports via my retired desktop python scripts also never completed.

However, my notebooks ran as expected last night. So maybe something on services9 fixed itself, or Esri found the problem via other means and resolved it. We'll see what Monday brings.

David_McRitchie
Esri Regular Contributor

Hey Rob,

Did you get any further issues on this? One thing I have seen in the past is that scripts can struggle on services that have a large build up of backend tables such as sync, and in particular Change Tracking.

Worth doing a trim of these if this is still ongoing.

Hopefully all is working again,

David

Esri UK -Technical Support Analyst
0 Kudos