WSUS目錄本地遷移


生產環境中有一台win2003 server,安裝了Microsoft Windows Server Update Services 3.0,作為所有windows server的內網補丁更新服務器,由於規划不恰當,前一段時間發現保存補丁文件的硬盤分區滿了,通過服務自帶的清理工具也沒能清理出多少剩余空間來,想通過手動操作刪除一些生成時間比較早的補丁,又擔心新裝的服務器依然需要這些文件,於是狗了一下,發現了這篇文章:
按照文中所述步驟操作,將補丁目錄遷移到本機另外一個較大的硬盤分區上,遷移工作目前正常,順手就把E文大致翻譯了一下,留在這里備查。
 
To change the location of local WSUS update storage

1. Click Start, and then click Run.

2. In the Open box, type cmd, and then click OK.

(簡單點說就是打開一個MS-dos窗口)

3. At the command prompt, navigate to the directory that contains WSUSutil.exe.

(切換到WSUSutil.exe所在目錄,一般是在C:\Program Files\Update Services\Tools下)

4. Type the following, and then press ENTER:

wsusutil.exe movecontent contentpath logfile [-skipcopy]

For example, type:

wsusutil.exe movecontent D:WSUS1 D:move.log

where D:WSUS1 is the new path for local WSUS update storage, and D:move.log is the path to the log file

(舉例,如果想將補丁目錄遷移至 D:\WSUS1下,遷移日志為D:move.log,則執行如下命令:wsusutil.exe movecontent D:\WSUS1 D:move.log)

“正在移動內容位置,請不要終止該程序。”經過一段時間等待,數據遷移完畢。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM