HI,
Ticket number 4801685
There seems to be an issue with cpanel backup restore using restorepkg in version 11.42.1.5 . The steps are as follows,
1) Take the backup of user foo
# /scripts/pkgacct foo
2) Extract it to home
# cd /home
# tar -xzf cpmove-foo.tar.gz
# rm -f cpmove-foo.tar.gz
3) Now restore it using the following ,
# /scripts/restorepkg --force /home/cpmove-foo
It show the following errors ,
------
# /scripts/restorepkg --force --user /home/cpmove-foo
Using pre-extracted cpmove file
cPanel restorepkg 2
cPanel user: foo
Force Mode: yes
Reseller Privs Restore: yes
Found /home/cpmove-foo !
cpmove- prefix is missing, but non prefixed directory exists.. the cpmove- prefix discarded.
Extracting Domain....Done
Sorry, we were unable to restore the account. Information about inhouse's primary domain is either missing or corrupt. For more information, please examine /home/cprestore/foo/cp/foo
--------------
So it is failing to restore from this path. Looks like only tar files are restoring .
Ticket number 4801685
There seems to be an issue with cpanel backup restore using restorepkg in version 11.42.1.5 . The steps are as follows,
1) Take the backup of user foo
# /scripts/pkgacct foo
2) Extract it to home
# cd /home
# tar -xzf cpmove-foo.tar.gz
# rm -f cpmove-foo.tar.gz
3) Now restore it using the following ,
# /scripts/restorepkg --force /home/cpmove-foo
It show the following errors ,
------
# /scripts/restorepkg --force --user /home/cpmove-foo
Using pre-extracted cpmove file
cPanel restorepkg 2
cPanel user: foo
Force Mode: yes
Reseller Privs Restore: yes
Found /home/cpmove-foo !
cpmove- prefix is missing, but non prefixed directory exists.. the cpmove- prefix discarded.
Extracting Domain....Done
Sorry, we were unable to restore the account. Information about inhouse's primary domain is either missing or corrupt. For more information, please examine /home/cprestore/foo/cp/foo
--------------
So it is failing to restore from this path. Looks like only tar files are restoring .
Last edited: