Restore cPanel backup to CWP via SSH

Started by skyknight, August 21, 2019, 04:18:12 AM

Previous topic - Next topic

skyknight

Hi,

How can i restore cpanel backup on CWP using SSH command? (not from web admin)

Thank You

evansa

This will involve

Manually copying the files to the server.you can use scp to copy the compressed file.
take backup of DB and restore on new server.


fretelweb

I create my own script

1. pkgacct $user (use a for o while to backup all accounts)
2. scp /home/*.gz root@newserverip:/home
3. rm -rf /home/*.gz

and then in the CWP start restoring one by one and check if everythings is OK

hope there will be a command like cpanel in CWP to restore and backup accounts.

Sandeep

soon there will be improved backup and restore.

PiotrE

Dear  Sandeep, can You tell when we can expect workig cpanel to CWP migration proces. Its at uttermost import ant for all wanting to migrate from cpanel. And no its the Best Time as many cpanel users looking to escape from cpanel completely.

Sandeep

you can try our new updated module with bugs fix :P

PiotrE

Is there any update to migration module :o
Wow, I am checking now!!

PiotrE

SanDeep,
still no go. Ive migrated cpanel accounts (two account) by using cPanel server migration and by moving cpmove file.
In all cases passwords for email- accounts are wrong - they are not converted properly.

This is really strange - There is working script "1-cpanel-data-export.sh" (https://wiki.centos-webpanel.com/cpanel-to-cwp-server-convert) and it provide correct passwords which can be paste into database table. Theres 99% of work ready done! Please check why those correct values are not stored correctly in msqldatabase in Postfix/mailbox table.

Sandeep