How to import cPanel backup to myVesta server

Post Reply
User avatar
myVesta
Site Admin
Posts: 949
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 9 times
Been thanked: 6 times

Login to cPanel.
Click on "Backup" icon.
img_5f22ab92066ac.png
img_5f22ab92066ac.png (23.85 KiB)
next:
img_5f22ade7eb568.png
img_5f22ade7eb568.png (10.2 KiB)
next:
img_5f22ae4715460.png
img_5f22ae4715460.png (17.56 KiB)
next:
img_5f22ae8d00df8.png
img_5f22ae8d00df8.png (11.45 KiB)
next:
img_5f22af180b6bf.png
img_5f22af180b6bf.png (11.18 KiB)
As long as you see it [inprogress] it means the backup is still being generated.

Refresh that page every ten minutes or so to see if it's finished.

When it's done, you'll get a link on the same page:
img_5f22b03e46f9b-e1596108930594.png
img_5f22b03e46f9b-e1596108930594.png (17.09 KiB)
Click on the link and download the file, save it to your computer.

Upload the file to your server.
img_5f22c06ad718a.png
img_5f22c06ad718a.png (14.68 KiB)
Login to SSH as root.
Execute:

Code: Select all

v-import-cpanel-backup ./backup-7.30.2020_06-26-20_usernameNaloga.tar.gz
That command will import cPanel backup to your server.
img_5f22c3f408a2d.png
img_5f22c3f408a2d.png (47.4 KiB)
Finally do what it says in the last line to see the new mail passwords.

Code: Select all

cat /root/sk_mail_password_usernameOfAccount-1596113314
img_5f22c7ef72f26.png
img_5f22c7ef72f26.png (9.32 KiB)
In myVesta panel you will see new account:
Screenshot_33.png
Screenshot_33.png (13.73 KiB)
After this, all you have to do is set up your DNS Nameservers for your domains (you can find them in the myVesta hosting panel, in the right corner in the block where the account information is).

After changing the DNS, you will probably need to install the LetsEncrypt SSL certificate on the imported domains.

-------------------

Special thanks to Maks Usmanov - Skamasle for this wonderful script!

Tags:
Post Reply