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

0 Members and 1 Guest are viewing this topic.

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

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

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.

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
but still cannot use cwp-cwp

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
Join our Development Team and get paid !

Installation Instructions
Get Fast Support Here

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.
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.