Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 11 of 11
  1. #1
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Question need to force backups (/scripts/cpbackup)

    Ok got a big problem here.. I NEED to backup my clients in prep for a OS reload / upgrade.. problem is the server's loads are too high too long to allow the cpbackup script to run..

    is there any way to force the backup (remember, we need to be able to resore accounts) or does someone have any other suggestions?

    help!
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  2. #2
    Member PWSowner's Avatar
    Join Date
    Nov 2001
    Location
    ON, Canada
    Posts
    2,994

    Default

    Did you try running it manually from shell?
    Mike
    WHM and cPanel Scripts (join our "Scripts Club")
    D/A Photography

  3. #3
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Oh yeah.. many times.. it's more to do with server loads then anything else.... we NEED a way to force backups.. (like for a server move/swap or OS reload.)
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  4. #4
    Member
    Join Date
    Oct 2001
    Posts
    117

    Default

    cd /scripts/ then do ./cpbackup
    cd /scripts then do ./upcp
    Keegan
    "Eats Fruit Too"

  5. #5
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Yes this i know.. what i need is a way to FORCE the backups to run:

    root@cp2 [~]# /scripts/cpbackup
    pkgacct started.
    pkgacct version 2.9 - running with uid 0
    Copying Reseller Config...Done
    Copying SSL Certificates, CSRS, and Keys...Done
    Copying Mail files....Done
    Copying frontpage files....Done
    Copying proftpd file....Done
    Entering timeout safety mode
    Grabbing mysql dbs............
    Done
    Grabbing mysql privs...Done
    Leaving timeout safety mode
    Copying mailman lists....Done
    Copying mailman archives....Done
    Copying homedir....Waiting for load to go down to continue
    Waiting for load to go down to continue
    pkgacct started.
    pkgacct version 2.9 - running with uid 0
    Waiting for load to go down to continue
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  6. #6
    Member
    Join Date
    Oct 2003
    Posts
    327

    Default

    In WHM's Tweak Settings you can set the load number above which backup will pause itself. Just set that to a very high number and save changes.

  7. #7
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    You can force them effectively, by setting WHM > The load average above the number of cpus at which logs file processing should be suspended > value high. The cpbackup script also uses this setting eventhough it says that it is for the stats. Then, delete or rename the current daily backup dir in /backup/cpbackup/ out the way and run /scripts/cpbackup
    Last edited by chirpy; 04-07-2005 at 10:26 AM. Reason: Aric just beat me to it
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  8. #8
    Member PPNSteve's Avatar
    Join Date
    Mar 2003
    Location
    Somewhere in Ilex Forest
    Posts
    309
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    OK i'll try that tonight and see what happens..

    Thanks for the replies everyone
    Steve H.
    --------------
    1-GB.NET
    Domain Names

  9. #9
    Member
    Join Date
    Jan 2003
    Posts
    23

    Default

    Quote Originally Posted by chirpy
    You can force them effectively, by setting WHM > The load average above the number of cpus at which logs file processing should be suspended > value high. The cpbackup script also uses this setting eventhough it says that it is for the stats. Then, delete or rename the current daily backup dir in /backup/cpbackup/ out the way and run /scripts/cpbackup
    I have many problem with overload 10X (1cpu)
    My stats and backups not work from 3-4 days.

    I find many tread in forums and I write to 2 staff on Cpanel darkorb. But no body can be down cpu proccess.....

    I try some services down in same time , apache, mysql, mailscanner.
    But still overserver 11.17 but must be 0,30 or 0,50

    I dont see any slowly web page or anything, everythings okey about speed server but I recieve many email statscheck and cpucheck error messages.

    To day I do on WHM>TWEAK SETTINGS
    [+] The load average above the number of cpus at which logs file processing should be suspended (default 0): [I CHANGE TO (default 0 to 100]

    [+] The load average that will cause the server status to appear red (leave blank for default): [I CHANGE TO (default 0 to 100]
    and I go to SSH with command /scripts/cpbackup
    Now Backup running good.
    maybe my overload problem not solution but I can update actual web sites and mysql with this way.

    Thank you

  10. #10
    Member
    Join Date
    Jan 2005
    Posts
    13

    Default

    Quote Originally Posted by chirpy
    You can force them effectively, by setting WHM > The load average above the number of cpus at which logs file processing should be suspended > value high. The cpbackup script also uses this setting eventhough it says that it is for the stats. Then, delete or rename the current daily backup dir in /backup/cpbackup/ out the way and run /scripts/cpbackup
    Actually, if you look at the cpbackup script which is just a perl script you'll see that you can just add --force to the command to avoid the directory renaming stuff... That takes care of getting around the logs processing only once a day.

    /scripts/cpbackup --force

    The other deal about load is what I am dealing with right now and I'm not totally sure but it seems to at least have helped but I still see that message although not as much.

    Dana

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Indeed. That shows the reason for using caution when digging up old threads like this one - things change as in that newer option.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Cpbackup --force
    By fazaha in forum Data Protection
    Replies: 8
    Last Post: 03-17-2010, 08:31 AM
  2. Cpbackup --force
    By fazaha in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-16-2010, 05:40 AM
  3. /scripts/cpbackup --force no longer works?
    By kernow in forum Data Protection
    Replies: 2
    Last Post: 09-29-2008, 11:24 AM
  4. /scripts/cpbackup --force
    By benfish in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-17-2007, 07:29 AM
  5. /scripts/cpbackup -> /dev/sdb1 already mounted or /backups busy??
    By ttk_2k in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 12-05-2006, 06:02 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube