Skip to main content
Question

Copy file geodatabase to a different location with a new name.

  • June 18, 2026
  • 1 reply
  • 9 views

gneiss1.rey
Participant
Forum|alt.badge.img+2

I would like to copy an existing file geodatabase and rename it to a different location.  I have been reading up on the FILECOPY but can’t make sense of what I’ve seen.  Any help is greatly appreciated. 

1 reply

crutledge
Influencer
Forum|alt.badge.img+46
  • Influencer
  • June 18, 2026

Hi ​@gneiss1.rey 

You may be running into trouble because a file gdb is treated as a folder. You could try and zip the fgdb and then use file copy. 

Or if you are treating it as a backup before you have a workspace progress further simply use a FeatureWriter after reading in your fgdb data, write the data out as a fgdb bkp and then proceed with the next steps in your workspace.

Hope that helps!

Clifford.