How to Restore a File from Trash in File Manager

Did you accidentally delete a file in cPanel? Your file may be in the “Trash” folder instead of permanently deleted. In this tutorial, we will show you how to view your File Manager Trash so you can restore the file to it’s original location.

Keep in mind that this is separate from the Trash directory used with terminal commands.

Restore File Manager Trash

  1. Log into cPanel.
  2. Click File Manager in the Files section of cPanel.

  3. You will be in the File Manager, click the View Trash link.

    You will then see a list deleted files.

  4. To sort the files click Name, Size, Last Modified, Type, or Permissions.

  5. Select the file you want to bring back then click the Restore option. You can also right-click a file and choose Restore.

  6. A message will ask “Are you sure you wish to restore the following files to their original locations?” Click the Restore File(s) button.

Congratulations, now you know how to Restore trash in the cPanel File Manager! In the next guide, we will show you how to permanantly delete a file from Trash in File Manager.

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

2 thoughts on “How to Restore a File from Trash in File Manager

  1. FileOp Failure on: /home/globalco/.trash/namajii.masumbuko: Restore file failed, unable to read mapping file

    1. Hello Namajii – Sorry for the FileOp failure. If the restore failed, then you may need to work with our live technical support team (https://www.inmotionhosting.com/support/amp/how-to-get-great-technical-support/). They will be able to access the server and see if it is possible to recover the file you’re trying to restore (as long as you are an InMotion Hosting customer). If you’re hosting with another service, then we recommend you contact their technical support directly.

Was this article helpful? Join the conversation!

Server Madness Sale
Score Big with Savings up to 99% Off

X