2.2. 管理者パスワードを使用した復元

管理者パスワードを使用して、Red Hat Advanced Cluster Security for Kubernetes のデータベース全体を復元できます。

前提条件

  • Red Hat Advanced Cluster Security for Kubernetes バックアップファイルが必要です。
  • 管理者パスワードが必要である。
  • roxctl CLI をインストールしている。

手順

  1. ROX_CENTRAL_ADDRESS 環境変数を設定します。

    $ export ROX_CENTRAL_ADDRESS=<address>:<port_number>
  2. restore コマンドを実行します。

    $ roxctl -p <admin_password> -e "$ROX_CENTRAL_ADDRESS" central db restore <backup_file>