How to Back Up WordPress
Table of Contents
Having backups of your site is essential. Every webmaster should have a few backups of their website in case something goes wrong. The easiest way to do so is through our on-demand Backups tool.
Use Our On-demand Backups Tool
Our in-house made Backups tool lets you create backups and restore old versions of your site in just a few clicks. To find it, go to your Site Tools > Security > Backups. If you’d like to read more check out backup tool guide.
Backup WordPress Manually
WordPress is a web application based on PHP and MySQL. As such you need to back up all of its files and its database to have a full copy of your site. The easiest way to copy your files is via FTP. To do this follow the instructions in our tutorial on how to use FTP. Make sure that you save all the files and folders in the directory WordPress is installed in (public_html if it’s the main application for your account).
The WordPress database can be backed up like any other database. Follow the instructions in our tutorial on how to backup MySQL databases. In case you have multiple MySQL databases and you wonder which one your site is using, open the wp-config.php file in the WordPress root folder and you’ll see the database name saved next to the DB_NAME option.