WordPress backup with cPanel is the first of a series of posts to explore various methods to backup your website.
cPanel is a very popular hosting hosting control panel, and has tools that built that can be used to backup our website. It's also free and doesn't require installing extra plugins or paying for outside services. There are other methods we can use for WordPress backups, including FTP or a specific backup plugin but today we'll do our WordPress Backup with cPanel.
There are two parts when doing a WordPress backup with cPanel. First we backup website files and second we backup the database.
Login to your cPanel hosting account and click the Files > File Manager icon.
Once in the File Manager click the public_html link to open that folder. Your WordPress website is stored in this folder.
Select your WordPress files starting with the wp-admin folder and select all the other folders and files. To select multiple files on a PC use the "Shift" key while clicking the wp-admin folder and keep holding the shift key while clicking the very last file in the folder. This will select all files.
Note: In this case I'm not selecting the "cgi-bin" folder as it's not part of my WordPress installation but the cPanel hosting account folder.
Now I'll zip the WordPress website files into one folder to reduce the size. Having all website files in one folder makes downloading quicker, storing and/or restoring easier.
To compress (zip) the website files right click in the right pane in the blue selected area and click the Compress link. Select your type of backup, I'll use the "Zip Archive" option and then click "Compress Files" to proceed.
Your files are now compressed into a single folder and stored in this directory, ready for downloading to your computer (and/or leaving in your hosting account as a backup). Once the compression is completed click the "Close" button on the Compression Results dialog box.
There will now be a "wp-admin.zip" file in your public_html folder. These are your compress website files, ready for download.
Right click on wp-admin.zip > Download and download the file to your computer.
Note: To save disk space on your web hosting account, I recommend deleting the zipped file once you've downloaded the backup to your desktop. To delete the file right click on the file and click "Delete".
In your cPanel control panel homepage find the "Databases" section and click "phpMyAdmin".
Once in phpMyAdmin find your database and click on the link.
Your database will open, click the "Export" link at the top.
Your export options will be "Quick" or "Custom", I recommend "Custom". Then select the "Compression" type as "Zipped". You may ignore all the other settings on the page.
Scroll down to the bottom of the page and click the "Go" button. Your database will now be zipped and once completed, automatically downloaded to your computer.
Note: for larger databases this may take a few minutes to complete.
And that's it, you've now backed up your WordPress files and WordPress database in cPanel, and downloaded both to your computer.
DON'T FEEL LIKE BACKING UP YOUR WORDPRESS WEBSITE?
Let us do it all for you with our Website Care Plans!
Website Care Plans include a host of time saving and security features to take care of your website for you. We even do custom work on your site each month, and lots more.