Sources: video-subtitle-pipeline artifacts/beginner-wordpress-user/ - subtitles/: en, zh, bilingual SRT/ASS (100 files) - platform/: youtube SRT + bilibili BCC per video (75 files) - manifests/: per-video manifest.json (25 files) - quality/: quality reports (50 files)
267 lines
7 KiB
Text
267 lines
7 KiB
Text
1
|
|
00:00:00,000 --> 00:00:06,578
|
|
In this lesson, we are going to talk about an essential part of managing your WordPress website,
|
|
|
|
2
|
|
00:00:06,578 --> 00:00:08,700
|
|
backing up your valuable data.
|
|
|
|
3
|
|
00:00:08,700 --> 00:00:15,040
|
|
Accidents can happen and it's crucial to have a backup of your site in case anything goes wrong.
|
|
|
|
4
|
|
00:00:15,040 --> 00:00:20,511
|
|
It is also advised to back up your site before updating WordPress core, themes or plugins,
|
|
|
|
5
|
|
00:00:20,511 --> 00:00:25,351
|
|
before installing new plugins or themes, before migrating or moving your site
|
|
|
|
6
|
|
00:00:25,351 --> 00:00:29,560
|
|
and after significant content updates.
|
|
|
|
7
|
|
00:00:29,560 --> 00:00:32,720
|
|
We'll explore two methods to back up your WordPress site.
|
|
|
|
8
|
|
00:00:32,720 --> 00:00:38,240
|
|
Number one, using your hosting company or number two, using a backup plugin.
|
|
|
|
9
|
|
00:00:38,240 --> 00:00:41,600
|
|
There is also a manual way of backing up your site
|
|
|
|
10
|
|
00:00:41,600 --> 00:00:44,480
|
|
but we will briefly touch on that at the end.
|
|
|
|
11
|
|
00:00:44,480 --> 00:00:49,880
|
|
The method of using your hosting company for backups is probably the easiest way.
|
|
|
|
12
|
|
00:00:49,880 --> 00:00:54,840
|
|
Different hosting companies have different interfaces or ways of backing up your site.
|
|
|
|
13
|
|
00:00:54,840 --> 00:01:00,025
|
|
But you can learn how that works if you make your way to the backup and restore page
|
|
|
|
14
|
|
00:01:00,025 --> 00:01:02,280
|
|
of the control panel of your hosting company.
|
|
|
|
15
|
|
00:01:02,280 --> 00:01:05,833
|
|
I will use my principle website to explain how the process works
|
|
|
|
16
|
|
00:01:05,833 --> 00:01:08,720
|
|
as this is where I have a hosting account.
|
|
|
|
17
|
|
00:01:08,720 --> 00:01:14,880
|
|
Once I have logged into my control panel, I will make my way to backups and restores.
|
|
|
|
18
|
|
00:01:14,880 --> 00:01:25,840
|
|
At the top, we will see available updates for the file system as well as the database.
|
|
|
|
19
|
|
00:01:25,840 --> 00:01:30,280
|
|
And these updates are done automatically by my hosting company.
|
|
|
|
20
|
|
00:01:30,280 --> 00:01:36,160
|
|
You might be asking, what is the difference between the file system and the database?
|
|
|
|
21
|
|
00:01:36,160 --> 00:01:41,864
|
|
When we talk about the file system backup, we are referring to backing up the files and folders
|
|
|
|
22
|
|
00:01:41,864 --> 00:01:43,400
|
|
that make up your website.
|
|
|
|
23
|
|
00:01:43,400 --> 00:01:50,242
|
|
These files include your WordPress core files, themes, plugins, media uploads
|
|
|
|
24
|
|
00:01:50,242 --> 00:01:53,200
|
|
and any other files associated with your website.
|
|
|
|
25
|
|
00:01:53,200 --> 00:01:59,580
|
|
On the other hand, database backup focuses on backing up the data stored in your website's database.
|
|
|
|
26
|
|
00:01:59,580 --> 00:02:05,048
|
|
In WordPress, the database is where all the textual content, settings, user information
|
|
|
|
27
|
|
00:02:05,048 --> 00:02:07,440
|
|
and other dynamic data are stored.
|
|
|
|
28
|
|
00:02:07,440 --> 00:02:14,300
|
|
It includes posts, pages, comments, user profiles and much more.
|
|
|
|
29
|
|
00:02:14,300 --> 00:02:19,160
|
|
As mentioned, my hosting company automatically makes updates of my site.
|
|
|
|
30
|
|
00:02:19,160 --> 00:02:26,914
|
|
But below the automatic updates, you will notice I can also choose to backup my site right now,
|
|
|
|
31
|
|
00:02:26,914 --> 00:02:29,320
|
|
which is called on-demand.
|
|
|
|
32
|
|
00:02:29,320 --> 00:02:41,320
|
|
Let's go ahead and update my file system and database on-demand.
|
|
|
|
33
|
|
00:02:41,320 --> 00:02:48,160
|
|
Now we can see our most recent on-demand file system backup as well as database backup.
|
|
|
|
34
|
|
00:02:48,160 --> 00:02:57,179
|
|
Now these backups will also appear in the list of available file system backups
|
|
|
|
35
|
|
00:02:57,179 --> 00:03:02,440
|
|
as well as available database backups.
|
|
|
|
36
|
|
00:03:02,440 --> 00:03:11,946
|
|
So if something goes wrong and you need to backup your site to a previous version,
|
|
|
|
37
|
|
00:03:11,946 --> 00:03:18,680
|
|
you can merely select the backup and then click restore.
|
|
|
|
38
|
|
00:03:18,680 --> 00:03:22,960
|
|
So if you have backups of your site, you never have to panic.
|
|
|
|
39
|
|
00:03:22,960 --> 00:03:27,586
|
|
Next, we are going to take a closer look at using a plugin
|
|
|
|
40
|
|
00:03:27,586 --> 00:03:33,600
|
|
if this is the option you prefer or if you don't have the option with your hosting company.
|
|
|
|
41
|
|
00:03:33,600 --> 00:03:42,120
|
|
There are various plugins available in the plugins directory such as updraft plus, jpeg, duplicator, etc.
|
|
|
|
42
|
|
00:03:42,120 --> 00:03:50,280
|
|
For this demo, we will go ahead and install and activate the updraft plus plugin.
|
|
|
|
43
|
|
00:03:50,280 --> 00:03:54,840
|
|
Once activated, we can make our way to settings.
|
|
|
|
44
|
|
00:03:54,840 --> 00:04:02,400
|
|
Below the backup and restore tab, we will see the next scheduled backups as well as existing backups.
|
|
|
|
45
|
|
00:04:02,400 --> 00:04:07,818
|
|
Then at the top right, we will notice the large call to action or buttons block backup now
|
|
|
|
46
|
|
00:04:07,818 --> 00:04:14,960
|
|
which will allow you to make an on-demand backup of your file system as well as your database.
|
|
|
|
47
|
|
00:04:14,960 --> 00:04:19,520
|
|
I am going to go ahead and make a backup of my site right now.
|
|
|
|
48
|
|
00:04:19,520 --> 00:04:25,440
|
|
Then you will also see options to configure backups for your database, your file system or both.
|
|
|
|
49
|
|
00:04:25,440 --> 00:04:31,920
|
|
And then we can select backup now.
|
|
|
|
50
|
|
00:04:31,920 --> 00:04:38,280
|
|
Once backed up, we will notice that this on-demand backup displays below existing backups.
|
|
|
|
51
|
|
00:04:38,280 --> 00:04:43,520
|
|
And if anything goes wrong, you can merely restore your website below actions.
|
|
|
|
52
|
|
00:04:43,520 --> 00:04:50,280
|
|
When you go to settings, you will be able to set up a backup schedule for your website.
|
|
|
|
53
|
|
00:04:50,280 --> 00:05:00,480
|
|
And for this example, I am going to say I want my site to be updated on a daily basis.
|
|
|
|
54
|
|
00:05:00,480 --> 00:05:06,640
|
|
And on the right you can choose how many backups you want your plugin to retain or store.
|
|
|
|
55
|
|
00:05:06,640 --> 00:05:11,960
|
|
And below that, you can select where you want your backups to be stored.
|
|
|
|
56
|
|
00:05:11,960 --> 00:05:16,665
|
|
There are more options worth exploring but once you have set up your plugin,
|
|
|
|
57
|
|
00:05:16,665 --> 00:05:22,440
|
|
you can be reassured that you have a backup in place if the need ever arises.
|
|
|
|
58
|
|
00:05:22,440 --> 00:05:28,160
|
|
At this stage, it is also worth highlighting a best practice when backing up your site.
|
|
|
|
59
|
|
00:05:28,160 --> 00:05:32,680
|
|
Or a copy of your backups in a location separate from your web server.
|
|
|
|
60
|
|
00:05:32,680 --> 00:05:37,600
|
|
Cloud storage services like Dropbox, Google Drive etc. are good options.
|
|
|
|
61
|
|
00:05:37,600 --> 00:05:42,720
|
|
This ensures that your backups remain safe even if your server experiences issues.
|
|
|
|
62
|
|
00:05:42,720 --> 00:05:48,617
|
|
Finally, you also have the option to manually update your database via phpmyadmin
|
|
|
|
63
|
|
00:05:48,617 --> 00:05:56,480
|
|
and your file system via your website's server using an FTP client or a file manager in your hosting control panel.
|
|
|
|
64
|
|
00:05:56,480 --> 00:05:58,415
|
|
These methods are more technical
|
|
|
|
65
|
|
00:05:58,415 --> 00:06:03,640
|
|
and therefore we will add links to other resources if you would like to learn more.
|
|
|
|
66
|
|
00:06:03,640 --> 00:06:05,949
|
|
It does not matter which method you choose
|
|
|
|
67
|
|
00:06:05,949 --> 00:06:10,760
|
|
but it is crucial to regularly perform backups to protect your website and its valuable data.
|