WHM >> Backup >> Restore a Full Backup/cpmove File, I was getting the error message as below -
Failed: Account Restore Failed:“clean: Cannot cleanup top level directory:
“/cpanelpkgrestore.TMP.work.3x9vXyS3”. at /usr/local/cpanel/Whostmgr/Transfers/ArchiveManager.pm line 668.
”Took the liberty to check the line 668
in ArchieveManager.pm and it corresponds to the following codes string:
Solution -
Please check the backup file location. It should be present under /home directory of the server.
(In my case it was under temp directory of the server.)