- 论坛徽章:
- 0
|
windows 2008AD域活动目录如何备份?Windows 2003 做了DC 之后备份DC 也才600-800 M 之间, 不会超过1G的, 现在Windows 2008 备份DC ,好像没有那个系统状态的选择了, 动则几个G . 有没有办法减小2008 备份文件大小 到2003 的水平?windows 2008活动目录备份DC后,恢复方法还是和2003一样吗?
回答:首先,我想说明下Windows 2008的备份和以前的Windows 2003备份是不一样的。NTbackup工具在Windows 2008上面已经不用了。
当然您还是可以在Windows 2008中单独的备份域控制器的系统状态,只是这样的操作只能在命令行下面进行再图形界面上面是没有单独备份系统状态这个操作的。具体的步骤,请您参考以下的文章:
Perform a System State Backup of a Domain Controller by Using the Command Line (Wbadmin)
http://technet.microsoft.com/en-us/library/cc772482.aspx
其次,在域控制器上面执行授权还原或者非授权还原和Windows 2003也是有所不同的。
windows 2008中ntbackup已经去除,而使用Windows Server Backup (WB)替代为整体化的备份方案,在备份的时至少需要选择一个卷,这样就导致备份出来的文件特别大。考虑到windows 2008 活动目录备份的需求,WB提供了一个命令行,并且提供了 systemstatebackup 的参数,详细的命令行如下:
wbadmin start systemstatebackup -backuptarget:c:
不过这里需要注意几点
1、这个工具默认限制不能将备份文件放置于系统盘,所以,上面的的命令行会有一个错误提示:
ERROR - The location for backup is a critical volume.
这个错误提示的意思就是说,您需要将备份文件放置于其它非系统盘。如果您使用的虚拟机环境,或者确认不方便将备份文件放置于非系统盘,您可以使用如下方法解除这个限制:
浏览到注册表子键 HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Services\\wbengine
新建一个子项 SystemStateBackup,在其下新建一个键值,即可在系统卷保存备份文件。这个键值一经建立,立即生效,无需重新启动计算机。如果要恢复设置,只需要简单的将这个键值删除,或者修改为0就可以了。
名称:AllowSSBToAnyVolume
类型:DWORD
键值:1
2、备份文件所放置的卷至少需要具有6GB的剩余空间
3、备份文件使用.vhd格式,而不是原来的.bkf格式。
Windows 2008AD域活动目录系统状态备份的一个命令行样例如下:
C:\\Users\\Administrator>wbadmin start systemstatebackup -backuptarget:e:
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2004 Microsoft Corp.
Starting System State Backup [5/26/2008 12:34 AM]
Retrieving volume information…
This would backup the system state from volume(s) Local Disk(C to e:.
Do you want to start the backup operation?
[Y] Yes [N] No y
Creating the shadow copy of volumes requested for backup.
Found (0) files
Found (3337) files
Found (7115) files
Found (1069 files
Found (29495) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Found (44795) files
Search for system state files complete
Starting backup of files
Overall progress - 0% (Currently backing up files reported by ‘System Writer’)
Overall progress - 0% (Currently backing up files reported by ‘System Writer’)
Overall progress - 0% (Currently backing up files reported by ‘System Writer’)
Overall progress - 0% (Currently backing up files reported by ‘System Writer’)
Overall progress - 0% (Currently backing up files reported by ‘System Writer’)
Overall progress - 1% (Currently backing up files reported by ‘System Writer’)
Overall progress - 1% (Currently backing up files reported by ‘System Writer’)
Overall progress - 2% (Currently backing up files reported by ‘System Writer’)
Overall progress - 2% (Currently backing up files reported by ‘System Writer’)
Overall progress - 2% (Currently backing up files reported by ‘System Writer’)
Overall progress - 3% (Currently backing up files reported by ‘System Writer’)
Overall progress - 3% (Currently backing up files reported by ‘System Writer’)
.
.
.
Overall progress - 98% (Currently backing up files reported by ‘System Writer’)
Overall progress - 98% (Currently backing up files reported by ‘System Writer’)
Overall progress - 98% (Currently backing up files reported by ‘System Writer’)
Overall progress - 98% (Currently backing up files reported by ‘System Writer’)
Backup of files reported by ‘System Writer’ completed
Overall progress - 98% (Currently backing up files reported by ‘WMI Writer’)
Backup of files reported by ‘WMI Writer’ completed
Overall progress - 99% (Currently backing up files reported by ‘Registry Writer’)
Overall progress - 99% (Currently backing up files reported by ‘Registry Writer’)
Summary of backup:
——————
Backup of system state completed successfully [5/26/2008 1:37 AM]
Log of files successfully backed up
‘C:\\Windows\\Logs\\WindowsServerBackup\\SystemStateBackup 26-05-2008 00-34-54.log’
请您参考以下的文章:
对 AD DS 执行非权威还原
http://technet.microsoft.com/zh-cn/library/cc730683.aspx
执行已删除 AD DS 对象的授权还原
http://technet.microsoft.com/zh-cn/library/cc755296.aspx
参考:
======
执行域控制器的整个服务器恢复
http://technet.microsoft.com/zh-cn/library/cc772519.aspx |
|