Killing cPanel Backups via Command Line / Shell

Stopping cPanel Backups From the Command Line

 

From time to time the cPanel backup system may run longer than expected and begin affecting website performance during business hours. If you have SSH access (or your hosting provider can run these for you), the following commands will stop the backup processes.

 

Kill All Backup Processes

/scripts/killacct --force backup
killall cpbackup
killall gzip

 

If the above does not fully stop the backup, you can also try:

ps aux | grep -i backup | grep -v grep | awk '{print $2}' | xargs kill -9

 

When to Use This

Only kill backup processes if they are actively causing performance problems for live websites. Backups are important and should be allowed to complete under normal circumstances. If your backups are consistently running too long, it may indicate that your account is very large or that the backup schedule needs adjustment.

 

Adjusting Backup Schedule

If you are a reseller or have WHM access, you can adjust when backups run by going to WHM > Backup Configuration. Schedule backups during off-peak hours (typically 1 AM to 5 AM) to minimize impact on your websites.

 

If you do not have SSH or WHM access and are experiencing performance issues from backups, open a support ticket and we will handle it.

  • 134 Users Found This Useful

Was this answer helpful?

Related Articles

CSF Error: *WARNING* Binary location for [HOST] [/usr/bin/host] in /etc/csf/csf-conf is either incorrect, is not installed or is not executable

During a CSF start or restart you may encounter this error. This is a result of /usr/bin/host...

Error: rpmdb open failed with cPanel

Fixing RPM Database Errors in cPanel   The error "rpmdb open failed" occurs when the RPM...

Create CXS Quarantine Directory

Creating a CXS Quarantine Directory   CXS (ConfigServer eXploit Scanner) quarantines...

Clear cPanel Eximstats DB and Repairing the Eximstats DB

Over the time or due to spammers the eximstats database file may grow to a large size. To clear...

Failed to lock proc mutex: Permission denied

The error : Failed to lock proc mutex: Permission denied can occur when using mod_ruid2 with...



Save 30% on web hosting - Use coupon code Hosting30