﻿1
00:00:00,690 --> 00:00:06,390
In this video you'll learn how to automate backups of an entire WordPress site using third party services

2
00:00:06,420 --> 00:00:11,160
and plug ins while your hosting company may provide periodic backups for your sites.

3
00:00:11,160 --> 00:00:14,910
It's best not to rely on only one source of backup files.

4
00:00:14,910 --> 00:00:19,520
It's best to have redundancy or more than one backup in case something goes wrong.

5
00:00:19,650 --> 00:00:25,020
By the end of this lesson you'll have several ways to set up automatic backups and offsite storage of

6
00:00:25,020 --> 00:00:30,480
the files so that even with a catastrophic loss of your server files you'll be able to easily restore

7
00:00:30,480 --> 00:00:32,490
any site from your saved backups.

8
00:00:33,370 --> 00:00:37,900
Let's start by getting on the same page as it were the same website page.

9
00:00:37,960 --> 00:00:44,980
That is the same website dashboard that we've been working on inside of our logged in wordpress dashboard.

10
00:00:45,010 --> 00:00:47,100
I'm at my womb comer's store site.

11
00:00:47,140 --> 00:00:52,990
As you remember it's Greg Davis dot com slash MailChimp and I'm on the dashboard page here.

12
00:00:53,110 --> 00:00:57,100
The video here if you need to and get logged in at your own WordPress site.

13
00:00:57,370 --> 00:01:03,940
Now that were logged in let's go and open up that hardening WordPress article at Wordpress dot org again

14
00:01:04,300 --> 00:01:11,170
and let's just scroll down to a place I have marked in the document by highlighting some of the text.

15
00:01:11,170 --> 00:01:16,900
We talk about database backups here and this is what we're going to be talking about in this video and

16
00:01:16,900 --> 00:01:23,980
lesson database backups as well as file structure backups so the entire web site is backed up and ready

17
00:01:23,980 --> 00:01:26,260
to restore at any point.

18
00:01:26,410 --> 00:01:33,040
A sound backup strategy they say here could include keeping a set of regularly timed snapshots of your

19
00:01:33,040 --> 00:01:41,230
entire WordPress installation including WordPress core files and your database in a trusted location.

20
00:01:41,230 --> 00:01:47,830
So what that means is that you've got the database file and all the Wordpress core files the theme files

21
00:01:47,830 --> 00:01:52,420
that you're using the plug in files that you're using and the whole uploads directory.

22
00:01:52,570 --> 00:01:58,810
Basically your entire WordPress installation in a backup file in an external location separate from

23
00:01:58,810 --> 00:02:00,720
your website.

24
00:02:00,800 --> 00:02:06,620
It sounds a little complicated and it can be especially if you trying to do this manually on more than

25
00:02:06,620 --> 00:02:08,990
one Web site that you're managing.

26
00:02:08,990 --> 00:02:15,720
Luckily there's plugins and third party services that we can use to take care of this automatically.

27
00:02:15,830 --> 00:02:22,830
We were looking at I theme's security plug in in the last video and as you scroll down we mentioned

28
00:02:22,890 --> 00:02:27,430
they have a third party service called backup buddy.

29
00:02:27,500 --> 00:02:35,600
Now the themes backup buddy is a paid for service that is very excellent but there's a number of different

30
00:02:35,600 --> 00:02:42,440
free plugins available at the Wordpress repository that do a lot of the same things for free so those

31
00:02:42,440 --> 00:02:44,700
free plug ins are a good place to start.

32
00:02:45,020 --> 00:02:52,070
But here's a good graphic on the themes that come back up buddy web page that talks about what makes

33
00:02:52,070 --> 00:02:55,090
up a good WordPress backup strategy.

34
00:02:55,100 --> 00:03:00,320
First you have a full site backup the database and the files included.

35
00:03:00,320 --> 00:03:06,540
You set that up on a schedule to run backups automatically whether it's daily or weekly.

36
00:03:06,650 --> 00:03:12,590
You store those backups offsite so that if your entire website and hosting company go down or out of

37
00:03:12,590 --> 00:03:19,190
business you still have your offsite files and then you have the ability to restore or move those backups

38
00:03:19,190 --> 00:03:23,090
to a different server or to restore to the same server.

39
00:03:23,120 --> 00:03:31,190
If your web site happens to go down we've also talked about WPA myu dev dot org.

40
00:03:31,270 --> 00:03:38,320
The paid for premium plug in membership service that I'm a member of and one of their premium plug ins

41
00:03:38,320 --> 00:03:40,510
is called snapshot Pro.

42
00:03:40,510 --> 00:03:47,800
It does all the things that we need to do in terms of taking offsite and timed and scheduled backups

43
00:03:48,130 --> 00:03:53,080
and it is a premium plug in as a part of their membership service but just know that you can sign up

44
00:03:53,080 --> 00:03:54,900
for a free trial of WPA.

45
00:03:54,940 --> 00:04:00,360
You def get this snapshot pro plugin working and then you don't have to keep your membership.

46
00:04:00,370 --> 00:04:05,010
You can still keep the plugin you just don't get support and or updates.

47
00:04:05,120 --> 00:04:09,500
But I use snapshot Frot quite a bit for this very thing that we're talking about.

48
00:04:09,760 --> 00:04:16,900
However let's go and look at two free plug ins in the Wordpress repository that accomplish this in a

49
00:04:16,900 --> 00:04:18,610
great and efficient way.

50
00:04:19,000 --> 00:04:24,530
Updraft Plus is one of the most popular WordPress backup plugins in the repository.

51
00:04:24,550 --> 00:04:30,730
You can see looking down here it's got eight hundred thousand or more active installations.

52
00:04:30,760 --> 00:04:37,480
They do have a premium version of their service but every thing we need comes with the free service

53
00:04:37,720 --> 00:04:41,500
and updraft Plus is the plug in will be installing and configuring.

54
00:04:41,550 --> 00:04:43,240
In this lesson.

55
00:04:43,240 --> 00:04:51,370
Another one is called back WP up and it's another popular and longtime WordPress backup plug in more

56
00:04:51,370 --> 00:04:59,140
than half a million active installations and another one with a premium version.

57
00:04:59,270 --> 00:05:07,310
If you want to get back WPI up pro that has more features but like updraft plus the free version works

58
00:05:07,580 --> 00:05:10,560
for everything I'll be teaching in this lesson.

59
00:05:10,670 --> 00:05:18,560
So let's go into the dashboard of our live Web site and it looks like since I've been logged in for

60
00:05:18,560 --> 00:05:26,330
more than an hour I need to log back in with Cliff like we set up in the last video so I'm opening up

61
00:05:26,660 --> 00:05:31,810
my cell phone and I'm just pointing it at the screen here and all right.

62
00:05:31,820 --> 00:05:38,630
My phone has buzzed that should lug me right back in to the Web site right now that I'm logged back

63
00:05:38,630 --> 00:05:39,200
in.

64
00:05:39,290 --> 00:05:43,670
Follow long as I go to plug ins and the Add New button.

65
00:05:43,820 --> 00:05:46,190
I'm going to be looking for updraft plus

66
00:05:50,670 --> 00:05:57,130
am researching for the word updraft and there's the updraft plus WordPress backup plug in and I'll click

67
00:05:57,130 --> 00:05:58,630
Install now.

68
00:05:58,660 --> 00:06:04,630
Now the new installing button with its circular Arrows is there and then it gives me an activate button

69
00:06:04,950 --> 00:06:07,000
right in the ad plug in screen.

70
00:06:07,060 --> 00:06:12,940
So now that I've installed updraft Plus I can go down and look at its buttons here on the plugin screen

71
00:06:12,950 --> 00:06:20,110
I can hit the settings button but also under settings you've got the updrafts plus backups settings

72
00:06:20,110 --> 00:06:24,520
button right there updraft plus gives us a little message here.

73
00:06:24,520 --> 00:06:30,610
We do need to set up a few things inside the configuration screen and that's by hitting the settings

74
00:06:30,610 --> 00:06:38,360
tab the first thing we have is a files backup schedule and a database backup schedule I'm going to set

75
00:06:38,570 --> 00:06:46,190
to do these every week and I'm going to allow my external storage to keep a month's worth of backups

76
00:06:46,250 --> 00:06:48,860
at a time before it deletes the old ones.

77
00:06:48,860 --> 00:06:54,020
That's a good system so you don't build up too much data storage and then have to upgrade and pay for

78
00:06:54,020 --> 00:06:55,010
storage.

79
00:06:55,010 --> 00:07:02,090
So I'm going to keep four backups of a weekly nature both in the database and the files backup schedule.

80
00:07:02,090 --> 00:07:06,320
Now you can see there's a lot of different choices for remote storage here.

81
00:07:06,320 --> 00:07:11,540
The updraft plus vault is one that comes with their premium service and we're going to be setting up

82
00:07:11,630 --> 00:07:15,550
Dropbox if you'd like to follow along exactly how I do it in this video.

83
00:07:15,680 --> 00:07:22,310
But feel free if you're a member of any of these other services to go and use them for your third party

84
00:07:22,310 --> 00:07:23,240
storage.

85
00:07:23,330 --> 00:07:29,540
A couple of these are part of their premium service and they do Dropbox for free.

86
00:07:29,540 --> 00:07:36,410
Now I've clicked the dropbox icon and before I go any further I encourage you to open up another tab

87
00:07:36,440 --> 00:07:42,700
in your browser and either sign up for or log into your Dropbox account.

88
00:07:42,980 --> 00:07:47,140
Dropbox will give you two gigabytes of free storage before you need to upgrade.

89
00:07:47,140 --> 00:07:49,550
And it's plenty to keep track of.

90
00:07:49,550 --> 00:07:51,970
Web site backups.

91
00:07:52,000 --> 00:08:01,960
So back in my dashboard since I'm already logged into Dropbox it'll be easy to authenticate with Dropbox

92
00:08:02,310 --> 00:08:09,490
and now it says that all I have to do is save this page and I'm going to go ahead and include everything

93
00:08:09,520 --> 00:08:16,480
in the in the backup files and I'll go back down and you can set it to send you an e-mail once it makes

94
00:08:16,480 --> 00:08:18,000
its backup if you like.

95
00:08:18,010 --> 00:08:22,540
This is a good way to collect those emails and then use them as a part of a client report.

96
00:08:22,660 --> 00:08:26,860
If you're using Web site care plans that we'll talk about later in the course.

97
00:08:27,160 --> 00:08:35,120
So I'll just click Save changes and then as I went up here and after it saved my changes gives me a

98
00:08:35,120 --> 00:08:43,160
little updraft Plus notice I need to authenticate my Dropbox account so that up draft Plus can communicate

99
00:08:43,160 --> 00:08:49,140
with Dropbox and upload those backup files to my personal storage offsite.

100
00:08:49,160 --> 00:08:55,130
So since I'm already logged into Dropbox I can click allow right here and that's all there is to it.

101
00:08:55,130 --> 00:09:01,500
It gives me a report of my Dropbox account here and updraft Plus is set up now.

102
00:09:01,520 --> 00:09:03,790
It's scheduled itself to do a backup.

103
00:09:03,830 --> 00:09:08,840
But what we can do in order to test the settings and make sure everything is working right is let's

104
00:09:08,840 --> 00:09:13,000
make a backup manually.

105
00:09:13,090 --> 00:09:15,040
So it's saying include the database.

106
00:09:15,040 --> 00:09:15,530
Yes.

107
00:09:15,550 --> 00:09:17,770
Include the files in the backup.

108
00:09:17,770 --> 00:09:18,750
Yes.

109
00:09:18,760 --> 00:09:21,960
And then I want to send this backup to remote storage.

110
00:09:21,960 --> 00:09:29,040
So I'll just click back up now I can see a progress bar right down here and I hope you're following

111
00:09:29,040 --> 00:09:35,780
along on your own web site and I'll pause the video and started back up when my backup is complete.

112
00:09:36,900 --> 00:09:37,420
OK.

113
00:09:37,470 --> 00:09:43,430
It looks like my latest log method says the backup apparently succeeded and is now complete.

114
00:09:43,530 --> 00:09:49,610
And if I go over to my Dropbox folder you'll see that I now have an apps folder I open that up.

115
00:09:49,700 --> 00:09:56,780
I have an updraft plus folder and inside that are some segments of my backup.

116
00:09:56,850 --> 00:10:01,380
If you look at each one of these by clicking in an open area and then looking at the top you can see

117
00:10:01,380 --> 00:10:07,590
that they're all different sizes and they all contain different parts of the backup that updraft Plus

118
00:10:07,590 --> 00:10:11,260
we'll use in case you need to restore one of your backups.

119
00:10:13,080 --> 00:10:19,200
Back inside the Wordpress dashboard you can go Under the existing backups tab shows that I have one

120
00:10:19,200 --> 00:10:26,910
now and you can see their backup date and the backup data it's in five different parts and there's actions

121
00:10:26,910 --> 00:10:29,520
that I can perform using this particular backup.

122
00:10:29,520 --> 00:10:36,800
I can delete it view the log but more importantly I can restore this backup back to my Web site.

123
00:10:37,230 --> 00:10:43,000
The last thing we'll do in this lesson is test the restoration process to make sure that it's working.

124
00:10:44,560 --> 00:10:53,140
So to test a backups restoration Let's go into our pages all pages and let's look at the thank you for

125
00:10:53,140 --> 00:10:56,960
confirming page that we had created in a past lesson.

126
00:10:56,980 --> 00:11:08,860
I'll just open that page and I'll just hit enter and say this is a site edit before restore.

127
00:11:09,040 --> 00:11:13,560
Just typing some words right here and updating this page.

128
00:11:14,070 --> 00:11:21,270
Now I know that if I restore the backup that was created before I made this edit and this line will

129
00:11:21,270 --> 00:11:22,260
disappear.

130
00:11:22,290 --> 00:11:27,360
And so here is what I'll do I'll just right click on the permalink here and I'll say Open link in New

131
00:11:27,360 --> 00:11:29,270
Tab and that way I'm looking at this.

132
00:11:29,270 --> 00:11:31,920
Thank you for confirming page on my live Web site.

133
00:11:32,100 --> 00:11:33,480
And here's the line.

134
00:11:33,480 --> 00:11:39,910
This line should disappear after we restore the backup from before I made that edit.

135
00:11:39,960 --> 00:11:46,880
So let's go back into our WordPress dashboard and let's go and restore the last backup.

136
00:11:46,920 --> 00:11:52,290
So we'll just go under settings go to updraft plus backups.

137
00:11:52,290 --> 00:11:57,930
And I know I need to look at my existing backups and I can say OK here's the date that I want to restore

138
00:11:58,230 --> 00:12:06,540
when I go over here and click restore and I can restore even any of the parts just the database the

139
00:12:06,540 --> 00:12:08,390
uploads etc..

140
00:12:08,430 --> 00:12:13,650
So when we'll do this test let's go ahead and just restore everything and then we'll check out make

141
00:12:13,650 --> 00:12:16,090
sure the website is still working.

142
00:12:16,110 --> 00:12:23,040
So a click restore right here and it looks like it's restoring the backup it's retrieving and preparing

143
00:12:23,040 --> 00:12:26,040
the backup files and processing.

144
00:12:26,040 --> 00:12:30,140
Now there's one more step now that it's done that gives me a little report and it says OK.

145
00:12:30,180 --> 00:12:39,660
So now I need to press restore again to precede or click restore and everything has begun.

146
00:12:39,680 --> 00:12:42,840
It gives me some final checks and a report here.

147
00:12:43,130 --> 00:12:50,060
And as I go back down I can see that it's done a lot of different things plug ins theme's uploads database

148
00:12:50,430 --> 00:12:54,990
etc. and at the bottom here does restore successful.

149
00:12:55,250 --> 00:12:59,790
And then you can return to updrafts plus or anywhere you like within the site.

150
00:13:00,050 --> 00:13:07,760
But if I just go back to my thank you page tab and refresh the page can see that this line disappears.

151
00:13:07,760 --> 00:13:12,650
Great I've restored the original site that we had backed up before.

152
00:13:12,770 --> 00:13:20,240
So anything that had been done after the backup is now gone including any kind of hacking or any kind

153
00:13:20,240 --> 00:13:24,210
of problem that had happened with the Web site.

154
00:13:24,400 --> 00:13:30,280
Now I know you might be thinking boy back in one of the chapters earlier in the course we went over

155
00:13:30,280 --> 00:13:38,440
site migrations moving sites from one server to the other and restoring sites with that all in one migration

156
00:13:38,440 --> 00:13:39,250
plug in.

157
00:13:39,250 --> 00:13:40,790
And so what's the difference.

158
00:13:40,840 --> 00:13:46,330
Well there's two main differences in the utilities that we're using for this backup system and they

159
00:13:46,330 --> 00:13:49,190
are that with these backup plug ins.

160
00:13:49,210 --> 00:13:54,790
Not only can you schedule backups to happen on a daily or or weekly basis.

161
00:13:54,790 --> 00:14:00,670
You can also save them on an offsite location you don't have to manually download them to your computer

162
00:14:00,910 --> 00:14:02,920
and save them on your client's behalf.

163
00:14:04,280 --> 00:14:09,260
In this lesson you learned how to create automated scheduled backups of an entire WordPress Web site

164
00:14:09,500 --> 00:14:14,840
including the database and file structure and you set it up so that the backup files are saved to an

165
00:14:14,840 --> 00:14:18,870
external location like Dropbox or another file storage service.

166
00:14:19,830 --> 00:14:25,440
Now you can have multiple redundant backup systems set up for each of your client web sites which adds

167
00:14:25,440 --> 00:14:30,300
tremendous value to your website care and maintenance services and makes it easy for you to restore

168
00:14:30,300 --> 00:14:35,150
a Web site from a previous backup in case of any problems in the next video.

169
00:14:35,200 --> 00:14:42,780
You'll learn how to set up your Wordpress Web sites using HTP S and S S L or secure sockets layer doing

170
00:14:42,780 --> 00:14:48,600
this and Krips the data sent between a web server and the user's browser hardening security even more

171
00:14:48,870 --> 00:14:51,770
and inspiring confidence to Web site users.

172
00:14:51,780 --> 00:14:57,870
It also allows your server to use the HTP to protocol which is another smart way to speed up your web

173
00:14:57,870 --> 00:14:58,320
sites

