Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
NickTheGreek

Force Backup to Start (WHM/cPanel)

Recommended Posts

Force Non Legacy Backup to Start (WHM/cPanel)

Learn backup configuration that will force it to run immediately instead of waiting for the backup schedule. Learn to do it yourself.

If you have setup a Backup to run in WHM -> Backup -> Backup Configuration and would like to force it to run immediately instead of waiting for the backup schedule you can do so through SSH.

1. Login to your server via SSH

2. Type: /usr/local/cpanel/bin/backup --force

3. This will report that it is starting the backup and creating a log file.

4. If it does not return with that information after running it, this means that there is most likely already a backup being taken. You can check to see if a backup is being run by typing: ps aux | grep backup

If it has been running a long time (e.g. it may be hung) you can kill it by finding the PID from the ps aux output, and typing: kill -9 PID

https://www.vpsblocks.com.au/support/Knowledgebase/Article/View/225/11/force-non-legacy-backup-to-start-whmcpanel

 

Force Legacy Backup to Start (WHM/cPanel)

 

/scripts/cpbackup --force

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×