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

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:
“/”. at /usr/local/cpanel/Whostmgr/Transfers/ line 668.
”Took the liberty to check the line 668
in 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.)

Leave a Comment

Your email address will not be published. Required fields are marked *

Open chat