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

Recursive chmod / Permission Change Across Directories for a File Type

Recursive Permission Changes Across Directories   To change permissions recursively across...

E Sysup: Needed system RPMs were not installed: yum-utils

When encountering the following:E Sysup: Needed system RPMs were not installed: yum-utils*****...

Failed to lock proc mutex: Permission denied

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

How to convert InnoDB to MyISAM

Although at times faster, you will find InnoDB a very large headache when it comes to table...

Whitelisting Multiple IPs with Mod_Security

Whitelisting Multiple IPs in ModSecurity   If ModSecurity is blocking legitimate requests...



Save 30% on web hosting - Use coupon code Hosting30