Appearance
Database migration from v1 to v2
WARNING
This software is provided for free with no gaurantee of working with other panel. This migration script only move the following tables and their colums to v2 database only.
Users, Packages, Orders, Servers, Zones and settings table
Download the script from github and extract to your XMPlus v1 server
bash
cd /root \
wget --no-check-certificate https://github.com/XMPlusDev/XMPlusv2/releases/download/migration/Migrate.zip \
unzip Migrate \
rm -rf Migrate.zip
Install composer
bash
cd /root/Migrate
php composer.phar install -n
Create a new database and import xmplus.sql to the new database. /root/Migrate/xmplus.sql
Edit config.php
Fill in the database details for your current v1 and v2 /root/Migrate/config.php
Migration Commands
WARNING
Migration must be perform in the order blow. Do not change order. Run the commands in /root/Migrate directory
Migrate users
bash
php console migrate:user
Migrate packages
bash
php console migrate:package
Migrate servers
bash
php console migrate:server
Migrate settings
bash
php console migrate:settings
Login your database
Go to the v2 new databse and in user table find your admin account.
Set role
and user_group
to 1
Export the v2 full database and use it as your XMPlus v2 database
Done