Exporting Data

About Exporting Data

This section provides information about exporting data in XML format. You can export data in XML format.

  • In Windows, type the command
    xmlexport.bat -f <filename and path> -ds <dbservice> -c <class name> <options> at the command prompt.

  • In UNIX, type the command
    xmlexport.sh -f <filename and path> -ds <dbservice> -c <class name> <options> at the command prompt.

This table  lists the details of XML export command for Windowsand UNIX:

<filename and path>

Is the name of the file and the extension that will contain the exported data, and the location for saving the data file. For example, C:\shippingdata\Part.xml to create an xml file. or
C:\shippingdata\Part.xar to create an archive file.

<database label>

Is the name of the database from which the data is exported.

<class label >

Is the label of the class whose properties and other related information is exported.

<options>

Indicates the other command-line utilities that can be added to the command line. For details, see Command Line Options for XML Export.

Command Line Options for XML Export

This table describes the command line options for XML format:

-d

Export data.

-m

Export model data.

-a

Export the system administration data, which includes patterns, organizer items, configurations, and user and group permissions.

-l

Logs statements into a stat file.

-ei

Specify that the exported data is available for an insert operation.

-eu

Specify that the exported data is available for an update operation.

-eiu

Specify that the exported data is available for an insert or update operation.

-ed

Specify that the exported data is available for a delete operation.

-sf

Create a status file. You can view the status of the process. .stat extension is added to the file that is created by default.

-ef

Create an error file. You can view the messages that occurred during the processing of the instructions. .err extension is added to the file that is created by default.

-w

Specify the number of parallel processes that should occur during the export of data. Default value is 1

-cf

Specify the location of the dbload .cfg file. Default value is False.
Use this option if the configuration file is not present in the default admin/configs directory of the installation.

-xp

Export item level permission.

-xh

Export hidden properties.

-xm

Exports metadata when exporting model.

-t

Specify the Target DB vendor.

-xal

All Locale Export.

-u

Specify the User Name and Password.