Why does Arcpy script to copy Enterprise geodatabase to gdb fail ERROR 000260 only on Facilities Dataset?

2660
12
04-11-2017 07:49 AM
bryanmay
New Contributor II

Using a script that I found on Stack Exchange(attached), I am able to replicate everything in my enterprise geodatabase to file geodatabase except the Facilities dataset. Can anyone help with why only the Facilities Dataset fails to copy?

When I isolate the Facilities Dataset in the code it does copy properly but always fails in the scheduled script and in the the full script. My enterprise geodatabase is based on the LGIM. We are in ArcGIS 10.5 on SQL Server The script is called from Windows Task Scheduler. I get this error

[INFO] [04/10/2017 05:32:29 PM] [75] - Atempting to Copy Facilities to C:\AC\BackUps\20170410AC_Pro.gdb\Facilities
[INFO] [04/10/2017 05:33:12 PM] [79] - Unable to copy Facilities to C:\AC\BackUps\20170410AC_Pro.gdb\Facilities
[INFO] [04/10/2017 05:33:12 PM] [80] - ERROR 000260: Failed to copy C:\Users\bmay\AppData\Roaming\ESRI\Desktop10.5\ArcCatalog\AC_Pro.sde\AC_Pro.DBO.Facilities into C:\AC\BackUps\20170410AC_Pro.gdb\Facilities
ERROR 000260: The table already exists.--The item was not found.--The item was not found.
Failed to execute (Copy).

0 Kudos
12 Replies
CaraMoore
New Contributor II

Just got off the phone with ESRI, we cleared the caches and that seemed to do the trick.  They are located at:

C:\Users\Username\AppData\Local\Temp·  

C:\Users\Username\AppData\Local\ESRI\Local Caches

0 Kudos
Kathleen_Crombez
Occasional Contributor III

we have the same issue. Script ran fine in ArcMap version 10.4.2

it was never fixed and continued all the way through to version 10.8.1

Was hoping they would have fixed this in Pro, but this bug appears to still exist in Pro 2.8.4

0 Kudos
MicahBabinski
Occasional Contributor III

Does the facilities dataset have related tables?

0 Kudos