Control Web Panel
WebPanel => Information => Topic started by: PakPos 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
-
Make sure to put the ssh key in the authorized list on the origin server.
-
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
-
It seems you have set an incorrect SSH login data in CWP.
-
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 /etc/ssh/sshd_config
set:
PermitRootLogin yes
StrictModes no
Restart sshd:
service sshd restart
On 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.