Skip to content

Migrate from CyberPanel

Overview

The migration tool allows you to transfer websites and databases from your CyberPanel server to your FlashPanel server automatically. This process copies all website files, database content, and configurations without manual intervention.

Prerequisites

Before starting the migration, ensure:

  • You have at least one server added to FlashPanel
  • Your target server has a web server (Nginx, Apache2, or OpenLiteSpeed) installed if you plan to migrate websites
  • Your target server has a database server (MySQL or MariaDB) installed if you plan to migrate databases
  • You have SSH access credentials for your CyberPanel server

How to Migrate

Step 1: Select Target Server

  1. Navigate to the migration page from the servers list
  2. In the Select Target Server step, choose the FlashPanel server where you want to migrate your websites and databases
  3. Click Next to proceed

INFO

The target server is where your websites and databases will be migrated to. Make sure it has sufficient resources and the required services installed.

Step 2: SSH Connection

  1. Enter your CyberPanel server connection details:
    • SSH Host: The IP address or hostname of your CyberPanel server
    • SSH Port: Usually 22
    • SSH Username: Your server login username (typically root)
    • Authentication Method: Choose either:
      • SSH Password: Enter your server password
      • SSH Private Key: Paste your SSH private key
    • Use sudo: Enable this if your user requires sudo privileges
  2. Click Scan to connect and scan your CyberPanel server

The system will automatically discover all websites and databases available on your CyberPanel server.

Step 3: Preview & Confirm

After scanning, you will see:

Websites Section

  • A list of all websites found on your CyberPanel server
  • Each website shows:
    • Domain name
    • Number of associated databases
    • Status indicator if the website already exists on the target server
  • Use Select All or Deselect All to quickly manage your selection
  • Websites that already exist on the target server are automatically disabled and marked with an "Already Exists" badge

WARNING

If your target server does not have a web server installed, you cannot select websites for migration. Install Nginx, Apache2, or OpenLiteSpeed first.

Databases Section

  • A list of all databases found on your CyberPanel server
  • Each database shows:
    • Database name
    • Database user
    • Associated website
    • Status indicator if the database already exists on the target server
  • Use Select All or Deselect All to quickly manage your selection
  • Databases that already exist will be replaced during migration (marked with "Will be replaced")

WARNING

If your target server does not have a database server installed, you cannot select databases for migration. Install MySQL or MariaDB first.

Confirmation

  • The total number of items to migrate is displayed at the bottom
  • Review your selections carefully
  • Click Confirm Migration to start the process

WARNING

If you select databases that already exist, they will be dropped and recreated during migration. Make sure you have backups if needed.

Step 4: Migration Progress

Once migration starts, the progress screen displays:

  • Migration Summary: Shows the source (CyberPanel) and target (FlashPanel) server names
  • Progress Bars: Each website and database has its own progress bar showing:
    • Current status (Pending, In Progress, Completed, Failed)
    • Percentage complete
    • Current operation message
  • Logs: Real-time log messages showing detailed migration steps

You can monitor the progress in real-time. The migration process includes:

  1. Website Migration:

    • Copying website files from CyberPanel to FlashPanel
    • Creating the website on FlashPanel
    • Syncing web server configuration
  2. Database Migration:

    • Exporting database from CyberPanel
    • Creating database and user on FlashPanel
    • Importing database content
    • Linking database to website (if applicable)

Notes & Warnings

  • Website Conflicts: If a website with the same domain already exists on the target server, it cannot be migrated. You must remove the existing website first or choose a different target server.

  • Database Replacement: Existing databases with the same name will be dropped and recreated. All data in the existing database will be lost.

  • Service Requirements:

    • Websites require a web server (Nginx, Apache2, or OpenLiteSpeed) on the target server
    • Databases require a database server (MySQL or MariaDB) on the target server
  • SSH Access: Ensure your CyberPanel server allows SSH connections from your FlashPanel server's IP address.

  • Migration Time: The time required depends on the size of your websites and databases. Large migrations may take several minutes.

  • No Downtime: The migration process does not affect your CyberPanel server. Your websites remain online during migration.