# Migrating MikoPBX to Another Server

There are several ways to transfer MikoPBX to a different host (server). Each method has its advantages and special considerations. Below is a brief overview of each option, and you can refer to the detailed guides in this section.

## Option #1: Transfer Using Backup

**Description:**

A backup of the current MikoPBX configuration is created and then uploaded to the new server. This method is suitable for smaller amounts of data.

**Pros:**

* Easy to set up.
* Allows you to preserve the current configuration.

**Considerations:**

* May be less reliable for large amounts of data.
* Requires intermediate storage for the backup (e.g., local disk or cloud).

{% content-ref url="/pages/d97cPMGomFo6ub9xCC9E" %}
[Transfer Using Backup](/mikopbx/english/faq/setup/change-host/transfer-using-backup.md)
{% endcontent-ref %}

***

## Option #2: Transfer Using SFTP and Scheduled Backups

**Description:**

A backup is automatically created and saved directly to the target server via the SFTP protocol. This method is especially effective for large amounts of data.

**Pros:**

* Suitable for large amounts of data.
* Minimizes manual actions.
* Provides direct data transfer between servers.

**Considerations:**

* Requires SFTP configuration on both servers.
* Needs correct SSH user settings for proper operation.

{% content-ref url="/pages/ADUtQCSuwWwe1JRC6Yk2" %}
[Transfer using scheduled backup (SFTP)](/mikopbx/english/faq/setup/change-host/transfer-using-scheduled-backup.md)
{% endcontent-ref %}

***

## Option #3: Transfer Using rsync

**Description:**

The `rsync` command is used to directly synchronize data between the old and new servers. This method is convenient for experienced users.

**Pros:**

* Fast synchronization, even for large data volumes.
* Preserves access rights and directory structure.
* Does not require creating intermediate backups.

**Considerations:**

* Requires basic command-line knowledge.
* Possible errors if configurations (e.g., paths) are incorrect.
* Both servers must be accessible on the network at the same time.

{% content-ref url="/pages/M1rEknI5FAsZbKC9v6pZ" %}
[Transfer using rsync](/mikopbx/english/faq/setup/change-host/transfer-using-rsync.md)
{% endcontent-ref %}

***


---

# 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.mikopbx.com/mikopbx/english/faq/setup/change-host.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.
