The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

No Way to Recover Deleted Database

Discussion in 'Database Discussions' started by kavos1332, Aug 15, 2013.

  1. kavos1332

    kavos1332 Active Member

    Dec 17, 2012
    Likes Received:
    Trophy Points:
    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 shit jo, But there should be a way.
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    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.

Share This Page