Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3253838
  • 博文数量: 515
  • 博客积分: 5116
  • 博客等级: 大校
  • 技术积分: 4137
  • 用 户 组: 普通用户
  • 注册时间: 2006-09-30 11:24
个人简介

黑马王子就是我! 技术认证:系统分析师,网络规划设计师,网络工程师,信息系统监理师,系统集成项目管理师,初级程序员,MCSE,MCDBA,CCNA 目前主攻虚拟化技术,VPN,系统架构,集群和高可用性等。

文章分类

全部博文(515)

文章存档

2023年(11)

2022年(17)

2021年(19)

2020年(28)

2019年(42)

2018年(53)

2017年(41)

2016年(33)

2015年(43)

2014年(25)

2013年(13)

2011年(6)

2010年(28)

2009年(47)

2008年(55)

2007年(26)

2006年(28)

分类: 网络与安全

2008-03-18 08:58:27

DHCH服务器的备份
一、备份%SystemRoot%\System32\Dhcp\Dhcp.mdb文件
二、To prevent DHCP from starting after the database has been transferred, disable the DHCP Server service by using the Services tool in Control Panel:
Click Start, point to Settings, click Control Panel, and then double-click Services.
In the Services box, click Microsoft DHCP Server, click Startup, and then click Disabled under Startup Type.
Stop the DHCP Server service by using the net stop dhcpserver command at a command prompt.
Use Registry Editor (Regedt32.exe) to view the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DhcpServer\Configuration
Select the Configuration key, and then click Save Key on the Registry menu. Save the key as C:\Config.key.
恢复的时候,请把dhcp目录下的所以东东删完,然后再把备份的Dhcp.mdb拷回去。
有可能还需要有一步:
Click the destination DHCP server, and then click Reconcile All Scopes on the Action menu. Click Verify. If any leases need to be reconciled, click Reconcile to synchronize the registry and database.

dhcp的快速备份!
命令行:
netsh dhcp server dump >dhcp_bak.txt
备份完成。
如果原DHCP服务器损坏,需要新建一台DHCP服务器,并把DHCP-bak.txt复制过来。
在命令行运行:
netsh exec dhcp_bak.txt
这样,相关的信息就恢复了,但租约信息用这种办法无法恢复。
 

关于DNS的备份和恢复。

备份:
1、停止DNS服务
2、打开regedit,找到HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS
3、将DNS这个分支导出。命名为DNS-1
4、找到HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\DNS Server
5、将DNSserver分支导出,命名为DNS-2
6、打开\Windows\System32\DNS ,把其中的所有*.dns文件复制出来,并和DNS-1.reg及DNS-2.reg保存在一起。
把上述内容备份出来即可。
 
恢复:
1、当区域里的DNS服务器发生故障,重新建立一台win2003服务器,并与所要替代的DNS服务器起相同的名字,设置相同的DNS后缀和IP地址。
2、在新系统中安装并启动DNS服务。
3、把前面备份出来的*.dns文件复制到新系统的\Windows\System32\DNS文件夹中。
4、停用DNS服务。
5、把备份的dns-1.reg和dns-2.reg导入到注册表中。
6、重新启动DNS服务。
 
阅读(3185) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~