code: @SuppressWarnings("deprecation")
      @RequestMapping(value = "/api/backup/profile/{profileIdentifier}/{clientUUID}", method = RequestMethod.GET)
      public
      @ResponseBody
      String getSingleProfileConfiguration(Model model, HttpServletResponse response,
                                           @PathVariable String profileIdentifier,
                                           @PathVariable String clientUUID,
                                           @RequestParam(value = "oldExport", defaultValue = "false") boolean oldExport) throws Exception {
          int profileID = ControllerUtils.convertProfileIdentifier(profileIdentifier);
          response.setContentType("application/json");
  
          ObjectMapper objectMapper = new ObjectMapper();
          ObjectWriter writer = objectMapper.writerWithDefaultPrettyPrinter();
  
          if (oldExport) {
              response.addHeader("Content-Disposition", "attachment; filename=Config_and_Profile_OLD.json");
          } else {
              response.addHeader("Content-Disposition", "attachment; filename=Config_and_Profile_Backup.json");
          }
          ConfigAndProfileBackup configAndProfileBackup = BackupService.getInstance().
              getConfigAndProfileData(profileID, clientUUID);
          return writer.withView(ViewFilters.Default.class).writeValueAsString(configAndProfileBackup);
      }
docs: API call to backup active overides and active server group for a client
  Also backs up entire odo configuration
  
  @param model
  @param response
  @param profileIdentifier Id of profile to backup
  @param clientUUID Client Id to backup
  @param oldExport Flag if this is exporting old configuration on a new import, used to change name of file
  @return
  @throws Exception