X
X

 

Backup Transfer without cPanel License (SSH)

 

When your cPanel license expires, access to cPanel is gone. You can take your backups with SSH and transfer them to your new server.

 

First, log in to the terminal of our old server and type the following command.

 

for i in $(ls /var/cpanel/users); do /scripts/pkgacct $i;done

 

After writing the relevant code, tar.gz backups of all sites will be created in the /home directory, we take these backups and transfer them to our new server in the /home directory, connect to the terminal and write the following codes in order.

 

cd /home

 

for x in $(ls -A *.tar.gz | cut -d "-" -f 2 | cut -d "." -f 1); do /scripts/restorepkg $x; done

 

When you enter the codes above, the backups of all hosting accounts will be uploaded in order.

Powered by WISECP
Giriş Yap Kayıt Ol
Top