exports the data from a database to a local XML file with the specified name.
Query is an optional SQL query that can be used to specify the name of the table to export, or specify an SQL SELECT statement to restrict the data that is exported.
Data is exported using the current Template. If no template is defined, the entire dataset is exported in a default format.