How Can We Help?
< All Docs
Print

How to migrate accounts from CWP to CWP

Table of Content
How to migrate accounts from CWP to CWP

Introduction

In this article, you will learn how to migrate accounts from CWP to CWP.

what is cwp?

Control Web Panel – an AI powered Free Web Hosting control panel designed for quick and easy management of (Dedicated & VPS) as well as offering an intuitive and modern interface for users, as a web hosting panel.

SOURCE SERVER

  1.  Go to “CWP Settings” > "API Manager” in the left menu.

  1. Generate and save the new API key by using the green button “Allow New Api Access”

IP origin: IP destination

Click on Generate code

Format request: JSON

Enable function for: CWP to CWP Migration, then click on Create

  1. Go to Dashboard > Firewall and whitelist the Source IP and Destination IP

Under Whitelist Configuration, Click on Add an entry: Source IP and DestinationIP

  1. Search SSH Key Generator in the left search box, click on Generate an SSH key, from the Server “Settings” module -> “SSH Key Generator

Generate new key and Add a Public key to authorized

DESTINATION SERVER

  1. Login to CWP of destination server

2. Go in firewall then whitelisted the Source IP and Destination IP

3. Generate an SSH key, from the Server “Settings” module -> “SSH Key Generator”

4. Generate new key and Add a Public key to authorized

5. Login destination server via putty, then

ssh-copy-id root@x.x.x.x > source IP

Password:yxyxyxyx

6. User accounts> CWP->CWP migration

Server IP: source IP

7. Api Key cPanel: Paste key which is generated in source server
Maximum simultaneous transfers: according to you select maximum number of accounts transfer

Test and save

8. Click on the authentication method,and select what you want to migrate

9. And start migration

NOTE: you can check the migration log with the following command

# *tail -f /var/log/cwp/account_transfer.log*-

Conclusion

Hopefully, you have learned how to migrate accounts from CWP to CWP.

Thank You 🙂

Table of Contents