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!

Restore procedure for system files

Discussion in 'Data Protection' started by Jeroen Maas, May 28, 2017.

Tags:
  1. Jeroen Maas

    Jeroen Maas Registered

    Joined:
    May 28, 2017
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi,

    I'm new to cPanel. Currently running down a checklist of things i'd want know how it works before switching to cpanel. One really important thing for me is to be able to recover fast from downtime.

    I've found the backup configuration in WHM and configured it to automatically backup to S3. This works perfect. I've also found a way to recover accounts. But i haven't found a way to recover the 'system_files.tar'. My question is: How would I restore my cpanel installation back to it's original state in case of a host/disk failure?

    Regards,

    Jeroen
     
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,834
    Likes Received:
    85
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    Since you are new and are not aware, but the way cPanel backup is taken is just wonderful, so if you take a backup from withing the cPanel provided scripts, it will take complete architecture of the account, the complete thing, its complete existence on the current server, when you restore it back to new system or different cPanel server, it unpacks exactly how it is backed up.

    cPanel configuration file related to the account.
    Account configuration file that is for system (system user and data for that account).

    Having said this, I can only say that if you have a proper cPanel backup of any account on the server, you can restore it back as it is with no hard efforts...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jeroen Maas

    Jeroen Maas Registered

    Joined:
    May 28, 2017
    Messages:
    4
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Netherlands
    cPanel Access Level:
    Root Administrator
    Hi 24x7server,

    Good to see the love for cPanel. The way of restoring account configuration is really nice indeed. But my question is more related to restoring server configuration. Think about things you configure in WHM like apache config, logging settings, notifications, backup settings, etc.

    Regards,

    Jeroen
     
  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:
    The docs should be useful:
    System Backups - Documentation - cPanel Documentation

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. WorkinOnIt

    WorkinOnIt Well-Known Member

    Joined:
    Aug 3, 2016
    Messages:
    136
    Likes Received:
    9
    Trophy Points:
    18
    Location:
    UK
    cPanel Access Level:
    Root Administrator
    There does not appear to be an easy way to restore from S3. If only that were possible ;-) I think there are feature requests that are outstanding for that, but I don't think it's on the roadmap [happy to be corrected]

    Meanwhile, best practice is to have as many backups as you can. Backups on the server are only fine if the server is accessible. I would ensure you choose a datacentre or host that allows some kind of snapshot - preferably on a seperate cluster or external storage (another server or even better another datacentre?) or alternatively, install your own snapshot facility e.g. rsync or r1soft
     
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