---
schema_version: "1"
id: 9a8d8c09137542ef1719a82bec27f6e1981ae47334eefb4ffa36085621f95890
title: 升級後的清理
collection: tableau
version: current
locale: zh-tw
portal_url: https://docs.salesforce.com/tableau/current/zh-tw/server/server-upgrade-baseline-post-ug-cleanup.md
canonical_url: https://help.tableau.com/current/server/zh-tw/server-upgrade-baseline-post-ug-cleanup.htm
source_site: help.tableau.com
content_type: documentation
content_hash: d1acf6024c408ac3b90b6d9bacfc8f6552054080a83e87462920f1e0bb8df85a
description: Uninstall the previous Tableau Server version after a successful upgrade.
---
[跳至主要內容](#main-content)

# 升級後的清理

如 [Tableau Server 升級的運作方式](https://help.tableau.com/current/server/zh-tw/server-upgrade-how-upgrade-works.htm)所討論的，Tableau Server 升級程序會將新版本與您現有的版本並行安裝。升級已完成並經過驗證後，您可以移除舊版的 Tableau Server 以釋出磁碟空間。這是可選步驟。

## 解除安裝先前的版本

解除安裝 Tableau Server 的某個版本：

1. 開啟控制台，按一下「卸載程式」，並找到要卸載的版本。
    
    確保選取要卸載的正確版本：
    
    - 卸載以前版本的 Tableau Server 不會影響正在執行的版本，而只會從這些以前的版本中移除不必要的檔案。
    - **請勿**解除安裝目前正在執行的版本。解除安裝正在執行的目前 Tableau Server 版本會停止伺服器並移除特定於伺服器的檔案和資料夾，但會留下某些元素。解除安裝不會建立存放庫資料備份。
2. 在選取了 Tableau Server 版本的情況下，按一下「卸載」。

## 從 `\packages` 目錄中刪除 'Tableau Server' 資料夾

升級之後，您將在 \\packages 資料夾中看到多個版本的 Tableau Server 資料夾。順利完成升級後，您可以刪除與升級前舊版本相關的資料夾。您可以透過資料夾目錄名稱中的版本代碼來識別舊版本。例如 `scripts.<version_code>`。如需有關版本代碼的詳情，請參閱[檢視伺服器版本](https://help.tableau.com/current/server/zh-tw/version_server_view.htm)。