WordPress Backup Restore

Backup Restore

Backup Restore

On this chapter, we’ll examine tips on how to Backup & Restore information and database in WordPress. In WordPress there are two elements of backing up corresponding to −

  • WordPress Information Backup
  • WordPress Database Backup
  • WordPress Information Restore
  • WordPress Database Restore

WordPress Information Backup

To get the backup information of WordPress, it’s essential set up FileZilla Consumer in your system.

Following are the straightforward steps used for information backup operation in WordPress −

Step (1) − Open the FileZilla Consumer as proven within the following screenshot.

WordPress Backup and Restore

Step (2) − Enter the Host, Username, Password and Port like you’ve used to log-in to your cPanel.

WordPress Backup and Restore

After filling all of the fields, click on on Quickconnect button.

Step (3) − You’re going to get all information and folders of your WordPress website on the precise aspect as seen within the following display.

WordPress Backup and Restore

Step (4) − Choose all of the information and folders and proper click on on the mouse and click on on Obtain.

WordPress Backup and Restore

After downloading the WordPress information from cPanel, it is going to be saved in your system.

WordPress Database Backup

Following are the straightforward steps for database backup in WordPress −

Step (1) − Kind the trail http://localhost/phpmyadmin in your browser. You’re going to get the next display.

WordPress Backup and Restore

Step (2) − Click on on the database identify ‘wordpress’ which you’ve created for WordPress.

WordPress Backup and Restore

Step (3) − After clicking on database wordpress, it should open the next web page. Click on on Export tab.

WordPress Backup and Restore

Step (4) − You’re going to get two strategies to export the database i.e. Fast and Customized. Choose any one of many strategies and click on on Go button.

WordPress Backup and Restore

After exporting the database file, it should get saved in your system.

Restoring WordPress Information

Following are the straightforward steps used to revive the information in WordPress utilizing ftp −

Step (1) − Open the FileZilla Consumer and login to your website utilizing ftp as proven within the following display.

WordPress Backup and Restore

Step (2) − Open the native listing in ftp and add all WordPress information to your web site as proven within the following display.

WordPress Backup and Restore

Step (3) − Then, go to your wordpress folder → wp-config.php file. Copy and rename wp-config.php file earlier than enhancing, in case of some mistake you may restore this file again.

Open the wp-config.php file and find the next code.

outline('DB_NAME', 'db_name');

Substitute the db_name along with your database identify which you’ve created.

outline('DB_USER', 'db_user');

Substitute the db_user along with your username of MySql.

outline('DB_PASSWORD', 'db_password');

Substitute the db_password along with your password of MySql.

Save your wp-config file after enhancing and add it to your WordPress website by ftp.

Restoring WordPress Database

Following are the steps used to revive the database in WordPress −

Step (1) − Kind the trail http://localhost/phpmyadmin within the browser. The next display will pop up.

WordPress Backup and Restore

You’ll be able to create a brand new database or import your backup within the present database.

Right here we’ll create a brand new database identify, i.e., new_wordpress and click on on Create button.

Step (2) − You’ll be able to view your created database as proven within the following display. Click on on the database identify new_wordpress.

WordPress Backup and Restore

Step (3) − Click on on Import.

WordPress Backup and Restore

Step (4) − Click on on Select File button to pick the backup file out of your system. After importing the sql file, choose format as SQL as proven within the following display.

WordPress Backup and Restore

Click on on Go button.

Step (5) − When you click on on Go, you’re going to get a message after the sql file is uploaded efficiently.

WordPress Backup and Restore