ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

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

CopyRuntimeGdbToFileGdb_conversion (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.

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
from arcpy import env
 
# Set environment settings
env.workspace = "C:/data"

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

Environments

  • Current Workspace

Licensing information

  • ArcGIS for Desktop Basic: Yes
  • ArcGIS for Desktop Standard: Yes
  • ArcGIS for Desktop Advanced: Yes

Related topics

  • An overview of the To Geodatabase toolset

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal