Hello 2 months back I successfully restored a cpanel backup for testing but didmt actually transfer the domain because my servers were in development mode.
Now i have some clients already and some with cpanel i am trying to move here
I used v restore cpanel script but it gives me errors
ERROR:
root@hcp:/usr/local/hestia/bin# v-import-cpanel /backup/cpanel-backup.tar.gz yes
Checking provided file…
OK - Gziped File
Extracting backup…
Backup extracted without errors…
/usr/local/hestia/bin/v-import-cpanel: line 87: cd: too many arguments
Get prefix…
cat: meta/dbprefix: No such file or directory
Access tmp directory /usr/local/hestia/bin
cat: meta/dbprefix: No such file or directory
/usr/local/hestia/bin/v-import-cpanel: line 95: [: =: unary operator expected
grep: userdata/main: No such file or directory
grep: userdata/: No such file or directory
Get User:
Error: user exists
root@hcp:/usr/local/hestia/bin#
I have tried both full backup and home directory backup.
Can anyone help me troubleshoot this please.
I also noticed back in the day the install script was a bit different there was mysql yes and no its mariadb yes my install script that i used in hestia was mariadb yes and mysql8 no postgresql no
The database in cpanel is mysql based but i am not sure which older version ( it cant be 8)
i tried both home directory backup and full backup because i wasnt sure which one to use…
can u confirm me if i should select mysql yes (during hcp installation) in order to restore cpanel backup or i can just select mariadb yes and it will be okay?