> For the complete documentation index, see [llms.txt](https://docs.supervisely.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.supervisely.com/enterprise-edition/advanced-tuning/moving.md).

# 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.supervisely.com/enterprise-edition/advanced-tuning/moving.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
