How to Create a Backup of Your WordPress Site in cPanel and Plesk
Print- Copia de Seguridad de Tu Sitio WordPress
- 3453
How to Create a Backup of Your WordPress Site in cPanel and Plesk
Creating a backup of your WordPress site is crucial to ensure that you can restore your website in case of errors or problems. Here's a step-by-step guide on how to create a full backup of your WordPress site using both cPanel and Plesk.
Creating a Backup in cPanel
Step 1: Backup Your Website Files
-
Log in to cPanel.
-
You can access cPanel by going to
http://yourdomain.com/cpanelor via your hosting provider's dashboard.
-
-
Navigate to File Manager.
-
In the Files section, click on File Manager.
-
In the File Manager, navigate to the public_html folder (or the directory where your WordPress site is installed).
-
-
Download Your Website Files.
-
Select all the files and folders related to your WordPress installation (e.g.,
wp-content,wp-config.php,.htaccess, etc.). -
Right-click and choose Compress to create a
.ziparchive of your site files. -
Once the files are compressed, select the zip file and click Download to save it to your local computer.
-
Step 2: Backup the WordPress Database
-
Go to phpMyAdmin.
-
In cPanel, go to the Databases section and click on phpMyAdmin.
-
-
Export Your Database.
-
Select the WordPress database (you can find the database name in the
wp-config.phpfile of your site). -
Once the database is selected, click on the Export tab at the top.
-
Choose the Quick export method and select SQL as the format.
-
Click Go to download the database
.sqlfile to your computer.
-
Creating a Backup in Plesk
Step 1: Backup Your Website Files
-
Log in to Plesk.
-
You can access Plesk by going to
https://yourdomain.com:8443or by logging into your hosting provider's Plesk dashboard.
-
-
Navigate to File Manager.
-
In the Plesk panel, find the Websites & Domains section and click on File Manager.
-
Locate the httpdocs (or the folder where your WordPress site is installed).
-
-
Download Your Website Files.
-
Select all files and folders associated with your WordPress site (e.g.,
wp-content,wp-config.php,.htaccess, etc.). -
Click Archive to create a
.zipfile. -
Once the archive is created, click on it and select Download to save it to your local computer.
-
Step 2: Backup the WordPress Database
-
Go to phpMyAdmin.
-
In the Plesk dashboard, go to Databases under the Websites & Domains section.
-
Click on the WordPress database.
-
From the database page, click on phpMyAdmin to open the database management tool.
-
-
Export the Database.
-
In phpMyAdmin, select the WordPress database.
-
Click on the Export tab.
-
Choose the Quick export method and select SQL as the file format.
-
Click Go to download the
.sqlfile of your database to your computer.
-
Using Backup Tools in cPanel and Plesk
Option 1: Full Backup in cPanel
-
Log in to cPanel and go to the Files section.
-
Click on Backup.
-
Under Full Backup, click Download a Full Website Backup.
-
Choose the backup destination (you can select Home Directory or Remote FTP Server if you want to store it elsewhere).
-
Click Generate Backup.
-
Once the backup is generated, you can download it from the Backups Available for Download section.
Option 2: Full Backup in Plesk
-
Log in to Plesk and go to Websites & Domains.
-
Click on Backup Manager.
-
Click Back Up and choose Full Backup.
-
Select the backup destination (e.g., your local computer or remote FTP).
-
Click OK to start the backup process.
-
Once the backup is finished, download it from the backup section.
Restoring the Backup
If you need to restore your backup, simply:
-
Upload the website files (via File Manager or FTP) to the correct directory on your new server or hosting account.
-
Import the database via phpMyAdmin (by selecting Import after choosing the database and uploading the
.sqlfile). -
Edit the wp-config.php file to reflect the new database settings if you're migrating to a new server.
Creating a backup of your WordPress site in cPanel and Plesk is an essential task to safeguard your website. With the above steps, you can easily back up both the files and the database of your WordPress site. It's recommended to create regular backups and store them in a secure location to avoid any potential data loss.
If you have any further questions, feel free to ask!

ID Tax. EIN 32-0774429 US