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.

What to back up for clean install

Discussion in 'General Discussion' started by mousepotatoe, Sep 1, 2004.

  1. mousepotatoe

    mousepotatoe Active Member

    Joined:
    Dec 17, 2003
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I am preparing to do a format and clean install of Debian 3.0, cpanel and WHM
    I'm currently running Redhat Linux (errata)

    My websites are backed up on a secondary drive.

    I need to preserve my ip's and other settings to ensure any loss of data or unnecessary downtime.

    What files/folders can I backup that can be imported back into the server after reload to restore it to its original state?

    What files should you avoid if your server has been compromised?

    So far, I believe these are correct, am I missing anything?

    /home
    /etc/passwd
    /etc/group
    /etc/passwd~
    /var/lib/mysql


    Thanks for your help
     
    #1 mousepotatoe, Sep 1, 2004
    Last edited: Sep 2, 2004
  2. stech

    stech Member

    Joined:
    Aug 30, 2004
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Backup these files and folders for full restore

    Files
    /etc/named.conf
    /etc/proftpd.conf
    /etc/localdomains,
    /etc/httpd/conf/httpd.conf
    /usr/local/apache/conf/httpd.conf
    /etc/group
    /etc/shadow
    /etc/passwd
    /etc/domainalias
    /etc/fstab
    /root/.my.cnf
    /etc/ips
    /etc/reservedips
    /etc/quota.conf
    /etc/wwwacct.conf
    /etc/domainalias
    /etc/fstab
    /root/.my.cnf
    /etc/ips
    /etc/reservedips
    /etc/quota.conf
    /etc/wwwacct.conf
    /etc/rndc.conf
    /etc/secondarymx
    /etc/my.cnf
    /usr/local/cpanel/3rdparty/interchange/interchange.cfg
    /etc/userdomains



    Dirs
    /etc/valiases
    /etc/proftpd
    /var/named
    /etc/vfilters
    /var/cpanel
    /var/spool/cron
    /usr/local/frontpage
    /var/log/bandwidth
    /var/lib/mysql
    /usr/share/ssl
    /etc/ssl
    /var/ssl
    /usr/local/cpanel/3rdparty/mailman
    /home
    /usr/local/cpanel/base
    /usr/local/frontpage
    /var/named
     
Loading...

Share This Page