Author Topic: Restore cPanel backup to CWP via SSH  (Read 3224 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Restore cPanel backup to CWP via SSH
« on: August 21, 2019, 04:18:12 AM »
Hi,

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

Thank You

Offline
*****
Re: Restore cPanel backup to CWP via SSH
« Reply #1 on: August 22, 2019, 09:35:35 PM »
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.

Offline
*
Re: Restore cPanel backup to CWP via SSH
« Reply #2 on: August 24, 2019, 03:18:50 AM »
too much step to do.

Offline
*
Re: Restore cPanel backup to CWP via SSH
« Reply #3 on: February 14, 2020, 08:55:22 PM »
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.

Offline
*****
Re: Restore cPanel backup to CWP via SSH
« Reply #4 on: February 15, 2020, 02:18:41 PM »
soon there will be improved backup and restore.