# アップグレード

{% hint style="warning" %}
ご利用の環境に変更を加える前に、「[バックアップと復元](/keeper-connection-manager/jp/installation/backup-and-recovery.md)」のページに記載されている手順に従ってバックアップを取ることをお勧めします。
{% endhint %}

## アップグレードの手順

Linuxコマンド ラインから、curlコマンドを使用して最新のインストーラースクリプトに更新します。

```
curl -O https://keepersecurity.com/kcm/kcm-setup.run
```

Docker自動インストールメソッドを使用した場合、基盤となるソフトウェアとDockerコンテナをすべて更新するには、以下のコマンドを実行します。

```
sudo ./kcm-setup.run stop
sudo ./kcm-setup.run upgrade
```

プロンプトが表示さると「Y」を選択します。

<figure><img src="https://4041518992-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZ7s6LQJaKa1G17O787JG%2Fuploads%2FZS3SdjdHZOJdqopqIVjF%2Fimage.png?alt=media&#x26;token=00ffc94c-ec42-47ce-ae21-667d8c965c71" alt=""><figcaption></figcaption></figure>

アップグレードが完了すると、1分後にサービスが自動的に再起動されます。

***

アップグレード中に何らかの問題が発生した場合には[トラブルシューティングのページ](/keeper-connection-manager/jp/troubleshooting.md)をご参照ください。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeper-connection-manager/jp/installation/auto-docker-install/upgrading.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
