Quantcast How to force cPanel to backup entire server from root - digitalFAQ Forum
  #1  
08-22-2014, 12:16 AM
kpmedia's Avatar
kpmedia kpmedia is offline
Site Staff | Web Hosting, Photo
 
Join Date: Feb 2004
Posts: 4,241
Thanked 354 Times in 332 Posts
cPanel doesn't have a convenient "backup now" button in WHM, and the one available in cPanel is only per account. There's no way to easily backup an entire server on-demand.

To backup the whole server, enter root, and type:

Code:
/usr/local/cpanel/bin/backup --force
That's it.

Check the destination server after a few minutes, and you should see the new dated folder with content being written.

WARNING:

This is also helpful if you want to have a special "hidden" server (no credentials stored anywhere in cPanel) for occasional backups. Add the destination server, backup, and then remove it again. Remember that cPanel "pushes" backups -- it does not pull them. So if somebody infiltrates the primary server, they can access the backup as well.

This is something that admins need to keep in mind!


Need a good web host? — Read our 2018 Review of the Best Web Hosts
Quite often, problems with web sites are caused by having a rotten web host. Worse yet, many hosts try to blame you (the customer) for the problems! So dump that lousy company. Say goodbye to slow sites, unresponsive support techs, and downtime. Find yourself a new host today. Whether you need shared, reseller, VPS, semi-dedicated, cloud, or dedicated hosting, something on our list should be a good upgrade for you.


- Did my advice help you? Then become a Premium Member and support this site.
- Please Like Us on Facebook | Follow Us on Twitter

- Need a good web host? Ask me for help! Get the shared, VPS, semi-dedicated, cloud, or reseller you need.
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Ads / Sponsors
 
Join Date: ∞
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
How to setup cPanel/WHM on a new VPS or dedicated server admin cPanel WHM 1 03-28-2014 01:23 AM
How to backup your website in cPanel Brent cPanel 0 08-25-2013 08:39 PM
Install phpGD and ImageMagick via SSH on cPanel server? allaboutduncan Website and Server Troubleshooting 2 12-11-2012 10:07 AM
Google Apps email vs cPanel server email? Which is best? prado Website and Server Troubleshooting 1 06-27-2012 04:31 AM
How to disable root logins to secure SSH on Linux server (or VPS) kpmedia SSH for VPS/Dedicated (CLI) 0 01-10-2012 07:00 AM

Thread Tools



 
All times are GMT -5. The time now is 12:06 PM