Updated on Oct 25, 2022
Mistakes can happen, and deleting the wrong file in cPanel is not an exclusion. In this post, we will help you understand what type of files you can delete, when to do that, and, most importantly, how to restore deleted files in File Manager when needed.
First and foremost, when you are in the cPanel File Manager with the purpose of deleting files, make sure that you manually back up the specific files that you are removing:
Also, make sure you are not tampering with any of the cPanel system files:
So, with that said, if you want to delete a file or a folder, here is what you do:
That’s all there is to the process.
Keep in mind that even if you have done your research about the files and/or folders, they could still turn out to have been essential, therefore need to be restored. This is why when asked to "Skip the trash and permanently delete the files", you always leave the box unchecked. When a file or a folder is in the trash, it’s actually still in the File Manager, therefore not actually deleted yet.
So, here is how you restore your deleted files in cPanel File Manager:
We use JetBackup for our internal system backups and we share these backups with you to enable restoration of files, databases, CRON jobs, DNS Zones, Email, SSL Certificates, and your full account. This is a premium service that is available on all of our shared hosting accounts and can be accessed from within your accounts cPanel.
In case you have done any irreversible changes with your file structure and you need a cPanel restore, you can rely on FastComet. We offer our clients daily backups, and if you need a restore, all you have to do is contact our technical support via the ticket system. Our experts work 24/7 and will assist you as soon as possible.
If a file or a folder is deleted via SSH or with an FTP client, such as FileZilla, there is a high chance you won’t have an auto backup. This is why we recommend creating your own backup on your local machine before you proceed with any changes.
You can see for yourself that working with File Manager to delete or restore your files and folders is technically quite easy. However, please bear in mind the importance of backup and don’t forget to double-check if the files you are deleting contain essential data.
We hope you find this article useful. Discover more about FastCloud - the top-rated Hosting Solutions for personal and small business websites in four consecutive years by the HostAdvice Community!