When you use a VPS with the CyberPanel control panel and plan to switch servers, you might wonder how to easily migrate from one CyberPanel instance to another.
Fortunately, CyberPanel comes equipped with remote backup, and you can use this feature to migrate your websites to a new server without having to download files manually.
Preparation
Before you migrate your CyberPanel to a new server that also uses CyberPanel, you need to complete the following preparations:
- Old server is active and running CyberPanel version 1.5 or higher
- New server is active and running CyberPanel version 1.5 or higher
- Both servers use port 22 for SSH access
- Sufficient disk space on both the old and new servers
- CyberPanel admin login details for the old server (IP and password), not the root SSH login details
If you have met these criteria, you can proceed to the steps for migrating CyberPanel from the old server to the new one.
How to Migrate CyberPanel to CyberPanel
In this process, you do not need to use commands, code, or anything else, so it is highly likely you can complete this process if you have met all the prerequisites above.
[the_ad id=”3331″]
1. Enable API Access
The first thing you need to do is enable API Access on both the old and new servers.
You can open the menu Users → API Access from the CyberPanel dashboard page
Select the user you will use, for example the admin user, and set access to Enable, then click the button Save Changes to apply the changes.
2. Open Remote Backup
After both servers have enabled API Access, you can then open the page Remote Backups located in the menu Backup → Remote Backups on the new server to continue the migration process
3. Retrieve Old Server Data
To retrieve data from the old server, you can enter the old server IP address and admin password on the Remote Backup page, then click the button Fetch Accounts
[the_ad id=”3331″]
4. Select Website and Start CyberPanel Migration
After the data on the old server is successfully found, you can select which website you want to migrate, and once selected, you can click the button Start Transfer to begin the CyberPanel migration process.
5. Wait for the Transfer Process
Now you just need to wait for the data transfer process after clicking the button Start Transfer. This process takes a variable amount of time depending on the size of your website and your server speed.
[the_ad id=”3331″]
6. Done, You Have Successfully Migrated CyberPanel
Now the CyberPanel migration process is complete, and you can check the list of websites on your new server via the menu Websites → List Websites.
If you have not pointed your domain IP to the new server, make sure to update your DNS immediately so that your website points to the new server.
COMMENTS
Loading...