# Moving to a new server

{% hint style="success" %}
You can move to a new server at any time and your license will be automatically reset without requiring contacting us or opening a support request.
{% endhint %}

First, shut down the platform on the old server:

```
docker compose down
```

Create an archive file of your installation directory:

```
tar -cf edcom-backup.tar edcom-install/
```

Copy the archive file to the new server.&#x20;

```
scp edcom-backup.tar 1.2.3.4:/root
```

**\*\*\* Note:** You must use the real IP address of your Linux VPS above, not "1.2.3.4", it's a placeholder.&#x20;

Extract the tar file on the new server:

```
tar xvf edcom-backup.tar 
```

You'll need to install Docker on the new server.&#x20;

If you're on Ubuntu, you can run our automated Docker installation, like you did during the installation on your old server:

```
cd edcom-install
```

```
./install_docker_on_ubuntu.sh
```

Set the IP address of the new server:

```
nano config/edcom.env
```

Load the docker images:

```
./load_images.sh
```

Bring the platform up:

```
./restart.sh
```

That's it.&#x20;


---

# 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.emaildelivery.com/docs/post-installation/moving-to-a-new-server.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.
