Migration to a New Server
This tutorial shows how to migrate Monsta from version >5.0 to another server.
Minimum requirements
Section titled “Minimum requirements”Minimum requirements for migrating Monsta:
| Item | Minimum Requirement |
|---|---|
![]() | Disk space • 40GB free for /var (configurations, database and logs)• 300MB free for /opt/monsta (programs and libraries)Make sure the new installation has enough space to perform the migration. |
![]() | RAM • 2GB of RAM |
![]() | Operating System • 64-bit Linux • Recommended Linux OS: Fedora Server 40 (x86_64 systems) or Ubuntu Server 24 A minimal installation can be used for Monsta. |
![]() | Processor • Cores: 2 • Speed: 1.8GHz |
Migration script
Section titled “Migration script”Log in to your new server as root and download the migration script as in the example below:
Fedora/Red-Hat/Ubuntu/Debian
Section titled “Fedora/Red-Hat/Ubuntu/Debian”yum install -y wget || apt-get install -y wgetwget https://www.monsta.com.br/monsta/download/migrate.shchmod +x migrate.shStarting the transfer
Section titled “Starting the transfer”After downloading the script, execute it with the following syntax:
./migrate.shBefore starting the migration and installation process, the script will ask for SSH access information to the source server: IP address/hostname, connection port and a user with root privileges.
These details are necessary to establish a secure remote connection between environments. From that access, the script will stop services on the old server, transfer the complete structure of files, logs and databases preserving file permissions, and register and start Monsta services on the new server.



