Presto Administration : Presto Server Administration : Deploying Presto Instances, Clusters or Artifacts : Exporting Presto Global Attributes
Exporting Presto Global Attributes
You can export metadata for all global Presto Attributes from the Presto Repository to an export file. You can then import this file to another Presto Repository.
Note:  
This command is available only in Presto 3.2 or later.
1. If it is not running, start the Presto Server for the Presto Repository with the global Presto attributes that you wish to export. See Start and Stop the Presto Server for instructions.
2. Open a command window and move to the presto-install/prestocli/bin folder.
3. Enter this command:

padmin exportGlobalAttribs -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 Presto 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/presto/edge/api.
*-u username: is the Presto username to log in with. This account must have Presto administrator permissions.
*-w password: is the Presto 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 Presto Repository.
Copyright © 2013-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback