Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2006
    Posts
    3

    Unhappy Account Backup to include httpd.conf Userdata

    It appears that the when I restore an account from a backup, any custom easyapache userdata configuration that I created (for auto-inclusion into httpd.conf) is not retained.

    None of these custom configuration files are saved:
    /usr/local/apache/conf/userdata/std/2/account/www.account.com/*

    I just went through the actual cpbackup folders and I couldn't find any of the custom apache configurations for the backed up accounts.

    I expected that these files would be in either:
    cpbackup/daily/dirs/_usr_local_apache_conf (or)
    cpbackup/daily/dirs/_etc_httpd_conf
    but those directories are not backed up.

    Is this happening to anyone else?

    What do I have to do to include the custom configuration for each account so I can recover it from a backup?

  2. #2
    Member
    Join Date
    Apr 2007
    Posts
    37

    Default

    those files are part of the user backup and are contained within the httpfiles directory of the user backup, i.e.: tar -zxvf username.tar.gz username/httpfiles

  3. #3
    Registered User
    Join Date
    Jan 2006
    Posts
    3

    Default Followup on Account Backup to include httpd.conf Userdata

    Hey TaneNZ thanks, but unfortunately the "daily/<account>/httpfiles" directory does not include the updated files

    I assumed this was an issue on just one of my servers so I checked the others (I have 3 with various hosts running CentOS 4 & 5 and one VPS) and that directory is empty (both for both the daily and weekly backups).

    Just as a note, none of my backups are compressed so I don't have to untar the backups to review them.

    In addition I have:
    "Backup Type" Standard (not FTP)
    "Incremental Backup" Enabled
    "Backup Configuration Files" Enabled

    Could anyone else that has a custom httpd.conf includes distilled into their apache configs check whether the backups are included in the backup records under "<account>/httpfiles/"?

    If this is not the case, I will try to check with the CPanel folks to see whether it is a legitimate bug

    Thanks,
    ~
    E

  4. #4
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,768
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by erikig View Post
    Hey TaneNZ thanks, but unfortunately the "daily/<account>/httpfiles" directory does not include the updated files

    I assumed this was an issue on just one of my servers so I checked the others (I have 3 with various hosts running CentOS 4 & 5 and one VPS) and that directory is empty (both for both the daily and weekly backups).

    Just as a note, none of my backups are compressed so I don't have to untar the backups to review them.

    In addition I have:
    "Backup Type" Standard (not FTP)
    "Incremental Backup" Enabled
    "Backup Configuration Files" Enabled

    Could anyone else that has a custom httpd.conf includes distilled into their apache configs check whether the backups are included in the backup records under "<account>/httpfiles/"?

    If this is not the case, I will try to check with the CPanel folks to see whether it is a legitimate bug

    Thanks,
    ~
    E
    What is your full cPanel version number? These files are included in my tests on 11.24.5-CURRENT_38506
    Kenneth
    Product Development
    cPanel, Inc.

Similar Threads & Tags
Similar threads

  1. Don't have a /usr/local/apache/conf/userdata folder
    By Sykoi in forum New User Questions
    Replies: 4
    Last Post: 06-19-2009, 11:16 AM
  2. tweak httpd.conf which include file?
    By kernow in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-13-2009, 03:24 PM
  3. httpd.conf Include Files Not Working
    By gldickens3 in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-08-2008, 01:46 AM
  4. Where to place httpd.conf VirtualHost include files
    By Netmaking in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-13-2008, 06:36 AM
  5. WHM backup script does not include exim.conf!
    By cyberspirit in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-06-2004, 05:35 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube