> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-trino-dialect.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Pausing and resuming a MongoDB ClickPipe

> Pausing and resuming a MongoDB ClickPipe

export const Image = ({img, alt, size = "lg", background}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  const backgroundColor = background === "white" ? "white" : background === "black" ? "rgb(31 31 28)" : undefined;
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} style={{
    backgroundColor
  }} />
      </Frame>
    </div>;
};

There are scenarios where it would be useful to pause a MongoDB ClickPipe. For example, you may want to run some analytics on existing data in a static state. Or, you might be performing upgrades on MongoDB. Here is how you can pause and resume a MongoDB ClickPipe.

<h2 id="pause-clickpipe-steps">
  Steps to pause a MongoDB ClickPipe
</h2>

1. In the Data Sources tab, click on the MongoDB ClickPipe you wish to pause.
2. Head over to the **Settings** tab.
3. Click on the **Pause** button.

<Image img="https://mintcdn.com/private-7c7dfe99-trino-dialect/ZEyvJTCdFXKmprnu/images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp?fit=max&auto=format&n=ZEyvJTCdFXKmprnu&q=85&s=aa7b60366baf9783d63fc5f530e1d718" border size="md" width="769" height="217" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_button.webp" />

4. A dialog box should appear for confirmation. Click on Pause again.

<Image img="https://mintcdn.com/private-7c7dfe99-trino-dialect/ZEyvJTCdFXKmprnu/images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp?fit=max&auto=format&n=ZEyvJTCdFXKmprnu&q=85&s=fbb145379e0f7328d5b13750fa26ed29" border size="md" width="768" height="288" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_dialog.webp" />

4. Head over to the **Metrics** tab.
5. Wait for the status of the pipe to be **Paused**.

<Image img="https://mintcdn.com/private-7c7dfe99-trino-dialect/ZEyvJTCdFXKmprnu/images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp?fit=max&auto=format&n=ZEyvJTCdFXKmprnu&q=85&s=5672bf63d71ccd6a921d0559b95d42a5" border size="md" width="1437" height="256" data-path="images/integrations/data-ingestion/clickpipes/postgres/pause_status.webp" />

<h2 id="resume-clickpipe-steps">
  Steps to resume a MongoDB ClickPipe
</h2>

1. In the Data Sources tab, click on the MongoDB ClickPipe you wish to resume. The status of the mirror should be **Paused** initially.
2. Head over to the **Settings** tab.
3. Click on the **Resume** button.

<Image img="https://mintcdn.com/private-7c7dfe99-trino-dialect/ZEyvJTCdFXKmprnu/images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp?fit=max&auto=format&n=ZEyvJTCdFXKmprnu&q=85&s=4009f873c5d0dff3b18a10b96e278aee" border size="md" width="1258" height="202" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_button.webp" />

4. A dialog box should appear for confirmation. Click on Resume again.

<Image img="https://mintcdn.com/private-7c7dfe99-trino-dialect/ZEyvJTCdFXKmprnu/images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp?fit=max&auto=format&n=ZEyvJTCdFXKmprnu&q=85&s=06cfe812068e31e9b2089056758b4820" border size="md" width="879" height="365" data-path="images/integrations/data-ingestion/clickpipes/postgres/resume_dialog.webp" />

5. Head over to the **Metrics** tab.
6. Wait for the status of the pipe to be **Running**.
