WordPress Settings
- WordPress - Plugin Setting
- WordPress - Permalink Setting
- WordPress - Media Setting
- WordPress - Discussion Setting
- WordPress - Reading Setting
- WordPress - Writing Setting
- WordPress - General Setting
WordPress Categories
- WordPress - Arrange Categories
- WordPress - Delete Category
- WordPress - Edit Category
- WordPress - Add Category
WordPress Posts
- WordPress - Publish Posts
- WordPress - Preview Posts
- WordPress - Delete Posts
- WordPress - Edit Posts
- WordPress - Add Posts
WordPress Media
WordPress Pages
WordPress Tags
WordPress Links
WordPress Comments
WordPress Plugins
WordPress Users
- WordPress - Personal Profile
- WordPress - Delete Users
- WordPress - Edit Users
- WordPress - User Photo
- WordPress - Add Users
- WordPress - User Roles
WordPress Appearance
- WordPress - Background
- WordPress - Widget Management
- WordPress - Customize Theme
- WordPress - Theme Management
WordPress Advanced
- WordPress - Reset Password
- WordPress - Optimization
- WordPress - Backup & Restore
- WordPress - Spam Protection
- WordPress - Version Update
- WordPress - Host Transfer
WordPress Useful Resources
- WordPress - Discussion
- WordPress - Useful Resources
- WordPress - Quick Guide
- WordPress - Questions and Answers
Selected Reading
- Who is Who
- Computer Glossary
- HR Interview Questions
- Effective Resume Writing
- Questions and Answers
- UPSC IAS Exams Notes
WordPress - Backup & Restore
In this chapter, we will study how to Backup & Restore files and database in WordPress. In WordPress there are two parts of backing up such as −
WordPress Files Backup
WordPress Database Backup
WordPress Files Restore
WordPress Database Restore
WordPress Files Backup
To get the backup files of WordPress, you need to install FileZilla Cpent on your system.
Following are the simple steps used for files backup operation in WordPress −
Step (1) − Open the FileZilla Cpent as shown in the following screenshot.
Step (2) − Enter the Host, Username, Password and Port pke you have used to log-in to your cPanel.
After filpng all the fields, cpck on Quickconnect button.
Step (3) − You will get all files and folders of your WordPress site on the right side as seen in the following screen.
Step (4) − Select all the files and folders and right cpck on the mouse and cpck on Download.
After downloading the WordPress files from cPanel, it will be saved on your system.
WordPress Database Backup
Following are the simple steps for database backup in WordPress −
Step (1) − Type the path http://localhost/phpmyadmin in your browser. You will get the following screen.
Step (2) − Cpck on the database name ‘wordpress’ which you have created for WordPress.
Step (3) − After cpcking on database wordpress, it will open the following page. Cpck on Export tab.
Step (4) − You will get two methods to export the database i.e. Quick and Custom. Select any one of the methods and cpck on Go button.
After exporting the database file, it will get saved on your system.
Restoring WordPress Files
Following are the simple steps used to restore the files in WordPress using ftp −
Step (1) − Open the FileZilla Cpent and login to your site using ftp as shown in the following screen.
Step (2) − Open the local directory in ftp and upload all WordPress files to your website as shown in the following screen.
Step (3) − Then, go to your wordpress folder → wp-config.php file. Copy and rename wp-config.php file before editing, in case of some mistake you can restore this file back.
Open the wp-config.php file and locate the following code.
define( DB_NAME , db_name );
Replace the db_name with your database name which you have created.
define( DB_USER , db_user );
Replace the db_user with your username of MySql.
define( DB_PASSWORD , db_password );
Replace the db_password with your password of MySql.
Save your wp-config file after editing and upload it to your WordPress site through ftp.
Restoring WordPress Database
Following are the steps used to restore the database in WordPress −
Step (1) − Type the path http://localhost/phpmyadmin in the browser. The following screen will pop up.
You can create a new database or import your backup in the existing database.
Here we ll create a new database name, i.e., new_wordpress and cpck on Create button.
Step (2) − You can view your created database as shown in the following screen. Cpck on the database name new_wordpress.
Step (3) − Cpck on Import.
Step (4) − Cpck on Choose File button to select the backup file from your system. After uploading the sql file, select format as SQL as shown in the following screen.
Cpck on Go button.
Step (5) − Once you cpck on Go, you will get a message after the sql file is uploaded successfully.
Advertisements