# Moving Instance

One of the most frequently asked questions is how to move an existing Supervisely instance from one machine/cloud to another machine/cloud? It's actually very easy.

## Step 1. Find where your Supervisely data and configuration is located

First, we need to transfer data and configuration files to the new machine. Run the following commands:

* `sudo supervisely where` - where your instance configuration is at
* `sudo supervisely where config` - where your cli configuration is at
* `sudo supervisely where data` - where your data is at

## Step 2. Stop the original server

Run `sudo supervisely stop` on the first machine to stop the original instance. You can run it back again via `sudo supervisely up -d` after completing this manual.

## Step 3. Transfer files to the new server

Create the same folders on the new server and copy contents. For example, your command to move data could look like this:

```bash
rsync -azP /opt/supervisely new_server:/opt/supervisely
# rsync -azP /opt/supervisely/config new_server:/opt/supervisely/config
# rsync -azP /opt/supervisely/data new_server:/opt/supervisely/data
```

## Step 4. Install Supervisely on a new machine

Install `supervisely-cli`, run `sudo sueprvisely install-all` and run `supervisely init`. Your license has already been copied on the previous step - just wait a bit for the installation to complete and you are good to go!


---

# 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.supervisely.com/enterprise-edition/advanced-tuning/moving.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.
