How To Backup Your WordPress Website
How To Backup Your WordPress Website: Hi guys today, we’re going to see how you can take a backup of your website Okay, so first let’s see. What is the backup? Backup means to save a copy of your website on a selected date, and then keep it safe after you take the backup, let’s say you keep changing your site, and someday your site suddenly crashed. What do you do in this situation? How do you recover your site? If you have a backup you just have to restore that backup, and your site will be working again.
Now after restoring your backup your site will look exactly as it when taking the backup. So we highly recommend that you always take a backup of your site so that you never lose your work. Okay guys, so this is how backup works. Okay. So let’s get started.
Installing Backup Plugin
First let’s see how our site looks like Okay, so this is the site which I’ve built on WordPress. Now if you want to back up the site you need to do three things The first thing is to install the backup plug-in on your site. So to install the plug-in. Let us go to our dashboard, and then we need to go to plugins and click add new. Now search for a plug-in called updraft, and you’ll get this plugin now, this is the plug-in which we’re going to use for backup Install the plugin.
Let’s click install, and activate, and you can see here that the plug-in has been installed. So once the plug-in is installed we can now take the backup so to take a backup click setting, and then click backup now. Now make sure all of these are selected, and click backup. That’s it we have now taken a backup if we go to this tab here You can see the back up which we just took So this is how you can take a backup of your website.
How to Use The Plugin
Now, how do you use this backup? Okay, so there are two situations where you might need to use your backup Let’s take the first situation. Let’s say by mistake you change something on your site, and you want to go back to you You can use your backup to go back to a previous time So let’s try it out. I’m going to go into pages, and let’s say I delete the homepage.
Now if I go to the site, and click refresh You can see that our homepage is gone now if you want to destroy the homepage, all you have to do is go to updraft click restore, and select the backup, which you want to restore. Now choose all the options here, and click restore to restore your site. Now while we go to our site, and then click refresh. You can see that we have got our home page again. So this is how you can use the backup to restore your site.
How to Take Backup
So now you cannot always remember to take a backup every time. So let’s say you take a backup today, and after two weeks of working on a site, your website crashes You will lose all of the changes which were made during those two weeks. So to avoid this we can set up a schedule that will take a backup of a site at regular intervals. By doing that, our site’s content will be backed up safely without doing any manual backup.
How to Use Backup
So let’s go to part 2 of this tutorial Where we see how to set up an automatic backup. So to set up automatic backup, let’s click settings under updraft, and then let’s go to the Settings tab. So here we need to choose how often do you want to take the backup.
So I recommend you choose weekly in both of these places. Then set this option to four and four. Now this setting will take one backup every week, and it’ll keep that backup for four weeks. So this means you will always have the backup for the last four weeks.
How to Store the Backup
Okay So next we need to choose where we want to store our backups. So the app draft gives you different places where you can store your backup. I’m going to choose Google Drive as my storage, and then scroll down, and click Save. As soon as you click save updraft will ask you to link your Google account so that it can store the backups there. So to link it, let’s click here, and it’ll ask you to sign in to your Google account, so we’ll click here. Now Google will ask for your confirmation.
So let’s click allow, and it will take you to this page so now let’s click complete to finish the linking, and now Google Drive account will be linked to updraft Means all your backups will be safely saved to your Google Drive. So the automatic backup setup is now complete, and you can see that the first backup will be taken on this date. So if we go to this page here.
Over time we will get more, and more backups which are the backups for the last four weeks. So now our site will be backed up automatically, and it’s safe from crashes. Now after we have these backups what if our site crashes like this? and when we try to reach the admin area. What if we are not able to access it?
So next. Let’s see how we can use our backups to recover a crash site. So to recover a crash site we need to do three things first we need to remove the old WordPress installation which has now crashed and then in step two. We need to make a fresh WordPress installation on the same domain Then finally we can restore the website using the files we have in our Google Drive. So to recover our crash site we are first going to remove the current WordPress installation Okay, so to remove it, let’s go to our web host.
So I have my hosting, so I’m just going to go there, and then click sign. Now to remove WordPress, I’m gonna click manage all, and then click these three dots, and click remove. Now go ready we’ll ask you to confirm So I’m gonna type reset, and click remove, and the crashed WordPress site will be removed. Now once the old site has been removed we can restore our sight.
So let’s go to step two of recovering a crashed website, which is to reinstall WordPress on the same domain. So to install a fresh WordPress site, let’s click Add site, and let’s quickly go through the setup process which will install WordPress so we’ll click get started, and then choose your domain Click Next, and then again next. Now keep a username, and password for the new WordPress site, and click Installed Okay, so now a new WordPress site will be installed on your domain so once it’s done we can click get started, and then skip this by clicking ‘No thanks’, and okay.
So you can see that we are now back on our WordPress dashboard, and WordPress is now working. Before we are not able to access the site but now we have a working WordPress dashboard. Now before we restore our files from the backup, let’s see how the site looks now so to see the site let’s go here, and click Visit site, and you can see that we have the default WordPress site.
So now it’s time to restore our files from the backup So to restore the files, we need to install the updraft plugin on this new WordPress site. So to install updraft let’s go to our dashboard You, and then go to plugins, and click add new. Now search for updraft again, and click install, and activate Okay, so the plug-in has been installed on our new website now to restore our site, let’s go to settings, and now if we go to existing backups.
You can see that there are no backups here Now, how can we fix this? Because we installed updraft on a new WordPress site. It is no longer linked to our Google account. So to help the plugin find the backups. We need to link it to the same Google Drive account, which we used before So to link the Google Drive account, let’s go to settings, and then choose Google Drive, and then scroll down, and click Save. Now when you click save like we saw before the plugin will ask you to link your Google Drive account. So let’s click this link, and choose a Google account, and click allow.
Now to complete the linking let’s click here, and Google Drive is now successfully linked to the plugin Let’s check the backups. So let’s go to existing backups, and now if we click rescan remote storage, You can see that we have got the backup which was stored in our Google Drive. Now to restore our site all we have to do is click the store. Select all the items here, and click restore.
That’s it our website should now be restored so check it let’s go to a site which is here, and you can see that this was a default site which was there before now if we click refresh. You can see that sight is restored with the same content you. Okay, so everything is done so that’s it, guys. This is how we can take a backup of your site, and then restore it when you need it.
Now you know in WordPress you get frequent updates for your plugins, and themes, and there is always a chance of breaking your sight when applying an update. Now if you want updraft to automatically take a backup before updating any plug-in or theme. You can get the premium auto-backup feature by clicking this link.
So I hope you like this article “How To Backup Your WordPress Website”. Give us any suggestions via email or commenting on this article.