Command Reference

Command Reference

export

export

Exports selected objects to an XML file.
The export command uses the following syntax:
rpcmd export <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password <-ProjectName|-pn> project_name -ObjectName|-on <object_name1, object_name2, ... | file:file_name> -ObjectType|-ot <Object_type> -fn <file_name> [-IncludeAllDependencies|-iad <include_all_dependencies>] [-IncludeAdditionalExportOptions|-ixp <ixp>] [-Users|-us <user_name1, user_name2, ... | file:file_name>] <-FileName|-fn> file_name
The following table describes the
rpcmd
exportSelected options and arguments:
Option
Argument
Description
-URL
-u
url
URL of RulePoint design server instance to connect to run the command.
-UserName
-un
user_name
User name to connect to RulePoint Server.
-Password
-pd
password
Password of the user name to connect to the RulePoint Server.
-ProjectName
-pn
project_name
Name of RulePoint project from where you want to export selected objects.
-ObjectName
-on
object_name1, object_name2…
List of one or more RulePoint object names for which you want to run the command. You can provide the list of object names from a file.
-ObjectType
-ot
object_type
Type of object that you want to export. You can provide one of the following options: sources, responders, rules, topics, responses, analytics, watchlists, connections, or templates.
-Users
-us
user_name
The users in the system that you want to export.
-FileName
-fn
file_name
The XML filename to which you want to export the objects.
-IncludeAllDependencies
-iad
include_all_dependencies
To include all supporting objects, set iad value as true.
-IncludeAdditonalExportOptions
-ixp
include_export_options
Optional. Additional options for exporting data. You can use the following options:
  • includeACLs. Exports all ACLs.
  • includeInvalidObjects. Exports all ACLs invalid objects that are present in the system.
  • includeSystemConfiguration. export the system configuration information along with objects.

Example

For example, you can run the following command to export rules from the project "Banking" to the
Export_banking_Objects.xml
file.
./rpcmd.bat export -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn Banking -on "Rule to check for amount withdrawn that exceeds the limit,Rule to check for customers living in a city where health checkup is organized" -ot rules -fn Export_banking_Objects

0 COMMENTS

We’d like to hear from you!