若在 docker 容器中运行,请先进入容器直接与容器内的环境进行交互,

docker exec -it [容器名] bash

  • 查看存储库的状态
kopia repository status
  • 更改存储库密码
kopia repository change-password