diff --git a/README.md b/README.md index b8c1c1e..7376be8 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Note that you need to set the environment variable `RCLONE_REMOTE_NAME` to a rem #### Automatic Backups -Make sure that your bitwarden_rs container is named `bitwardenrs` otherwise you have to replace the container name in the `--volumes-from` section of the docker run call. +Make sure that your bitwarden_rs container is named `bitwarden` otherwise you have to replace the container name in the `--volumes-from` section of the docker run call. By default the data folder for bitwarden_rs is `/data`, you need to explicitly specify the data folder using the environment variable `DATA_DIR`. @@ -70,7 +70,7 @@ Start the backup container with default settings. (automatic backup at 5 minute docker run -d \ --restart=always \ --name bitwardenrs_backup \ - --volumes-from=bitwardenrs \ + --volumes-from=bitwarden \ --mount type=volume,source=bitwardenrs-rclone-data,target=/config/ \ -e RCLONE_REMOTE_NAME="YouRemoteName" \ -e DATA_DIR="/data" \ diff --git a/README_zh.md b/README_zh.md index 72427ea..398dedc 100644 --- a/README_zh.md +++ b/README_zh.md @@ -60,7 +60,7 @@ docker run --rm -it \ #### 自动备份 -确保你的 bitwarden_rs 容器被命名为 `bitwardenrs`,否则你需要自行替换 docker run 的 `--volumes-from` 部分。 +确保你的 bitwarden_rs 容器被命名为 `bitwarden`,否则你需要自行替换 docker run 的 `--volumes-from` 部分。 默认情况下 bitwarden_rs 的数据文件夹是 `/data`,你需要显式使用环境变量 `DATA_DIR` 指定数据文件夹。 @@ -70,7 +70,7 @@ docker run --rm -it \ docker run -d \ --restart=always \ --name bitwardenrs_backup \ - --volumes-from=bitwardenrs \ + --volumes-from=bitwarden \ --mount type=volume,source=bitwardenrs-rclone-data,target=/config/ \ -e RCLONE_REMOTE_NAME="YouRemoteName" \ -e DATA_DIR="/data" \