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

Error: Multilib version problems found

Finished Dependency Resolution Error:  Multilib version problems found. This often means that...

Manually Clear from Console / Command Line cPanel Exim Mail Queue

Clearing the Exim Mail Queue From Command Line   If the Exim mail queue on your server has...

error: db3 error(-) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery

error: db3 error(-) from dbenv->failchk: DB_RUNRECOVERY: Fatal error, run database recovery...

FTP Failed: Service check failed to complete Unable to connect to port 21

The service “ftpd” appears to be down. The system failed to connect to this service’s TCP/IP...

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