Failed: Account Restore Failed: “clean: Cannot cleanup top level directory:

While restoring the full cPanel backup file in 'tar.gz' format from
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. 

After moving the backup file, it worked for me. 

(In my case it was under temp directory of the server.)

Was this answer helpful?

 Print this Article

Also Read

pcre.backtrack_limit reached - Joomla issue

I was getting the below error on my Joomla website - pcre.backtrack_limit reached. Solution :You...

#145 - Table './database_name/table_name' is marked as crashed and should be repair

I was getting below error while accessing one site - Error in establishing database...

DenyIp::adddenyip(xxx.xxx.xxx.xxx) failed: Error: while opening /home/xxx/public_html/.htaccess Error: while opening /home/xxx/public_html/.htaccess

I was getting the below error while adding an IP address from cPanel >> IP Blocker...

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

I was getting below error while accessing phpMyAdmin - Cannot start session without errors,...

Access to context [/] is denied!

While accessing the site, I was getting the error as -Access to context [/] is denied!Solution...

Powered by WHMCompleteSolution