Author Topic: need help cwp-->cwp  (Read 2953 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
need help cwp-->cwp
« on: August 30, 2022, 04:04:42 AM »
hello

already try with API ..result failed
all config is correct
ssh using custom port...same port number both side
firewall off
behind nat but have public ip
try manual ssh from new-server to root@old-server -p 00 (custom port_00 only example)...using ip ..result success
json and key are correct
permit root login = yes
....

and i try to backup using new backup beta
i got the file
then i put on new-server newbackup-full-manual-account
restore using restore new-backup-beta
result success
but the email not complete
some of email are dissapear... (check and compare from mail explorer )
account hosting credential success
email credential success
...

any solution ?

need help to migrate my first hosting customer from old vps (disk r/w only 56MB) to new server with disk speed 200++

already try for a week :( without any result
if i do with old-style using copy mail.. i need to reset the mail password and that will make my customer angry

please help

Offline
*****
Re: need help cwp-->cwp
« Reply #1 on: August 31, 2022, 01:03:38 PM »
Make sure to put the ssh key in the authorized list on the origin server.


Offline
***
Re: need help cwp-->cwp
« Reply #2 on: August 31, 2022, 03:48:12 PM »
Make sure to put the ssh key in the authorized list on the origin server.


tested with cli success
https://i.vgy.me/Rr9aPl.png
but still cannot use cwp-cwp

Offline
*****
Re: need help cwp-->cwp
« Reply #3 on: September 09, 2022, 03:35:56 PM »
It seems you have set an incorrect SSH login data in CWP.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services

Offline
****
Re: need help cwp-->cwp
« Reply #4 on: March 03, 2023, 05:26:56 AM »
I am going to duplicate post this solution here, in case it helps someone searching for the answer.

In order to succeed at a CWP->CWP migration, you have to stand on your head, pat your belly, and rub your feet at the same time in order to make this work. Actually, I just had the opportunity to do a CWP -> CWP migration, so here was my solution:
Disable the firewall (CSF & LDF) on both origin and receiving servers.
On both servers, reset the r00t password to be 8 characters or fewer.
In
Code: [Select]
/etc/ssh/sshd_config set:
Code: [Select]
PermitRootLogin yes
StrictModes no
Restart sshd:
Code: [Select]
service sshd restartOn the source server, set up the API key (CWP Settings > API Manager) for CWP Migration using the default CWP template.
On the receiving server, use the interface in User Accounts > CWP->CWP Migration.
After successfully migrating the accounts, revert all changes to your SSH configuration, restart sshd, reset the r00t passphrase to strong ones, and re-enable the firewalls.