Import cPanel backup in vestacp
v-import-cpanel-v2 is a copy of https://github.com/hestiacp/hestiacp/blob/main/bin/v-import-cpanel Make some changes for testing, then make some pull request in oficial repo
Check CHANGELOG
v-import-cpanel-v2 backup.tar.gz
v-import-cpanel-v2 backup.tar.gz ALL
v-import-cpanel-v2 backup.tar.gz DOMAIN
v-import-cpanel-v2 backup.tar.gz MAIL
v-import-cpanel-v2 backup.tar.gz DB
#Import even if the user exists on the server
v-import-cpanel-v2 backup.tar.gz ALL NO-CHECK-USER
#Change destination user ( BETA ) if cpanel account have any user ex: admin and you want restore it in admin2 or any other format is: RESTORE-IN-USER=user )
v-import-cpanel-v2 backup.tar.gz ALL RESTORE-IN-USER=admin2
Import backups from Centos Web Panel
CHECK CHANGELOG-CWP
v-import-cwp bacackup.tar.gz
#If you not have databases we cant get user from backup, we need a user
v-import-cwp bacackup.tar.gz NEW_USER
Import cPanel backup in vestacp
Beta 0.5.3
Beta 0.5
Beta 0.4
Beta 0.3.6
Beta 0.3.5
RUN:
bash sk-cpanel-importer-05.sh cpanel-backup.tar.gz
or
bash sk-cpanel-importer-05.sh cpanel-backup.tar.gz MX
Second option will restore your MX, this help people who use google apps, office 365 or remote mail system