code: protected void exportProjects(Element parent) throws CmsImportExportException, SAXException {
  
          try {
              I_CmsReport report = getReport();
              List<CmsProject> allProjects = OpenCms.getOrgUnitManager().getAllManageableProjects(getCms(), "", true);
              for (int i = 0; i < allProjects.size(); i++) {
                  CmsProject project = allProjects.get(i);
                  report.print(
                      org.opencms.report.Messages.get().container(
                          org.opencms.report.Messages.RPT_SUCCESSION_2,
                          String.valueOf(i + 1),
                          String.valueOf(allProjects.size())),
                      I_CmsReport.FORMAT_NOTE);
                  report.print(Messages.get().container(Messages.RPT_EXPORT_PROJECT_0), I_CmsReport.FORMAT_NOTE);
                  report.print(
                      org.opencms.report.Messages.get().container(
                          org.opencms.report.Messages.RPT_ARGUMENT_1,
                          project.getName()));
  
                  exportProject(parent, project);
  
                  report.print(org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_DOTS_0));
                  report.println(
                      org.opencms.report.Messages.get().container(org.opencms.report.Messages.RPT_OK_0),
                      I_CmsReport.FORMAT_OK);
              }
          } catch (CmsImportExportException e) {
              throw e;
          } catch (CmsException e) {
              if (LOG.isDebugEnabled()) {
                  LOG.debug(e.getLocalizedMessage(), e);
              }
              throw new CmsImportExportException(e.getMessageContainer(), e);
          }
      }
docs: Exports all projects with all data.<p>
  
  @param parent the parent node to add the projects to
  
  @throws CmsImportExportException if something goes wrong
  @throws SAXException if something goes wrong processing the manifest.xml