code: public JSONObject exportConfigurationAndProfile(String oldExport) {
          try {
              BasicNameValuePair[] params = {
                  new BasicNameValuePair("oldExport", oldExport)
              };
              String url = BASE_BACKUP_PROFILE + "/" + uriEncode(this._profileName) + "/" + this._clientId;
              return new JSONObject(doGet(url, new BasicNameValuePair[]{}));
          } catch (Exception e) {
              return new JSONObject();
          }
      }
docs: Export the odo overrides setup and odo configuration
  
  @param oldExport Whether this is a backup from scratch or backing up because user will upload after (matches API)
  @return The odo configuration and overrides in JSON format, can be written to a file after