Terminate a restore
Sometimes you may want to stop a cPanel restore whilst it is in progress. For example, if you have a number of large cPanel backups for the same user and you start to restore the site from the wrong backup, using the abort feature inside the transfer tool of your cPanel server will take a considerable amount of time to terminate. You can also achieve the same thing by removing the entries in the restore_queue.stor file and restarting the cpsrvd service.
Stop The Restore
Login to your server as the root user and first clear the queue file using the below command;
cat /dev/null > ; /var/cpanel/backups/queue/restore_queue.stor
Finally, restart the service and the restore will have been stopped.
/scripts/restartsrv_cpsrvd
Now you can restore the correct backup to your server by using the transfer tool or the command line.
Protect your server with a free Firewall. Install CSF to protect your cPanel server from brute force attacks and more. To further strengthen the security of your server always use a custom SSH port. Get free server management with disaster recovery with every First2Host cPanel VPS. Powered by PCIe NVMe storage and guaranteed to be faster than any SATA, SSD and SAS based hosting service.
How was this article? – How to stop a cPanel restore whilst it is in progress
More from cPanel
How To Install A Cloudflare Origin SSL Certificate In cPanel
Free SSL Certificates from places like cPanel or Let's Encrypt are great. When Let's Encrypt first introduces free SSL Certificates …
Create a SWAP partition on CentOS, RHEL and AlmaLinux without a reboot
SWAP is a memory type that Linux NVMe VPS Servers use to process requests. Memory will be held in SWAP …
Help fixing Error: last request failed: [AUTH] Authentication failed.
The Error: last request failed: [AUTH] Authentication failed error can be caused by a range of things. It could be …