Hi guys i'm shyam from websitelearners.com
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 simply means saving a copy of your website
on a particular date and then keeping it safe
after you take a backup,
let's say you keep making changes to your site
and one day your site suddenly stops working
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 you restore the backup your site will look exactly as it was 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
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's go to our dashboard
And then 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 settings
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
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 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 if we go to our site
and 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
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 was made during those two weeks
So to avoid this we can set up a schedule
which will take a backup of a site at regular intervals
By doing this our sites content will always be backed up
without having to backup manually.
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
Okay
So next we need to choose where we want to store our backups
So 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 into 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 in order 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 with GoDaddy,
so I'm just going to go there
And then click sign
Now in order 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 now restore our site
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 on quicktechy.com
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 now 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 a 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 this video helped
Thanks for watching i'll see you in the next video