stand for ukrainian independence image
Stand for Ukrainian Independence. Contribute.
stand for ukrainian independence image
Help Center
Backup Your WordPress Site ASAP
Aya
Eleonora Zolotarova
Content Marketer
Updated on
Useful Resources

Backup Your WordPress Site ASAP

We made a small contest in our community for this Halloween, asking our users to share their biggest web-development horror stories. The scariest ones were connected with the projects that didn’t have a WordPress backup! In this article, we will figure out how to backup a WordPress site, why you need it, what mistakes you should avoid, and much more.

Table of Contents

Why Do You Need WordPress Site Backup?

To return to a proven and secure version of the WordPress site in case of force majeure. And there’s plenty of such cases: software glitches, hardware issues, malware, hacker attacks, or just server outages.

If there are no WordPress backups, it will be impossible to restore the broken site.

How Does WordPress Website Backup Work?

All your website data is stored on the hosting provider’s server. When you create a backup copy of your current website, you copy data to another location – to your computer, another provider’s server, cloud storage, hard drive, and so on.

Keeping a single version of the backup is not enough. Sometimes issues with the site become noticeable not immediately but after a while. For example, a computer virus can quietly be destroying your data for several days before you realize it. Thus, your yesterday’s backup will not help to restore the site in any way. It’s better to keep backups for a month or even three months.

There’re several types of WordPress backups:

  • A full backup – copying all the files and the database.
  • Incremental backup – when not all files are copied but only new and changed ones since the creation of the previous copy, the WordPress full site backup, or an additional one.
  • Differential backup – the process of copying only those files that have been modified or created since the last time a full backup task was run. The difference between incremental and differential backups is that with a differential backup, changes in the original data are counted from the full backup and not from the previous partial backup.
  • Mixed backup – consists of a full backup followed by a certain predefined number of incremental or differential backups.
Pro tip

No matter which method you choose, it is vital to backup your site regularly. It will prevent you from losing important data and save your nerves.

Ways To Backup WordPress Site

Automatic backups on hosting

Any paid hosting provides an automatic backup of site files. Site backups contain page design, including scripts, logos, and styles.

Pros:

  • Backup conducts every day automatically, so you don’t have to rely on anyone.
  • You can choose a hosting where the backups’ frequency and the term that backups are stored will suit you.

Cons:

  • Storing the site itself and WordPress backup in one place is not rational. In case of a hacker attack, you will lose all data at once.
  • Hosting providers usually store backups for a limited time. That is, if the copy is stored for two weeks, and you found an error made 15 days ago, the backup will not help in any way.
  • It is not free. 
  • Sometimes hosting providers may simply fail in making WordPress backups.

Built-in export function in WordPress

No matter if you have a self-host WordPress or a WordPress.com site, you can use a WordPress backup service. But read the description carefully! This backup is limited.

Pros:

  • Convenient to transfer posts to another site or something like that.
  • Built-in feature. It’s great when you don’t have to make unnecessary movements.

Cons:

  • Allows to backup just posts and pages, links, media, and feedback.

Best WordPress Backup Plugins

There’re lots of ready-to-go WordPress backup plugins, that ease this process. Of course, they have advantages, but nevertheless, we do not recommend using plugins to backup your WordPress site. Let’s figure things out.

Pros:

  • Easy setup and usage.

Cons:

  • The smallest issue on the server could fail the backup. You won’t even know it until you need this file. 
  • Backups are usually stored on a website, not on a server.
  • Plugins often conduct the database backup poorly. It’s possible to restore files (via other plugins), but restoring the content is much more challenging.
  • At the same time, there is always the risk that the plugin backs up the website content only, not the server settings.

One of the most reliable ways to backup the WordPress site (actually, any site) has always been the manual method, through cPanel. Let’s have a closer look at it.

How to create a WordPress backup via cPanel?

cPanel is a multifunctional hosting control panel that allows performing the tasks more comfortably and faster. Even newbie developers can adjust websites via cPanel without difficulties. 

cPanel works stably with popular technologies (Apache, MySQL, PHP, etc.). It’s multilingual, contains built-in protection tools against various types of attacks, provides the website traffic statistics, and allows saving backups of your websites conveniently.

Let’s dwell on creating backups. 

Pros:

  • It’s reliable since you conduct and follow the backup by yourself.
  • You can immediately select the destination for saving the copy.

Cons:

  • The process may be a bit confusing for the newbies. But every hosting is likely to have a tutorial base.

Almost all paid hostings include cPanel. The algorithm for creating backups on different hosting will be slightly different. For example, we will show the instructions for creating backups on SiteGround hosting.

Option #1 – If the website is under 5000 MB

If the site is small enough, you can back it up in a single step:

  1. Click the Download a Full Website Backup button.
  2. On the newly-opened page, choose the location for the new backup and fill in an email to receive a notification when the backup is accomplished.
  3. Click the Generate Backup button. 

That’s all! You can find the backup in the specified folder and download it.

Option #2 – If the website is over 5000MB

If the site is large, you have to copy the database and the files separately to make a full backup. 

To make the files’ backup, you have to download all files from the public_html folder to your computer via any  FTP client. After it, you will be able to upload the files back to your hosting account and thus restore the website.

To make a database backup, you have to copy the MySQL database. To do this, you can use the phpMyAdmin available in your Site Tools > Site > MySQL > phpMyAdmin. Here’re the next steps:

  1. After loading the tool page, select the desired database in the panel on the left. In case you have several MySQL databases and are not sure which one your website is using, open the wp-config.php file in the WP root folder, and you’ll see the name of the database displayed next to the DB_NAME option.
  1. A new page with the structure of the selected database will be loaded. To back up the database, click the Export button.
  2. On the new page, you will have to choose between the Quick and the Custom export methods. Quick is a more common method, but if you want to adjust the export process, use the Custom one. After choosing the way, select the desired format of the backup from the drop-down list and click on Go.
Export WordPress database
SiteGround

As you can see, this backup process requires a bit more time, but it still isn’t complicated. Note that cheap/free hostings or your localhost environment usually don’t provide cPanel. In this case, the site backup algorithm is almost similar. You will have to copy files through the file manager, but the MySQL database backup process is the same via phpMyAdmin.

And one last thing: following this link, you will be able to get up to 60% OFF the SiteGround hosting + pre-installed Crocoblock wizard plugin.

Work faster with Crocoblock

Website Backup Errors

I already pointed some out, but now let’s cover all of them.

  1. Only backing up the database 

Of course, this is better than nothing, but you need to save the content too. If you have too much content, make a separate content database to add the latest items after each update.

  1. Not checking up the backup results

As I said before, any issue on the server, even an unexpected surge in traffic, can lead to the backup process failure. And you also need to check the safety of existing copies and the place where they are stored.

  1. Storing backup and website on the same server

A real jackpot for the intruder!

  1. Making backups not daily

Don’t spare space in your cloud storage, or, better yet, buy several hard drives. Losing money is nothing compared to losing data.

WordPress Backup FAQs

What is WordPress Backup? 

Backup is the process of copying your files and database to restore your website in case of any inconvenience.

How much does it cost to backup a WordPress site?

There are free and premium options. You can backup WordPress sites manually, using plugins or hosting. 
Premium WordPress backup premium plans vary from $49.

How to backup your WordPress site with no plugin?

Using the built-in export feature in WordPress, you can backup your WordPress site without a plugin, or your hosting can provide a backup service.

How to backup a WordPress site manually?

1. Go to the FTP client and sort “Local site” to find the backup folder.
2. Choose Site Files folder
3. Select public_html folder 
4. Drag and drop it to the Site Files folder
5. Transfer Site Files to the backup folder at your computer.
6. Complete backup process.

And Now Briefly

  • Always remember to back up your site; do it before updating any plugin & theme.
  • Store copies on several media for at least one month, and preferably for three months.
  • There’re different ways how to backup a WordPress site. We consider the old good manual way of creating copies via cPanel, the most reliable one. If you choose another method, make sure you know all its pros and cons.

Was this article helpful?

Please share it with newbie developers, so they don’t make the fatal mistake, and don’t forget to make copies of their sites!

👉Read also our Best WordPress Security plugins article.