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.

Complete Restore of CPanel and user accounts required

Discussion in 'General Discussion' started by JustSomeGuy, Jul 8, 2013.

  1. JustSomeGuy

    JustSomeGuy Active Member

    Joined:
    Oct 13, 2007
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    I need to have my Data Center reimage my server with OS and Cpanel.
    Once done, I need to restore the servers setting and then restore all sites.
    I have a complete backup of everything from the CPanel backup program.
    Located on a second drive, I have all the accounts in .gz files and also two directories inside a directory called daily:
    dirs/
    -rw------- 1 root root 75940 Jul 8 01:00 _etc_proftpd.tar.gz
    -rw------- 1 root root 4133 Jul 8 01:01 _etc_ssl.tar.gz
    -rw------- 1 root root 13348 Jul 8 01:00 _etc_valiases.tar.gz
    -rw------- 1 root root 5110 Jul 8 01:01 _etc_vdomainaliases.tar.gz
    -rw------- 1 root root 6210 Jul 8 01:00 _etc_vfilters.tar.gz
    -rw------- 1 root root 9183269 Jul 8 01:01 _usr_local_cpanel_3rdparty_mailman.tar.gz
    -rw------- 1 root root 11075845 Jul 8 01:01 _usr_local_frontpage.tar.gz
    -rw------- 1 root root 92291775 Jul 8 01:00 _var_cpanel.tar.gz
    -rw------- 1 root root 18780768 Jul 8 01:00 _var_lib_rpm.tar.gz
    -rw------- 1 root root 56537 Jul 8 01:01 _var_log_bandwidth.tar.gz
    -rw------- 1 root root 3037865 Jul 8 01:00 _var_named.tar.gz
    -rw------- 1 root root 1360 Jul 8 01:00 _var_spool_cron.tar.gz

    The other is:
    files/

    -rw-r----- 1 root root 39 Jun 30 13:55 _etc_digestshadow.gz
    -rw-r--r-- 1 root root 13535 Jul 2 01:29 _etc_exim.conf.gz
    -rw-r----- 1 root root 136 Jul 2 01:30 _etc_exim.conf.localopts.gz
    -rw-r--r-- 1 root root 624 Mar 26 19:05 _etc_fstab.gz
    -rw-r--r-- 1 root root 1279 Jul 6 10:47 _etc_group.gz
    -rw------- 1 root root 14628 Jul 6 10:47 _etc_httpd_conf_httpd.conf.gz
    -rw-r--r-- 1 root root 63 Jul 7 23:37 _etc_ips.gz
    -rw-r----- 1 root root 1469 Jul 6 10:47 _etc_localdomains.gz
    -rw-r--r-- 1 root root 84 Jul 2 01:25 _etc_my.cnf.gz
    -rw-r--r-- 1 root root 4007 Jul 6 10:47 _etc_named.conf.gz
    -rw-r--r-- 1 root root 2415 Jul 6 10:47 _etc_passwd.gz
    -rwxr-xr-x 1 root root 4241 Jul 2 01:26 _etc_pure-ftpd.conf.gz*
    -rw------- 1 root root 657 Jul 6 10:47 _etc_quota.conf.gz
    -rw-r----- 1 root root 67 Jun 29 09:12 _etc_remotedomains.gz
    -rw-r----- 1 root root 288 Feb 22 14:45 _etc_rndc.conf.gz
    -rw-r----- 1 root root 37 Jun 29 09:12 _etc_secondarymx.gz
    --w------- 1 root root 5173 Jul 6 10:47 _etc_shadow.gz
    -rw-r--r-- 1 root root 263 Apr 13 00:14 _etc_wwwacct.conf.gz
    -rw------- 1 root root 69 Feb 22 14:44 _root_.my.cnf.gz
    -rw------- 1 root root 14635 Jul 6 10:47 _usr_local_apache_conf_httpd.conf.gz

    Once I have the CPanel image back onto the server, do I just need to unzip those files?
    I am sorry but I can not find any play by play instructions on how to do this.
     
  2. JustSomeGuy

    JustSomeGuy Active Member

    Joined:
    Oct 13, 2007
    Messages:
    28
    Likes Received:
    0
    Trophy Points:
    1
    Can anyone help me determine which files and/or directories need to be restored before I restore the account users?
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The account backups will automatically populate most of those files when the accounts are restored. You could restore the /etc/my.cnf file if you have custom modifications to it. Other than that, it's a good idea to run EasyApache to ensure the modules/versions of your preference are enabled. Also, you can browse to "Tweak Settings" in Web Host Manager to choose any specific options that you may have enabled before.

    Thank you.
     
Loading...

Share This Page