How to Back Up Your WordPress Site

How to optimize images for WordPress
10 Tips for Becoming a Successful Affiliate

It is always good to have a backup plan – to be failsafe, by insurance or a Plan B if your site breaks down. Think of the peace of mind that you will have to know that no matter what happens, you can restore your website to its old form and glory with WordPress backups. If you have lost your website, you agree that you are not one of the best feelings. Hackers, human errors, system failures, or unprecedented traffic spikes are a few things that can break your site. Reliable backups you cover up losses and undo the stress that will come with a broken site. This tutorial will give you a light on what are backups and shows methods that do look like they create entire WordPress backups are thing of the fifth year. At the end of this post, you will have all the tips and tools you need to do a WordPress backup.

Grab a pen, a paper, a cup of tea, coffee or anything you want and get ready to create reliable backups as a professional, ready?

Let’s start.

Content

  • What Are WordPress Backups?
  • Why You Need Backups?
  • Suffering What does the lack of a Backup
  • Option 1 – Backing up a WordPress site with Hostinger hPanel
  • Option 2 – Backing Up WordPress via FTP & phpMyAdmin
  • Option 3 – Backup WordPress Plugins
  • resources Additional
  • Final considerations

What Are WordPress Backups?

If you do not know how to manage a WordPress site, you probably do not have any idea of what constitutes a backup. If you are wondering what is made a full backup when it comes to websites, do not worry – we take care of it. It turns out that a website is simply a backup copy of a site. A full backup – in case of WordPress sites – is simply a copy of all files, all media and the database.

Why You Need Backups?

Well, the reason here is simple. We gathered a great variety of experiences. In his time as a website owner, you will have your own problems to share – it is inevitable and happens to all of us.

Avoid Unnecessary Stress

Malicious hackers (we have ethical hackers nowadays) do riot in the sites of their victims and dismantle their businesses. To reduce the spread of hack, many hosts usually disable the affected sites. Now, take back up of your website as it rotates is a challenge to most, so if your host offers a poor support. Obviously the situation will cause you much stress.

Avoid Lost Time

Having your website online back after being hacked involves larger issues (remove infected and damaged files plugins) that take much time, especially if your host is not effective. Exactly, and things get worse if you do not have your own backups, because most of the time, the hacker also corrupts the backup host your guard. What a shame, especially when you can create a backup in minutes.

Avoid Lost Income

When they say time is money, which simply means that if your site breaks, you lose every second of income, and this is unacceptable. You also lose money if your site take a year to load. Also, you waste time rebuilding (often zero) – time that could spend to increase your bottom line. Every minute on your website is disabled means lost revenue. For example, take a developer of themes that depends on demonstration sites. If the entire network is offline, they will have losses substantially every minute. This applies to any other website owner.

It is especially bad if you are paying for traffic:

You are not only paying for clicks, which now needs to be controlled. You are also paying for the loss of sales opportunity and lost customers. And then you will be paying for unproductive employees while available is restored. Seen in: The Website Downtime Survival Guide – KISSmetrics

A Site Broken dirty Your Credibility

Once your site goes down, much of its credibility will be affected. As bad content, a website that is not available (or one that is slow, or contains spam) is anything but a good user experience. And the user experience is that if what you want is to impress your web visitors. Once the user experience goes out the window, credibility is unreachable. Your target audience and investors will associate the performance of your site offline with your business in the real world. You want this?

Pro Tip: Assuming you have a great host, you can prevent falls reported to the server. And if you have a great backup solution for WordPress, you can effectively prevent the fall of a broken website.

Suffering What does the lack of a Backup

While it is good to prepare, you’ll never be prepared for things like disease and death that come close to us. Occurrences like this are difficult, which means that you can forget to renew your domain and hosting to time. As a result, you may lose your domain and the host can delete your website. When it’s time to get back to business, it will be a chore if you have to rebuild your website from scratch. If you have a saved backup somewhere, I do not need the The Wayback Machine either to try to save its contents. Remember that the process is not as easy as copy – paste. In short, you will have to copy – paste the text, pick up new images, format your posts and edit links all over again. Just think how unpleasant it is if you have a large website. In addition, The Wayback Machine does not index all your content, then yes, there is that.

What Does It Mean To You?

From the moment that most of your time goes to your job, you can rebuild your site for many months, which will have a negative effect not only on your SEO ranking but also the number of inquiries you will take before lose site. If you have a full backup of WordPress, you can only buy a new domain, a host account and simply put your website online. Now you know better. Now that you know what a WordPress backup is and why you need it, how about we move on and learn to create a full backup that will not break your heart? Sounds good, right?

Option 1 – Backing up a WordPress site with Hostinger hPanel

Taking into consideration that you may be in a different host, we will keep things clear. All the same, your best bet is to choose a web host that allows you to create as complete WordPress backups you want. If backups are automated, best, although I personally prefer to do things manually. Without further ado, let’s get down and dirty. For this section, (and you can probably see in the subtitle) we are using the WordPress host Hostinger. Do not worry if you are using a different host if they support hPanel, the process is basically the same. Other than that: whenever you create WordPress backups, has the habit of saving many instances of the same. Save a copy on your PC, send an e-mail or save one in the cloud for platforms like Dropbox and Google Drive, among many others. In addition; label your backups appropriately to avoid confusion in the future.

Creating backups via the WordPress hPanel

Log in to your host account, browse the hPanel (usually the first page you see after logging in, but some hosts are different) scroll down to the tab backups. This tab is usually below the Files session. 

wordpress-1

Click on the tab Backups to see a list of available backups:

2-wordpress

Note: If you are using Hostinger, you can always download your backups as in the above screen.

Moving forward, you can create a new WordPress backup by clicking on Generate a New Backup located on the bottom. This will lead to a dialog box asking if you want to replace your previous backup. You know what to do here.
3-wordpress

And that’s it! Creating a WordPress full backup is easy as pie with Hostinger.

Now, let’s try a different method, why not?

Option 2 – Backing Up WordPress via FTP & phpMyAdmin

Do not let the FTP and phpMyAdmin terms scare you create backups for your WordPress site using these two are a walk in the park, you’ll see. In this section, we will just download your WordPress website to your PC. We use FTP to download your files and download phpMyAdmin for your database. Before creating a backup, we recommend that you create a directory on your computer where you will save your files. In another case, you risk creating a backup that will mess you up. We recommend FileZilla, a remarkable FTP client that is incredibly easy to use. Obviously you will need an FTP account that offers you access to your WordPress directory.

What is WordPress Directory?

WordPress directory is the directory of your web server where their WordPress files. In most cases, it is public_html or Home . If you installed your WordPress website in a subdirectory eg https://www.exemplo.com.br/seusite , your WordPress directory is yoursite . He is following me? WordPress directory contains subfolders as wp-includes, wp-content, wp-admin and files like index.php, wp-config.php and so on – which are essential for your WordPress site running. Let me explain more to make things clearer. His uploads themes, plugins cache and media are inside the folder wp-content . The folder wp-admin contains all the files that run in the administrator area, while wp-includes guard WordPress core files. You must download all subfolders and files in your WordPress directory. In other words, we need to download the WordPress directory completely. Once we download the website files, we will also download the database.

Creating a backup of your WordPress files via FTP

First, install and run FileZilla. Using FileZilla, login to your web server using the credentials that you won when you created your FTP account.

The details you need here:

  • Host FTP – eg ftp.hostinger-tutorials.com
  • Username – the username you choose when you create an FTP account
  • Password – the corresponding password
  • Port – is usually 21, unless your host specify otherwise

A successful FTP connection to your WordPress directory using FileZilla should look something like this:

4-wordpress

In the image above, notice that I’ve got in the backup files , the directory from my PC where I put my WordPress sites as well as the database. It is our hope that you have already created a backup directory on your PC. You can easily enter the backup directory directly from FileZilla.

Next, select everything inside your WordPress directory. Then, right click and choose Download as shown below:

5-wordpress

This starts the process of Download, which looks like this:

wordpress-6

While you wait your WordPress files to download (there is no time limit depends on the size of your site and the speed of your internet), allow us to download your database via phpMyAdmin. Moreover, FileZilla notifies you once the downloaded file is complete, so no worries.

Create Backup WordPress database via phpMyAdmin

This is incredibly easy and you will make in less than 2 minutes.

Go back to your cPanel and navigate in phpMyAdmin. Normally, the tab phpMyAdmin is below the session Databases :

wordpress-7

In some host environments, click phpMyAdmin takes you directly to the home page phpMyAdmin, which looks like this:

wordpress-8

Once you enter phpMyAdmin, you can then choose your database.

In Hostinger, click on the tab takes you to one phpMyAdmin database list, which looks like this:

wordpress-9

Here, you choose the first database and go to phpMyAdmin. In some cases, you may find this screen:

wordpress-10

Any is the scenario, you need to know your database credentials and the corresponding login (strictly important to this scenario). But how to tell which database belongs to your WordPress site?

How to find your WordPress database

This will be ridiculously easy. For now, FileZilla’ve already used a good portion (if not all) files loose in your WordPress directory. To find which database belongs to your website, you need to locate the file wp-config.php , which is within your backup folder or directory on your PC or WordPress or on the internet server.

Commonly say they find wp-config.php in the backup folder or on your PC is the easiest way. Wp-config.php open using your favorite code editor (I use and love Notepad ++ but here’s the sublime text ):

wordpress-11

Look at this piece of code:

1  // ** MySQL settings - You can get this info from your web host ** //

2  /** The name of the database for WordPress */

3  define('DB_NAME', 'u694443746_meryr');

4  /** MySQL database username */

5  define('DB_USER', '************');

6  /** MySQL database password */

7  define('DB_PASSWORD', '***********');

8  /** MySQL hostname */

9  define('DB_HOST', 'mysql');

In the above example, the database is called u694443746_meryr . You can usually find the name of your database within this part of the code. This is the value within the second pair of quotes:

1  /** The name of the database for WordPress */

2  define('DB_NAME', 'your_database_name');

Now let’s go back to phpMyAdmin. In Hostinger, I can now easily find my database for my list:

wordpress-12

Now I just need to press the button Enter phpMyAdmin . In other host that directly take you to the main screen phpMyAdmin, you can locate your database list by clicking the tab Databases as shown in the example below:

wordpress-13

Where are we in all this? Oh yes, now we can easily find the details you need in wp-config.php , now we back up our database.

Making Backup Your Database

Open your database with phpMyAdmin simply by clicking on it or showing a list of tables. At the bottom select “Check all” to select all the tables. Second, click on the tab Export at the top of the screen:

wordpress-14

On the next screen, select SQL- Format but do not touch anything unless you know what you’re doing. Click on Go to start the download:

wordpress-15

Next, choose the location to save the backup directory on your PC and save your database:

wordpress-16

And that’s, you now have full access to the WordPress backup and can restore at any time.

Pro Tip: Maintain regular database backups depends on both you change your website. If you are looking to upgrade WordPress or change your theme, create a backup. If you put more than 100 articles per day, you obviously need more backups than the guy who put, say, 1 per month.

Option 3 – Backup WordPress Plugins

Make backups WordPress plugin simplifies the process of creating WordPress backups. While our procedure involves manual steps and navigate through the host environment (which may scare many beginners), create backups using WordPress plugins typically it involves a few clicks. You do not need to log into your account to create WordPress host backups since most of WordPress plugins and backup services work right from your WordPress admin.

BackWPup

wordpress-17

With more than 20 free plugins in the WordPress Plugin Repository, including the likes of Adminize and Search & Replace, Inpsyde GmbH is the strength to tell as much as WordPress development. And BackWPup is all the proof you need, with an impressive list of features that competes with many other WordPress backup plugins, including premium counterparts. Yes, it’s a free plugin that you can download right now. Notable features include scheduled backups (automatically), repair and optimize the database, restoring a click WordPress XML Export, complete / database backups, top of the line security and support for storage cloud-based backups, along with others. Not to mention that BackWPup has a pro version that comes with even more features.

“We’re using the free version of BackWPup for over a year now with a website supporting a small business. It was working fine until recently (I think it’s for site growth fault – we post 15-20 times a month, and a few more other information) but support FREE helped us again. jeremyjjmail

All three of these WordPress backup plugins are incredibly easy to use, you should be able to create backups without running WordPress sweat for it.

VaultPress

wordpress-18

Brought to you by Automattic as part of JetPack, VaultPress is more than one solution for backup. It is a fully developed backup for comfort and safety, providing peace of mind to thousands of individuals, professionals and agencies. In the department of WordPress backups, VaultPress is a real winner. The plugin “..sem effort backs up every post, comment, media file, review and setup of the sidebar on your site.” In other words, VaultPress creates daily and real – time WordPress backups and stores them in a location outside the site safely. Also, you can restore your backup in minutes, download your backups anywhere you want and rely on WordPress experts in the case of being lost. Moreover, VaultPress is known by other incredible features as migration sites, automated file repair, malware scanning and spam defense to mention a few.

“Well, thank the gods for @vaultpress and the new restore feature one – click database, I had to wear today, so easy% 10,000 worth paying – grechen

BackupBuddy

wordpress-19

Known as the “… plugin for WordPress original backups …” BackupBuddy by iThemes is a solution for WordPress backup on steroids. Thanks to this solid plugin, you can create entire WordPress backups with just one click within your sidebar administrative WordPress. In addition to offering you full backups, BackupBuddy comes with other beautiful features such as easy migration sites, automated scheduled backups, remote backups to Dropbox, Amazon S3, Google Drive and more, ImportBuddy to restore your site easily, Stash Live real – time backups WordPress cloud, along with instant notifications via email and others. 

“BackupBuddy is the first plugin I install on a WordPress site. It’s my top “you should have” WordPress plugin, low hands. – Lisa Sabin-Wilson, author of WordPress for Dummies. “

Additional resources

If you would like to learn more (or your host does not use cPanel), you can always rely on these sources reported:

  • Restore Your MySQL Database From Backup Using phpMyAdmin
  • How to backup your emails
  • WordPress Codex backups

Conclusion

At the end of the day, a backup reliable solution saves a lot of headaches if your website break. In fact, have a good backup strategy is one of the best investments you can make in your business based on WordPress.

We show you ours, now show us yours. How do you make up your WordPress site? Please share with us in the comments.