Skip to Content.
Sympa Menu

grouper-dev - [grouper-dev] export partial registry

Subject: Grouper Developers Forum

List archive

[grouper-dev] export partial registry

Chronological Thread 
  • From: Chris Hyzer <>
  • To: "" <>
  • Subject: [grouper-dev] export partial registry
  • Date: Tue, 27 Jul 2010 11:47:22 -0400
  • Accept-language: en-US
  • Acceptlanguage: en-US



You can now export part of the registry (1.6.1+).  You would want to do this e.g. to migrate stems from one grouper env to another (e.g. when deploying to prod).


C:\mchyzer\grouper\v1_6\grouper\bin>gsh -xmlexport

Using GROUPER_HOME:           C:\mchyzer\grouper\v1_6\grouper\bin\..

Using GROUPER_CONF:           C:\mchyzer\grouper\v1_6\grouper\bin\../conf

Using JAVA:                   "c:\dev_inst\java/bin/java"

using MEMORY:                 64m-512m


args: -h,            Prints this message


      [-noprompt] filename

e.g.  gsh -xmlexport f:/temp/prod.xml

e.g.  gsh -xmlexport -stems a:b:c,d:e:f f:/temp/prod.xml


  -includeComments,  Put comments about foreign keys in XML

  -stems,            Only include objects in these comma separated stems or object names (1.6.1+)

  -objectNames,      Only include objects in these comma separated object names or stems (1.6.1+)

  -excludeAudits,    Put comments about foreign keys in XML (1.6.1+)

  -noprompt,         Do not prompt user to confirm the database that

                     will be updated

  filename,          The file to import




Note: (1.6.1+) If you export certain objects, and attributeDefs or attributeDefNames are assigned to objects being exported, but the attributeDefs or attributeDefNames are not exported, then the assignments wont be exported, and vice versa.


  • [grouper-dev] export partial registry, Chris Hyzer, 07/27/2010

Archive powered by MHonArc 2.6.16.

Top of Page