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.

Joomla hacked restore no database

Discussion in 'General Discussion' started by asmithjr, Sep 28, 2007.

  1. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    Have a customer that had their site hacked.
    When we went to restore from daily, weekly, monthly the joomla DB did not restore.

    I opened the cpbackups/daily/customer/mysql/customer_joomla.sql it is almost empty,

    Same with weekly and monthly, they know their site was working yesterday.


    Restoring their account is not restoring the DB.

    Anyone know anything I am missing.
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I left out

    Backup configured for

    Per Account and Entire MySQL
     
  3. S-Combs

    S-Combs Well-Known Member

    Joined:
    Jun 10, 2004
    Messages:
    78
    Likes Received:
    0
    Trophy Points:
    6
    If Entire MySQL, try extracting cpbackup/daily/dirs/_var_lib_mysql_.tar.gz and look for that raw database structure. If that seems to be complete then copy it over the original structure at /var/lib/mysql. Be sure to chown/chmod it with proper ownership/permissions afterwards
     
  4. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I went to /backup/cpbackup/monthly/dirs did a tar zxvf _var_lib_mysql_.tar.gz

    then cd /backup/cpbackup/monthly/dirs/var/lib/mysql/USERNAME

    there is only a db.opt file there same as in /var/lib/mysql/USERNAME

    all accounts are the same. What am I missing from you post?
     
  5. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    I was in the USERNAME account needed to look in USERNAME_database folder.

    THANKS!
     
Loading...

Share This Page