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