Results 1 to 4 of 4

Thread: CPBackup on a server with Raid 1+0?

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default CPBackup on a server with Raid 1+0?

    We are looking at getting a new server, and we are thinking about getting 4 drives in a Raid 1+0 array (mirrored and striped).

    However, we cannot get more than 4 drives, so we can't get a 5th drive as an "onsite" backup. (We of course will also have an offsite backup, but we need an "onsite" backup to create the files to later move offsite, and for easy access to restore accounts or files from a previous time.)

    Would it be a problem if we created our /backup partition on the same 4-drive Raid 1+0 array as the rest of the system? Backups would be weekly, but I'm not sure if backing up from a RAID 1+0 array to itself would cause high load or iowait. We would be using cpbackup for the backup.

    Also, if we have to hard reboot the server, could that cause array corruption? I've read conflicting posts about that. I know a hard reboot can generally cause problems with or without RAID, but does it cause more problems with RAID (or increase the chances of problems)? Might I be stuck one day waiting for the entire array to rebuild?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Dec 2003
    Location
    Athens/GREECE
    Posts
    193
    cPanel/WHM Access Level

    DataCenter Provider

    Default Re: CPBackup on a server with Raid 1+0?

    Hello,

    I don't think there is a problem using /backup partition under your RAID configuration and I don't think there will be more IO, since the backup is first taken on /home/cpbackuptmp and then the tar file is moved to its final destination.
    Sincerely,

    George Vardikos
    HyperHosting Internet Services

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    1
    cPanel/WHM Access Level

    Root Administrator

    Default

    Hi JohnM115,

    Although it's possible to use your raid array to backup, it's not advisable. You will create a higher load during backup, and much more stress in your main disk drives.

    Kind Regards,

    Hugo

  4. #4
    Member Indianets's Avatar
    Join Date
    Jun 2008
    Posts
    62
    cPanel/WHM Access Level

    Root Administrator

    Default Re: CPBackup on a server with Raid 1+0?

    Hello,

    It would be an stress to the disk array, specially if you use compression and the server is a bit busy.

    You can use a shell script to 'pkgacct' and then 'rsync to offsite' one by one for all accounts on weekly basis. You can avoid compression to get better results (will use more bandwidth to the offsite server though). Also, you can leave the homedir while doing pkgacct and sync them later at once to use the rsync's only required data transfer.

    - Vijay

Similar Threads

  1. How to partition server with RAID 1/10
    By lunixcpanel in forum New User Questions
    Replies: 8
    Last Post: 08-28-2009, 03:24 AM
  2. Backup a RAID-1 server
    By oshs in forum cPanel & WHM Discussions
    Replies: 2
    Last Post: 03-02-2007, 04:03 PM
  3. cPanel BACKUP with Raid 0,1 server ?
    By JohnBB in forum cPanel & WHM Discussions
    Replies: 9
    Last Post: 04-07-2005, 04:07 PM
  4. Want to configure RAID for server ?? Need help !!
    By atul in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 08-04-2004, 01:37 PM