Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    1

    Default Full Server Backups

    Hi,

    After several serious hard drive failures on my server over the course of a few years, I decided to invest in some good server backups. The default cPanel backups take care of the home directory accounts which is fine, but I want to use my backup service (and tell me if this is NOT possible) to backup the whole server (well anything that holds a configuration setting, and is not standard in cPanel). So that in the event of a major crash I can have the O/S and cPanel reloaded by the data centre, onto the same server and same IP’s etc, and simply transfer the backups back over, and save loads of time re-configuring cpanel and installing and configuring CSF etc.

    I am running a dedicated server with Centos 5.5, cpanel, Config Server Firewall, mail scanner etc.

    The backups I am running are with webby cart, using rsync on a daily cron job.
    The cron job is below, and the list of folders backed up are listed as well.
    I have blanked out any identifiable hostnames etc with “x’s” for the post

    Cron <root@xxxxxxxx> rsync -avz -e ssh /.cpanel /backup /bin /etc /home /lib /media /misc /mnt /net /opt /root /sbin /scripts /selinux /srv /usr /var /.forward /aquota.user /main /main.cache / xxxxxxxxx.xxxxxxxxxx.com /xxxxxxxxx.xxxxxxxxxx.com.cache /quota.user / xxxxxxxxx.xxx.xxxxxxxxx.com /xxxxxxxxx.xxx.xxxxxxxxx.com.cache xxxxxxxx@xxxxxx.webbycart.com:server1_daily

    So the directories backed up are: .cpanel /backup /bin /etc /home /lib /media /misc /mnt /net /opt /root /sbin /scripts /selinux /srv /usr /var
    .cpanel never backs up due to files being in use, I assume there is nothing in there that is required for a recovery?

    So essentially my questions are:
    • Is what I am asking possible?
    • If so is it as easy to restore as I hope?
    • Am I backing up the right directories (not enough/too many)?

    I know this could be classed more of a O/S question, but I would like to be sure that cPanel’s config is capable of being restored in this way.

    Thanks for reading, and hopefully you’ll know the answer

    Tim

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Oct 2003
    Posts
    1,924

    Default

    R1 soft is your answer

    but this thread is quite old but it should show you the directories required
    Restoring Cpanel from old drive after crash or hack - The Planet Forums
    Lowest Host/Empire Technology LLC
    Affordable hosting solutions http://empire-hosting.net
    List Your hosting site FREE in http://hostgeneration.com

Similar Threads & Tags
Similar threads

  1. Full Backups/SP's
    By Gigabit in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 08-27-2008, 09:54 AM
  2. Cannot download full backups
    By pastilles in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 03-02-2007, 05:22 AM
  3. Restore Full Backups - Remote mySQL Server
    By MPCN_Russ1 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-28-2006, 12:00 AM
  4. Full backups
    By r00t316 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-12-2004, 07:49 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube