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.

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:
    6
    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:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Is the directory listed in the cpbackup-exclude.conf file?
     
  3. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    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:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    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.
     
  5. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    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:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Whats this mean exactly?
     
  7. comptech520

    comptech520 Well-Known Member

    Joined:
    Feb 23, 2006
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    6
    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:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Odd. How large is the account? Not sure it matters here, just curious.
     
  9. comptech520

    comptech520 Well-Known Member

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

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,481
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ownership set properly?
     
  11. comptech520

    comptech520 Well-Known Member

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

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    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.
     
Loading...

Share This Page