In situations when a schema of a repository has to be moved to another repository or it has to be backed up without affecting the data, Schema Migration commands or CTS+ commands can be used.
Schema Migration commands are as follows:
The Export Schema command creates an XML file of a repository's schema, which in turn can be used to create a new repository or import and merge into an existing repository.
While exporting the schema, a repository has to be mounted and can either be in loaded or unloaded state. Follow the steps given to export the schema into an XML file: