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

cPanel Account - PHP Startup: Unable to load dynamic library

PHP Startup Error: Unable to Load Dynamic Library   The error "PHP Startup: Unable to load...

cPanel Max Defers Occurring for an Account

While viewing exim_mainlog and seeing the following:   enforce_mail_permissions: Domain...

ModSecurity: collection_store: Failed to access DBM file /var/cpanel/secdatadir/ip: Permission denied

The error Failed to access DBM file /var/cpanel/secdatadir/ip: Permission denied can occur on...

Failed to lock proc mutex: Permission denied

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

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...



Save 30% on web hosting - Use coupon code Hosting30