Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Mar 2011
    Posts
    17

    Default What should one be backing up on the server?

    Should both disks fail on my RAID and I lost everything, what should I be backing up?

    I guess that I would get the datacenter to rebuild the server and then I would put the information back on server.

    However I do not really want to backup what I do not need (for example I reckon some of the optional scripts all take up space)

    I am sure it is more than just /home/*

    Thank you.

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: What should one be backing up on the server?

    Personally, on my server, I just backup the account information+data. I just go into Configure Backups in WHM and let that handle backing up the accounts for me. It just makes things simpler on me to ensure everything associated with the accounts is backed up and nothing extra is backed up. I don't get worried about backing up server configurations because default cPanel&WHM configurations change with time, so a good "start from scratch" is a good thing once in a very great while (e.g. when one finally outgrows/outlives their hardware) .

  3. #3
    Member
    Join Date
    Mar 2011
    Posts
    17

    Default Re: What should one be backing up on the server?

    Thanks.

    Silly question now - what directories would that be?

    (sorry for the newbie question)

    I am using an external script for backing up

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: What should one be backing up on the server?

    Quite a few - don't recall everything offhand.

    Any particular reason for using an external script?

  5. #5
    Member
    Join Date
    Mar 2011
    Posts
    17

    Default Re: What should one be backing up on the server?

    okay. Thanks anyway.

    Reason for external? Firstly it is off-site, is relatively inexpensive, allows users to restore backups themselves from different time stamps over the last week / month.

  6. #6
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: What should one be backing up on the server?

    If you are backing up directories rather than using cPanel backups, then I would suggest the list mentioned here:

    http://forums.cpanel.net/f5/rsync-ba...tml#post671150

    Of note, if you have InnoDB enabled, it isn't advisable to only copy /var/lib/mysql but to take a full mysqldump instead of the databases using this type of command:

    Code:
    mysqldump --add-drop-table --all-databases | gzip > /home/alldatabases.sql.gz
    This will backup all the databases and put them into a file at /home/alldatabases.sql.gz, which you could then copy with /home contents.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Backing up server so the VPS can be reinstalled
    By lakotahosting in forum Data Protection
    Replies: 2
    Last Post: 02-19-2011, 10:50 PM
  2. Backing Up To Home Server
    By jeves in forum Data Protection
    Replies: 3
    Last Post: 06-19-2009, 05:33 PM
  3. Need Help Backing Up My Server
    By HostSafely in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 03-21-2008, 01:33 PM
  4. Help with backing up accounts on another server.
    By phantom2 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-19-2005, 05:32 PM
  5. Backing up entire server
    By haze in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 12-09-2003, 01:10 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube