Minio 服务器

Minio是一个开源对象存储,用 Go 编写并与 Amazon S3 API 兼容。

  • 下载并安装Minio 下载。
  • 您还可以参考Minio Docs获取有关安装和开始使用 Minio Client 和 Minio Server 的分步指导。

您必须首先使用 Minio 服务器的凭据设置以下环境变量。

export AWS_ACCESS_KEY_ID=<YOUR-MINIO-ACCESS-KEY-ID>
export AWS_SECRET_ACCESS_KEY=<YOUR-MINIO-SECRET-ACCESS-KEY>

现在您可以使用此命令轻松初始化 restic 以使用 Minio 服务器作为后端。

./restic -r s3:http://localhost:9000/restic init
enter password for new repository:
enter password again:
created restic repository 6ad29560f5 at s3:http://localhost:9000/restic1
Please note that knowledge of your password is required to access
the repository. Losing your password means that your data is irrecoverably lost.
作者:Jeebiz  创建时间:2024-08-19 14:08
最后编辑:Jeebiz  更新时间:2024-08-20 17:39