code: def exportSite(self, location):
          
          params = {
              "location" : location,
              "f" : "json"
          }
          url = self._url + "/exportSite"
          return self._post(url=url, param_dict=params)
docs: This operation exports the portal site configuration to a location
          you specify.