WordPress backup is making a copy that you can restore when something goes wrong. Your post, comment, link are there in your wordpress database. If your database gets corrupted then the data inside it will get erased. If you have a proper wordpress backup, then you don’t lose any data. You can restore it quickly when it went wrong. You can restore the data manually and by using plugins. This can be done by two methods - cPanel and SFTP. Let's discuss the methods here.
What does a wordpress backup contain:
The WordPress site has two components: First your WordPress files. Which contains Theme/plugin files, media, etc… This helps to provide additional functionality and gives structure to your website.
Secondly, the MySQL database which is for storing the blog posts, comments, links, etc. These two components make the wordpress website. If we take WordPress backup which contains the entire data which is present in the database.
Manual Method for Wordpres Backup:
1. For manual method of wordpress backup, first you need to take backup for the files and database. Files get stored inside the web host server. Via cPanel and FTP you can access them.
2. Database backup is possible through phpmyadmin. It also needs the host account credentials. If you do not have cPanel access, then you can install phpmyadmin.
If this setup is ready, then you can start your wordpress backup. Before starting, you have to create a folder. In order to store the backuped data.
WordPress Backup Via cPanel:
This is one of the easy method for wordpress backup. For this, all you need is your host login credentials.
Backup via SFTP:
This wordpress backup process is by using a file manager like FileZilla or Transmit. This file manager is easy to use. For this method, you have to install the application on your pc. After installation, use your SFTP login credentials from your hosting account.
Then login to your file manager and give the details of your website. That contains your nickname, your website URL, FTP username and password. Also, you need to change the port number to 2222.
Once you logged in, you will see all your website files. You just select the file you want to backup >> Right click >>” Download selected items ”.
After downloading, check whether the files are zipped up or not. Then give a name to that file. This is the manual method for wordpress backup.