cPanel full backup

Discussion in 'Site & Server Administration' started by MilesB, Aug 11, 2010.

  1. #1
    I downloaded full site backup of home,databases etc.

    I want to restore my site but I cannot find the folder where the backups are located in my .tar.gz backup
     
    MilesB, Aug 11, 2010 IP
  2. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #2
    You should be able to restore the site directly from the tar.gz backup that you created. If you need to restore a certain part of the site, then you need to break into the tar.gz file and pick out what you need.
     
    RHS-Chris, Aug 11, 2010 IP
  3. MilesB

    MilesB Well-Known Member

    Messages:
    1,813
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    180
    #3
    Okay, but I'm navigating through the archive and can't find where the databases are located directly.
     
    MilesB, Aug 11, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    They would be in the mysql folder (assuming they are mysql databases).
     
    RHS-Chris, Aug 11, 2010 IP
  5. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #5
    If you have created a full backup from cPanel and want to restore as it is, it won't be possible from cPanel. The full restore creates the account again and since the account is already present on the server, it cannot be restored. The full restore it possible from WHM OR via SSH as 'ROOT'. If you want to restore certain files OR databases, extract the full backup on your local machine and restore it. You will find mysql databases in the 'mysql' directory and you can restore them from cPanel >> phpMyAdmin.
     
    madaboutlinux, Aug 12, 2010 IP
  6. donnyanm

    donnyanm Peon

    Messages:
    240
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can use a program like winrar on your local pc to navigate through the .tar.gz file.

    Your public_html dir is located in 'homedir.tar' which is in the main .tar.gz backup file.

    Your databases (.sql files) would be in a folder called MySQL in the main .tar.gz backup file.
     
    donnyanm, Aug 15, 2010 IP