MashZone NextGen 10.2 | Appendix | Administration | MashZone NextGen Server Administration | Deploying MashZone NextGen Instances, Clusters or Artifacts | Exporting Users, User Metadata and Groups
 
Exporting Users, User Metadata and Groups
Yyou can export all users, user groups, user group assignments and MashZone NextGen User Attributes from the MashZone NextGen Repository to an export file. You can then import this file to another MashZone NextGen Repository.
Important: If you have configured MashZone NextGen to work with your LDAP Directory, this command only exports MashZone NextGen User Attributes. Data for users, user groups and user group assignments resides in LDAP.
This command is available only in MashZone NextGen 3.2 or later.
1. If it is not running, start the MashZone NextGen Server for the MashZone NextGen Repository with the user groups that you wish to export. See Start and Stop the MashZone NextGen Server for instructions.
2. Open a command window and move to the MashZoneNG-install/prestocli/bin folder.
3. Enter this command:

padmin exportUsersRoles -f output-file [-l prestoURL]
-u username -w password [-v]
*-f output-file: is the path and name of the export file to hold the metadata.
*-l prestoUrl: is optional. Use this if the MashZone NextGen Server is remote or if it is not running in Tomcat on the default Tomcat port. If you omit this option, this defaults to http://localhost:8080/mashzone/edge/api.
*-u username: is the MashZone NextGen username to log in with. This account must have MashZone NextGen administrator permissions.
*-w password: is the MashZone NextGen password to log in with.
*-v: is an optional flag to turn on verbose logging.
All messages and errors from the export process are sent to the command window (stdout). Once the export command completes successfully, you can use the output file to import mashables or mashups to another MashZone NextGen Repository.

Copyright © 2013-2018 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release