ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Copy Runtime Geodatabase To File Geodatabase

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

Copies the contents of a Runtime geodatabase into a new file geodatabase.

Usage

Syntax

arcpy.conversion.CopyRuntimeGdbToFileGdb(in_file, out_file)
ParameterExplanationData Type
in_file

Runtime geodatabase that will be copied to a file geodatabase.

File
out_file

The output file geodatabase name and location. For example: c:/temp/outputGeodatabases/copiedFGDB.gdb.

File

Code sample

CopyRuntimeGdbToFileGdb example 1: (Python window)

The following Python window script demonstrates how to use the CopyRuntimeGdbToFileGdb tool in immediate mode.

import arcpy
arcpy.CopyRuntimeGdbToFileGdb_conversion(r"D:\data\RuntimeGDBs\delta.geodatabase", 'D:\data\copiedGDBs\deltaFGDB.gdb')
CopyRuntimeGdbToFileGdb example 2: (stand-alone script)

The following Python window script demonstrates how to use the CopyRuntimeGdbToFileGdb tool in a stand alone script using the workspace environment.

# Import system modules
import arcpy
 
# Set environment settings
arcpy.env.workspace = "C:/data"

# Execute CopyRuntimeGdbToFileGdb
arcpy.CopyRuntimeGdbToFileGdb_conversion("D:\runtimedata\replica.geodatabase", 'replica_Copy.gdb')

Environments

  • Current Workspace

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics

  • An overview of the To Geodatabase toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2021 Esri. | Privacy | Legal