code: public void export() {
          logger.info("----------------------------"); //$NON-NLS-1$
          logger.info(Messages.i18n.format("StorageExporter.StartingExport")); //$NON-NLS-1$
          try {
              storage.beginTx();
              try {
                  exportMetadata();
                  exportUsers();
                  exportGateways();
                  exportPlugins();
                  exportRoles();
                  exportPolicyDefs();
  
                  exportOrgs();
              } finally {
                  storage.rollbackTx();
                  try { writer.close(); } catch (Exception e) { }
              }
              logger.info(Messages.i18n.format("StorageExporter.ExportComplete")); //$NON-NLS-1$
              logger.info("------------------------------------------"); //$NON-NLS-1$
          } catch (StorageException e) {
              throw new RuntimeException(e);
          }
      }
docs: Called begin the export process.