Yesterday we talked about exporting data using the Views data export module.
Drupal 7 – Export view data CSV, XML, XLS by Views data export module
The module also provides a Drush command such that you can run the export command in the server which is convenient for backend integration.
The following command is stated in the project page.
- drush views-data-export [view-name] [display-id] [output-file]