beginner-wordpress-user/subtitles/How to backup your site.bilingual.en-zh.srt
studio 4cfcf09a97 sync: full archive from pipeline (250 files)
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)
2026-04-13 23:35:08 +08:00

335 lines
11 KiB
Text

1
00:00:00,000 --> 00:00:06,578
在本课中,我们将讨论管理 WordPress 站点的一个重要部分,
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
也建议在更新 WordPress 核心、主题或插件之前,
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
我们将探讨两种备份 WordPress 站点的方法。
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
这些文件包括你的 WordPress 核心文件、主题、插件、媒体上传文件,
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
在 WordPress 中,数据库是所有文本内容、设置、用户信息
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
插件目录中有各种可用的插件,例如 updraft plus、jpeg、duplicator 等。
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
对于这个演示,我们将继续安装并启用 updraft plus 插件。
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
也就是将备份副本存放在与你的 Web 服务器分离的位置。
Or a copy of your backups in a location separate from your web server.
60
00:05:32,680 --> 00:05:37,600
像 Dropbox、Google Drive 等云存储服务是不错的选择。
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
最后,您还可以选择通过 phpmyadmin 手动更新您的数据库,
Finally, you also have the option to manually update your database via phpmyadmin
63
00:05:48,617 --> 00:05:56,480
并通过 FTP 客户端或您托管控制面板中的文件管理器,通过您网站的服务器来更新文件系统。
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.