Sometimes when your making tweaks to WHS or installing certain Add-Ins, it can make the system unstable. Here we take a look at how to backup the WHS System State and / or Registry so you can restore it if something goes wrong.
有时,当您对WHS进行调整或安装某些外接程序时,可能会使系统不稳定。 在这里,我们看一下如何备份WHS系统状态和/或注册表,以便在出现问题时可以将其还原。
备份WHS系统状态 (Backup WHS System State)
The System State includes the most important system files for WHS such as the Registry, Startup Files, and Protected System files.
系统状态包括WHS最重要的系统文件,例如注册表,启动文件和受保护的系统文件。
The first thing you’ll want to to is log on to WHS either through the WHS Console, Remote Desktop, or through Advanced Admin Console. Now navigate to Start \ All Programs \ Accessories \ System Tool \ Backup.
您首先要通过WHS控制台,远程桌面或高级管理控制台登录WHS。 现在导航到“开始” \“所有程序” \“附件” \“系统工具” \“备份”。
![sshot-2010-08-19-[19-07-49] sshot-2010-08-19-[19-07-49]](https://i-blog.csdnimg.cn/blog_migrate/a5a738ebf6fd49e17ac7f2fb2922aab3.png)
The Backup or Restore Wizard launches, but we’re not going to use the Wizard. From here click on the Advanced Mode link instead.
将启动“备份或还原向导”,但我们将不使用该向导。 从这里单击高级模式链接。
![sshot-2010-08-19-[19-08-53] sshot-2010-08-19-[19-08-53]](https://i-blog.csdnimg.cn/blog_migrate/d888e35a35753134078a1ba1f7137822.png)
This opens the Backup Utility and in the left pane expand My Computer and check System State.
这将打开“备份实用程序”,并在左窗格中展开“我的电脑”并检查“系统状态”。
![sshot-2010-08-19-[19-19-46] sshot-2010-08-19-[19-19-46]](https://i-blog.csdnimg.cn/blog_migrate/9ee971ed52a584075520164e3402de42.png)
Now at the bottom of the screen click the Browse button to find a destination to save the backup file.
现在,在屏幕底部,单击“浏览”按钮以找到保存备份文件的目标。
![sshot-2010-08-19-[19-26-54] sshot-2010-08-19-[19-26-54]](https://i-blog.csdnimg.cn/blog_migrate/e4306fb39191f22c46629a2eb13f44a1.png)
Note: Don’t back it up to the server’s local drive. Make sure you choose a destination like a shared folder, Flash Drive, or External HD.
注意:不要将其备份到服务器的本地驱动器。 确保选择目的地,例如共享文件夹,闪存驱动器或外部HD。
![sshot-2010-08-19-[19-27-33] sshot-2010-08-19-[19-27-33]](https://i-blog.csdnimg.cn/blog_migrate/00b9b88ed454bdd63c03edf4d9a8998c.png)
As you can see here we have it set to backup to our shared backup folder…now click on Start Backup.
如您所见,我们已将其设置为备份到共享备份文件夹中……现在单击“开始备份”。
![sshot-2010-08-19-[19-28-36] sshot-2010-08-19-[19-28-36]](https://i-blog.csdnimg.cn/blog_migrate/323ec625397747ac985ce136ad078512.png)
You will get an overview of the backup job and can start it right away or schedule it for a later time.
您将获得备份作业的概述,并可以立即开始备份或安排以后的时间。
![sshot-2010-08-19-[19-29-37] sshot-2010-08-19-[19-29-37]](https://i-blog.csdnimg.cn/blog_migrate/3bb65286d9768ca8e2e622d5dae99ebd.png)
Now wait while everything is backed up. The amount of time it takes will vary depending on the server configuration. Also keep in mind the file can be large (ours was 627 MB), so make sure you have enough space on the location you’re backing up to.
现在,等待所有备份。 花费的时间将取决于服务器配置。 另外请记住,文件可能很大(我们的627 MB),因此请确保要备份的位置上有足够的空间。
![sshot-2010-08-19-[19-30-38] sshot-2010-08-19-[19-30-38]](https://i-blog.csdnimg.cn/blog_migrate/b229efeb6a98f7dfcf60f6a56ae5a847.png)
When the backup is complete you can view a report for detailed information on the backup or close out of the utility.
备份完成后,您可以查看报告以获取有关备份的详细信息或退出实用程序。
![sshot-2010-08-19-[19-36-41] sshot-2010-08-19-[19-36-41]](https://i-blog.csdnimg.cn/blog_migrate/ba7541f9854ee3d86cc14f17f167a967.png)
![sshot-2010-08-19-[19-37-29] sshot-2010-08-19-[19-37-29]](https://i-blog.csdnimg.cn/blog_migrate/c276eb33caa148829f3c351a9e67a8ee.png)
After we completed the System State backup, we brought the file to one of the PCs on our network and backed up the backup file using Carbonite…having redundant backups is always a good idea!
完成系统状态备份后,我们将文件带到网络上的一台PC上,并使用Carbonite备份了备份文件……冗余备份始终是一个好主意!
![sshot-2010-08-19-[19-46-05] sshot-2010-08-19-[19-46-05]](https://i-blog.csdnimg.cn/blog_migrate/a1218343690d617b043a31c2ec7d4acc.png)
Backup the Registry Only
仅备份注册表
If you don’t want to backup the full System State, you can also backup the entire Registry only. Remote into WHS and open the Registry Editor.
如果您不想备份整个系统状态,也可以仅备份整个注册表。 远程进入WHS并打开注册表编辑器。
![sshot-2010-08-19-[20-21-16] sshot-2010-08-19-[20-21-16]](https://i-blog.csdnimg.cn/blog_migrate/0127b15124cff7c173055cca1e614820.png)
Then click on File \ Export…
然后点击文件\导出...
![sshot-2010-08-19-[20-31-15] sshot-2010-08-19-[20-31-15]](https://i-blog.csdnimg.cn/blog_migrate/00d6e024e3ea5ad7301b69df33870c15.png)
Now select a location and name for the backup. Under Export range make sure to select All to backup the entire Registry. Or you can go through and backup a Selected branch if you’re only making changes to specific parts of the Registry. When in doubt just backup the entire thing.
现在选择备份的位置和名称。 在“导出范围”下,确保选择“全部”以备份整个注册表。 或者,如果仅对注册表的特定部分进行更改,则可以浏览并备份Selected分支。 如有疑问,只需备份整个事情。
![sshot-2010-08-19-[20-25-23] sshot-2010-08-19-[20-25-23]](https://i-blog.csdnimg.cn/blog_migrate/1f2ebdfba014475ec47411389a9753b9.png)
Again you’ll want to back it up to a location other than your local server drive. The size of our Registry was around 45 MB, though yours may vary.
同样,您将需要将其备份到本地服务器驱动器以外的其他位置。 我们的注册表的大小约为45 MB,尽管您的注册表可能有所不同。
![sshot-2010-08-19-[20-28-54] sshot-2010-08-19-[20-28-54]](https://i-blog.csdnimg.cn/blog_migrate/e49308d14ef07bf215dae957c0db0b68.png)
Backing up your server’s System State and Registry is a great idea to incorporate into your backup strategy. If something does go wrong, you can easily restore the settings which should help get your server back to where it needs to be.
备份服务器的系统状态和注册表是将备份策略纳入备份的好主意。 如果确实出现问题,则可以轻松地恢复设置,这将有助于使服务器恢复到需要的位置。
翻译自: https://www.howtogeek.com/howto/26264/how-to-backup-your-windows-home-server-system-state/