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

Hey,

 

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).

 

https://bugs.internet2.edu/jira/browse/GRP-475

 

https://spaces.internet2.edu/display/GrouperWG/Import-Export

 

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

Usage:

args: -h,            Prints this message

args:

      [-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.

Chris



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

Archive powered by MHonArc 2.6.16.

Top of Page