How to Back Up a WordPress Site (4 Methods)
Since we've covered the importance of backing up your site, it's time to explore how to do it. Let's take a gander at how you can back up a WordPress site utilizing four methods.
1. The most effective method to Manually Back Up a WordPress Site
As we mentioned before, backing up a WordPress website involves replicating the entirety of its files and exporting the contents of its database. You can do the first of those two undertakings utilizing a File Transfer Protocol (FTP) client like FileZilla.
Your web host ought to provide you with a set of credentials that you can use to connect to your website through FTP, or SFTP in our case:
A set of FTP credentials.
Utilizing those credentials, you'll be able to connect with your server and discover your WordPress root directory. Much of the time, that directory is called public. To get started, feel free to duplicate or download the folder completely:
Downloading a WordPress root directory.
The download may take a while, as most WordPress websites include hundreds or thousands of files. Once the backup finishes, we recommend that you rename that folder to the backup's date and afterward store it in a safe area. It lets you keep your entire WordPress site (counting all media) on your PC or in a distributed storage arrangement.
That answers the question, "How would I back up my WordPress site with FTP?" — which leaves us with your database. The easiest method to back up that element is by going to your facilitating control panel and searching for your database management software.
In case you're utilizing Website, you can access your database by signing into your facilitating account dashboard (MyWebsite in case you're a Website user), selecting a website, and perusing to the Info tab:
The "Information" tab of the MyWebsite dashboard.
When you click on the alternative called Open phpMyAdmin, it will dispatch the database manager. Select your site's database from the menu to the left, and you should see a rundown of tables like this one:
WordPress database tables in phpMyAdmin.
Next, select Export in the menu at the highest point of the screen. phpMyAdmin will ask you what export method you need to use. The Quick choice will consequently include the entirety of your site's tables in a SQL file, which is the thing that we need.
Make sure to select SQL under Format, and afterward click on Go:
Exporting your website's tables from phpMyAdmin.
Your database file ought to download immediately. That is it!
At this stage, you have both your WordPress root directory and a duplicate of its database. You can compress the site directory and the database SQL file together and save them for a stormy day.
More...
https://dev.to/annaabram/how-to-back-up-a-wordpress-site-4-methods-4ckf
Comments
Post a Comment