设为首页 收藏本站
查看: 1021|回复: 0

[经验分享] windows 2008活动目录备份

[复制链接]

尚未签到

发表于 2018-6-15 10:55:01 | 显示全部楼层 |阅读模式
  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:
  不过这里需要注意几点,您看到的文章来自活动目录seo http://gnaw0725.blog.51cto.com/156601/d-3
  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 (10698) 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您看到的文章来自活动目录seo http://gnaw0725.blog.51cto.com/156601/d-3
  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
  windows 2008活动目录备份的相关文章请参考
  Windows 2008 R2中创建备份任务
  windows 2008备份不支持差异备份
  清除Windows Server Backup 备份副本
  Windows Server Backup教程
  windows 2008活动目录备份
  windows 2008域控制器备份
  活动目录备份|活动目录教程
  windows 2008
  ---gnaw0725

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-524126-1-1.html 上篇帖子: Windows核心编程(2) 下篇帖子: MDT2012/13功能测试(1)—向MDT工作台添加资源
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表