通过使用本网站, 您同意 隐私政策.
接受
进入IT进入IT进入IT
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
阅读: How to Migrate WSUS Database between two SQL Servers
字体调整器氨基酸
进入IT进入IT
字体调整器氨基酸
  • 家
  • 信息技术专家
  • 技术
  • 微软
  • 视窗
  • SCCM查询集合列表
搜索
  • 家
  • 信息技术专家
  • 技术
  • 微软
    • 天蓝色
    • 配置管理器/SCCM
    • 数字PM
    • 协调者
    • Hyper-V
    • 微软 Edge 预览体验
    • 微星指数
    • 办公室 365
    • 办公室内幕
    • 电力商业智能
    • Skype
    • SQL服务器
    • 团队
  • 视窗
    • Windows 管理中心
    • Windows客户端
    • Windows服务器
  • SCCM查询集合列表
SQL服务器

How to Migrate WSUS Database between two SQL Servers

出版: 二月 18, 2024
3 最小阅读量
分享

How to Migrate WSUS Database between two SQL Servers.

内容
解决方案 1. You have access to both SQL Servers解决方案 2. You have files of WSUS Database

解决方案 1. You have access to both SQL Servers

1. 跑步 Command Prompt as Admin on your server with WSUS Role;

2. Type and execute the next command:

net stop W3SVC && net stop wuauserv && net stop WsusService 

3. Run SQL Server Management Studio on the first (old) SQL服务器;

4. Navigate to your WSUS Database (by default SUSDB). Right Click and select Tasks\Detach;

5. Copy your WSUS Database 和 Logs files to a new location;

6. Run the new SQL Management Studio and 附 copied Database;

7. On your WSUS Server run Registry Editor and change the key:

HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerNameStart

8. Change server name from old SQL Server to new;

9. 跑步 Command Prompt as Admin on your server with WSUS Role;

10. Type the next command:

net start W3SVC && net start wuauserv && net start WsusService

11. Test, by running WSUS Console.

解决方案 2. You have files of WSUS Database

In case you can’t access to SQL Server instance with WSUS database with SQL Management Studio, but DB and Logs files are available.

1. 跑步 Command Prompt as Admin on your server with WSUS Role;

2. Type and execute the next command:

net stop W3SVC && net stop wuauserv && net stop WsusService 

5. Copy your WSUS Database 和 Logs files to new location;

6. Run SQL Management Studio on the new SQL Server and 附 copied Database;

7. Expand the Security, Right Click on Logins, 然后选择 New Login;

8. 进入 NT AUTHORITY\NETWORK SERVICE 为 Login Name;

9. Click on User Mapping and confirm that the user has the dbo Default Schema granted on the SUSDB Database;

10. Click on 好的 to create the login;

11. Right Click on Logins, 然后选择 New Login;

12. 进入 {WSUS Server Name}\WSUS Administrators 为 Login Name;

13. Click on User Mapping and confirm that the WSUS Administrators Group is granted access to the SUSDB Database;

14. Click on 好的 to create the login;

15. On your WSUS Server run Registry Editor and change key:

HKLM\SOFTWARE\Microsoft\UpdateServices\Server\Setup\SqlServerNameStart

16. Change server name from old SQL Server to new;

17. 跑步 Command Prompt as Admin on your server with WSUS Role;

18. Type the next command:

net start W3SVC && net start wuauserv && net start WsusService

19. Test, by running WSUS Console.

标记:命令提示符 (指令管理系统)信息系统微软SQL服务器微软视窗服务器世界州立大学
上一篇 Configuration Manager Task Sequence Error Code 0x800705AA
下一篇 All OUs in this domain should be protected from accidental deletion
发表评论 发表评论

发表回复 取消回复

您的电子邮件地址不会被公开. 必填字段已标记 *

该网站使用 Akismet 来减少垃圾邮件. 了解您的评论数据的处理方式.

翻译

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
经过 Transposh - translation plugin for wordpress

热门帖子

Windows Server 的系统要求 2016
Windows服务器
配置管理器查询集合列表
配置管理器查询集合列表
configmgr
在经典团队网站的新式页面上启用结构化/托管导航
技术
SCCM 无法从 MP 获取预期版本的 DP 位置
configmgr

最近的帖子

在 Ubuntu 上安装和配置 Fail2ban 以实现 SSH 保护 24.04
Linux
在AlmaLinux上启用和配置FirewallD
Linux
AlmaLinux中的用户创建和SSH密钥设置
Linux
如何在AlmaLinux上重置密码
Linux

© 2023 进入IT

转到移动版本
欢迎回来!

登录您的帐户

用户名或电子邮件地址
密码

丢失密码?