Here we will discuss about, how to Backup Files And Database in a WordPress . A backup is just the copy of your original site through which you can restore your original site if anything goes wrong. Keeping backup on safe side is always advisable.
Why Backup is required?
Backup allows you to retrieve your site back if something goes wrong or if your site breaks. There could be many reasons for this like external attack, hacking, server down, etc. You can lose everything from data to all the posts on your site. To avoid this, backup is important.
Securing your backup is also an important issue. Make sure to update your plugins and themes regularly or in a certain interval. Use strong Username and Password.
How to Backup files in a wordpress?
To get the backup files of WordPress, you need to install FileZilla Client on your system. Here are some steps by following which you can backup your files in a wordpress.
Step 1 : First you have to open FileZilla Client.
Step 2 : Enter the Host, Username, Password and Port like you have used to log-in to your cPanel.
After fill all these point you have to click on quickconnect button.
Step 3 : You will get all files and folders of your WordPress site on the right side.
Step 4: Select all the files and folders and right click on the mouse and click on Download.
After downloading files from cPanel, it will save to your system.
How to Backup database in a wordpress?
Here are some steps by following which you can backup database in a wordpress.
Step 1 : Type the path http://localhost/phpmyadmin in your browser.
Step 2 : Click on the database name ‘wordpress’ which you have created for WordPress.
Step 3 : After clicking on database wordpress here a page appear there you have to click 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 click on Go button. After exporting the database it will save to your system.