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