---
title: Move to another server
project: OpenMail
version: 1.0
section: recipes
language: en
license: MIT
url: https://totaljs.es/docs/openmail/1-0/recipes/move-installation/
updated: 2026-11-19T07:58:08.081Z
---

# Move to another server

> Move OpenMail with all profiles, templates, tokens and logs to a new server.

To move OpenMail with everything in it, copy the `databases` folder. Your apps keep their tokens and template identifiers.

## Steps

**1.** On the new server, [install OpenMail](../../guides/install-source/) and do not start it yet.

**2.** On the old server, stop OpenMail.

**3.** Copy the `databases` folder from the old app folder into the new app folder, for example:

```bash
scp -r databases user@new-server.example.com:/srv/openmail/
```

**4.** Start OpenMail on the new server:

```bash
node index.js 8000 --release
```

**5.** Open the admin interface with your primary access token and click **Test** in every profile to check that the new server can reach your SMTP servers.

**6.** Point your apps, or your DNS name, at the new server.

## Images in templates

Images uploaded in the template editor are in `databases/fs-files`, so they move too. Their links in your templates contain the old address. If the address changes, upload the images again or change the links in the templates.

## Only some profiles

To copy single profiles or templates instead, use [Import and export](../../guides/import-export/).
