Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    7

    Default Backup due to HDD Failing

    Hello.. Was wondering if anyone had a guide or suggestions on what I needed to do with a HDD failing.

    I have a CPANEL/WHM box with RedHat that is the Main HDD is failing. All of the OS and CPanel files are located on this drive. I have a secondary HDD mounted as /backup that I can save configs and user accounts to but I am uncertain as to WHAT to save to have as little downtime as possible.


    Is there a cpanel command that will back up the configs (Cpanel/whm/Apache/mysql/firewall/dns/etc.....) that I can move to the /backup drive so I can restore the machine to working order once the OS reload on the new HDD is completed by the datacenter?

    Any help would be REALLY appreciated.


    Thanks!

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Sep 2006
    Location
    Virginia Beach, VA
    Posts
    254
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: Backup due to HDD Failing

    If I were you, I wouldn't wait for the HDD to fail - you need get yourself a new server and migrate your data ASAP. For the backups, this is what you'd usually need to back up:

    (make sure to use rsync so that user id's are retained)

    /home* (any home folders that store user accounts)
    /etc/wwwacct.conf
    /etc/userdomains
    /etc/trueuserdomains
    /etc/trueuserowners
    /etc/domainusers
    /etc/reservedips
    /etc/reservedipreasons
    /etc/passwd
    /etc/shadow
    /etc/group
    /etc/proftpd
    /etc/ips
    /etc/valiases
    /etc/vdomainaliases
    /etc/ssldomains
    /etc/ssl
    /etc/localdomains
    /etc/remotedomains
    /etc/named.conf
    /etc/exim.conf.local
    /etc/exim.conf.localopts
    /etc/quota.conf
    /etc/sudoers
    /etc/cron.d
    /var/named
    /var/cpanel
    /var/lib/mysql
    /var/spool/cron
    /var/spool/cron.suspended
    /root/.my.cnf
    /root/.accesshash
    /usr/share/ssl
    /usr/lib/php.ini
    /usr/local/apache/conf

Similar Threads & Tags
Similar threads

  1. Replies: 29
    Last Post: 12-01-2010, 06:47 PM
  2. [case 44803] Backups Failing Due To File Changing While Being Read
    By robnelli in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-07-2010, 10:02 AM
  3. backup refuses to run due to quota on backup drive
    By panayot in forum cPanel and WHM Discussions
    Replies: 17
    Last Post: 01-30-2008, 09:19 AM
  4. eximstats failing due to mysql
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 32
    Last Post: 07-06-2006, 12:18 PM
  5. HOWTO : cPanel Backup using FTP Backup without second HDD
    By isputra in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 04-03-2004, 10:57 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube