# Manually run Extractions on your Cloud Environments

{% hint style="info" %}
If you are running Deploy 4+, we recommend you run extractions from the Deploy Dashboard instead of KUDU. For more information, see the [Deploy Dashboard](https://docs.umbraco.com/umbraco-cloud/build-and-customize-your-solution/handle-deployments-and-environments/deployment/deploy-dashboard) article.
{% endhint %}

When deploying from one environment to another, the files from the Git repository are merged into the files used on the site. The Deploy engine then runs an extraction. This means that the files on the disk will be deserialized into the database in the Cloud environment.

Run an extraction following these steps:

1. Access Kudu.
2. Navigate to **CMD** under the **Debug console** menu.
3. In the file structure, navigate to `site/wwwroot/umbraco/Deploy`.

{% hint style="info" %}
When using Umbraco 7 or 8, you need to navigate to `site/wwwroot/data` folder.
{% endhint %}

4. The `/Deploy` folder contains:
   * `Revision` folder containing all your project's UDA files.
   * `deploy-marker` indicating the state of the latest extraction (`deploy-complete` or `deploy-failed`).
   * `deploy.log` containing logs from the latest extraction.
5. While in this folder, type the following command in the CMD console: `echo > deploy`. This will initiate extraction of the environment.
6. While the extraction is running, the *deploy-marker* will change its name to `deploy-progress`.
7. The extraction will end in one of two possible outcomes:
   1. `deploy-complete`: The extraction succeeded and your environment is in good shape.
   2. `deploy-failed`: The extraction failed - open the file, to see the error message. The same error message will be shown on your environment in the Umbraco Cloud Portal.

![Run manual extraction](https://3739769070-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPzKn70Piyd2fd5UkYZGf%2Fuploads%2Fgit-blob-439755568e57397d58666ef5cfb2d0b350737ffa%2Fmanual-extraction-v9.gif?alt=media)

{% hint style="info" %}
Sometimes, you might encounter a deploy-marker called `deploy`. This usually means that extraction cannot run and you need to restart your environment for the extraction to run.
{% endhint %}

Sometimes, you might also need to run this extraction locally. This can be done using Command Prompt (CMD) to navigate to the `/umbraco/data` folder in your local project.

Find general information about Kudu and how to access the tool in the [Power tools](https://docs.umbraco.com/umbraco-cloud/optimize-and-maintain-your-site/monitor-and-troubleshoot/power-tools) article.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.umbraco.com/umbraco-cloud/optimize-and-maintain-your-site/monitor-and-troubleshoot/power-tools/manual-extractions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
