Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Backup not including public_html

Discussion in 'Data Protection' started by comptech520, Oct 11, 2016.

Tags:
  1. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    When I run a cpmove or a backup of a domain inside cPanel, the homedir/public_html folder is missing. Can anyone shed light to why?
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is the directory listed in the cpbackup-exclude.conf file?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    Hi,

    Thanks for the reply. It is not in the /home/user/cpbackup-exclude.conf file.
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is the account near its quota? Any hints in the backup log for that account as to whats happening during the backup process?

    Please feel free to open a ticket to cPanel Technical Support about this if you like.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    I have a update: when I less the file, the public_html directory is there, but not when I extract the backup.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Whats this mean exactly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    I can take the backup file created by cPanel, and run the command less <backup_name.tar.gz> enter, then /public_html and it is listed (/homedir/public_html)in the file, but when I download the file and attempt to extract it, the public_html directory is nowhere to be found.
     
  8. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Odd. How large is the account? Not sure it matters here, just curious.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
  10. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,309
    Likes Received:
    393
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ownership set properly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    156
    drwxr-x--- public_html
     
  12. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,855
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you us through the full steps you are taking to reproduce this issue? Please include the commands you are using when backing up and extracting the archive. To note, on a test system, the extracted archive includes the public_html directory under this path:

    Code:
    ./cpmove-username/homedir/public_html
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice