bltst2

Member
Jun 10, 2008
6
0
51
I've moved from Legacy backups to the new Backup system via WHM. I noticed that backups were taking a longer time then normal and looked into crontab to investigate.

Under the 'root' crontab, I noticed the following:
0 1 * * * /usr/local/cpanel/scripts/cpbackup
0 2 * * * /usr/local/cpanel/bin/backup
Is this normal? Should I have two instances of a 'backup' script running? Is one of these part of the legacy process and one part of the new system? Thanks...
 

vanessa

Well-Known Member
PartnerNOC
Sep 26, 2006
959
76
178
Virginia Beach, VA
cPanel Access Level
DataCenter Provider
The "/usr/local/cpanel/scripts/cpbackup" script is for legacy backups. It's normal, from what I've seen, for both to exist in the crontab. However, if legacy backups are not enabled, the script won't actually do anything:

Code:
root@ocelot [/etc]# /usr/local/cpanel/scripts/cpbackup
info [cpbackup] Started at Tue Apr 15 09:38:07 2014
[cpbackup] Backup Not Enabled (This can be adjusted in WHM => Backup => Legacy Backup Configuration)
If backups are taking longer than usual to complete, but are in fact completing, you might want to check what's going on with the server at the time. Is the load high (use sar -q)? Do you have very large accounts? Is the IO priority set too low (WHM -> Tweak Settings)?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello :)

Yes, the previous post is accurate. Backups will only generate through those cron jobs when specifically enabled. Try reviewing the system during the backup process to see if the load/disk I/O is higher than it should be.

Thank you.