Available with Standard or Advanced license.
Applying schema changes in replicas involves several steps. For example, to find schema differences between a replica geodatabase and another relative replica geodatabase, you can run the compare replica schema command from the first replica geodatabase. The schema changes file generated from this describes what changes need to be applied to the replica geodatabase in order to match the relative replica geodatabase. To apply these changes, you can run the import schema changes command from the replica geodatabase and import the changes from the changes file.
In a disconnected environment, before you can compare replica schemas, you first need to export the schema to a file and send it to the relative replica for comparison and import. See Exporting a replica schema to learn how to do this.
The following steps describe how to update the schema of a child geodatabase from a parent geodatabase using one-way or two-way replication:
- Open ArcCatalog.
- Right-click the child geodatabase and click Distributed Geodatabase > Compare Replica Schema.
- Check the Geodatabase bullet and browse to the parent geodatabase.
- Select the correct replica for Replica Name.
- Specify a name and location for Output replica schema changes XML file.
- Click Finish.
This creates an XML file with the schema changes.
- Right-click the child geodatabase and click Distributed Geodatabase > Import Replica Schema.
- Browse to the location of the XML file designated in step 5.
- Click Next and click Finish.