No Way to Recover Deleted Database


Active Member
Dec 17, 2012
cPanel Access Level
Root Administrator

A few hours ago I scanned my server for malware using maldet. It detected some hits at /home/virtfs/shetab. I then tried to delete all files in virtfs and it caused a disaster and home directory of 2 accounts deleted. However databases ware available through cpanel. Then I did another disaster and after a while came back and thought I've taken a bacup of database BUT didn't!! I just terminated and re-created the account and the database which was my last chance got lost!

Is there any difficult way to recover the db? It was our billing dab.

We are running CentOS 6.4 and using LVM file system.

Unfortunately I have deleted daily and weekly backups to let them be replaced by fresh malware-free backups.

I know I did a **** jo, But there should be a way.


Staff member
Apr 11, 2011
Hello :)

Unfortunately, the database will not be recoverable if you terminated the account and no backups are available. You can double check to see if it exists in /var/lib/mysql, however it's not likely because terminating an account deletes the databases associated with it.

Thank you.