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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backup restore didn't restore httpd configuration

Discussion in 'Data Protection' started by Babene7, Sep 18, 2017.

  1. Babene7

    Babene7 Member

    Joined:
    Apr 13, 2017
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Office
    cPanel Access Level:
    Root Administrator
    Hi,

    Recently, let's say in the last week, I've had to restore backups in 3 different cPanel servers (3 accounts in one server, 1 in another server and 1 in the other) and got the same issue in all of them: the sites' httpd configuration was missing. I had to use the rebuildhttpdconf script to fix it.

    The backups were restored using WHM > Backup Restoration.

    Any idea? Has anyone else experienced this lately?
    I have a ticket open waiting for an answer, but may be someone here can shed some light on the matter.

    Btw, how can I change my avatar? I don't see the option under Settings, and if I click my current pic it says "You do not have permission to view this page or perform this action".

    Thanks.-
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,424
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Internal case CPANEL-15635 is open to address an issue where the backup restoration process does not include the updated virtual hosts for restore account's domain name in the Apache configuration file. I'll monitor this case and update this thread with more information as it becomes available. In the meantime, the temporary workaround is to manually rebuild the Apache configuration file after restoring the account via the following command:

    Code:
    /scripts/rebuildhttpdconf
    Please see the following post:

    https://forums.cpanel.net/threads/changing-options-on-forums.208912/page-6#post-2247321

    Thank you.
     
  3. Babene7

    Babene7 Member

    Joined:
    Apr 13, 2017
    Messages:
    6
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Office
    cPanel Access Level:
    Root Administrator
    Thanks for you answer Michael, always helpful!

    Hope it gets fixed soon.
     
Loading...

Share This Page