Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default Alternate ways for Backing up a Large account sized 10GB

    A account which is currently excluded from backup account list cause whenever i include it, the server remains on high loads and we get complaints from users for server being slow.

    since we excluded this account from backup the server performs fine even during weekly backups.

    but having a backup is must, if try to pkgacct from ssh, the loads gets pretty high.

    What are other options to backup this atleast once a month.

    Should i just rsync this to another server
    or
    should i use any 3rd party script
    or

    Is there any way to run "/scripts/pkgacct" with a load threshold ?

    thanks all for your time

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Once you have one full backup, you might trim down the size of whats actually backed up (next time) with the cpbackup-exclude.conf file located in the root of every account. Does that 10GB account change often or is it just the sites databases, and a few files from time to time and the rest is mail? If the rest is just static files you might choose to exclude some of it.

    A 10 GB backup is going to be a monster to deal with anyway you look at it.

  3. #3
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by mohit View Post
    Is there any way to run "/scripts/pkgacct" with a load threshold?
    It is possible to run pkgacct with a lower CPU process priority using "nice"; in the following example, the least CPU priority is assigned for an account specified by its username:
    Code:
    # nice -n19 /scripts/pkgacct username
    The valid range for CPU priority is from negative twenty ("-20") for the most/highest CPU priority to positive nineteen ("19") for the least/lowest CPU priority.

    Please also reference the documentation (manual) "man" page for the nice utility to obtain additional clarification and command usage:
    Code:
    # man nice
    An alternative to excluding the account and running it manually or via a separate crontab would be to use incremental backups (that do not use compression and would significantly reduce CPU usage), as configured via the WHM Configure Backup page.

    Other than incremental backups, there is a new feature in cPanel/WHM v11.25 to disable compression for backups, providing that sufficient disk space is available; this new option is separate from the incremental backup option; this can be enabled/disabled via the same Configure Backup page in your root WHM control panel.

    For specific build tree availability of cPanel/WHM v11.25 please refer to the following link:
    http://httpupdate.cpanel.net/#builds

  4. #4
    Member
    Join Date
    Nov 2006
    Posts
    29

    Default

    I ran into this same issue basically, with two of my accounts who have large files. I wanted at least monthly backups of each, if not more. One of them is my own account, so I know when there is a major change I want backed up. I kept my automated backups and excluded both accounts, and just use "CP Site Saver" from a home computer to login and backup both accounts for me from home. Simple and easy and works for me, might work for you too, and the program seems free and has worked for a few months now for me without issue.

    -geekeffect

  5. #5
    Member
    Join Date
    Jul 2005
    Location
    Sticky On Internet
    Posts
    555

    Default

    Thanks cpaneldon and infopro.
    the account is not changing much weekly but its looks like some real large files which are uploaded by user, although its some open-source stuff but bandwidth usage of account certainly shows its not much in demand

    I'll try the Nice method donald suggested and then duly inform the user to back up on his own, he's certainly over-using the pains that could be taken for a few dollars a year.
    Learn atleast A word Daily

    7+1 Dedicated Boxes with cPanel...

  6. #6
    Member
    Join Date
    Mar 2008
    Posts
    16

    Default

    I have had similar issues to this only to find that the 10gb account had about 4 years of home backups in the accounts root directory so it was essentially backing up redundant backups.

    Turned out their actual content was only 120MB.

  7. #7
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,165
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    Quote Originally Posted by Jinovich View Post
    I have had similar issues to this only to find that the 10gb account had about 4 years of home backups in the accounts root directory so it was essentially backing up redundant backups.

    Turned out their actual content was only 120MB.
    Yes I've seen this as well, many times. Recently a user asked what was taking up all the space and we found several GB of backups in the Fantastico directory from backed up gallery upgrades, logging was enabled, and full system backups left on the account they left for "safe keeping".

    Go figure.

Similar Threads & Tags
Similar threads

  1. Worth backing up large files?
    By cubic in forum Data Protection
    Replies: 4
    Last Post: 08-27-2009, 09:54 AM
  2. Transfer 10GB+ Account
    By erinspice in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-26-2008, 10:22 PM
  3. backing up extremely large accounts
    By d00t in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-25-2006, 11:41 AM
  4. Main Site Email Account Name, Alternate Way?
    By webkar in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-03-2003, 09:34 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube