You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by ji...@apache.org on 2022/07/29 06:47:36 UTC
[doris] branch master updated: ADD: backup by minio (#11245)
This is an automated email from the ASF dual-hosted git repository.
jiafengzheng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 63bdf8497e ADD: backup by minio (#11245)
63bdf8497e is described below
commit 63bdf8497eee6643de4b63d61eb78834e5a5c3ce
Author: Stalary <st...@163.com>
AuthorDate: Fri Jul 29 14:47:31 2022 +0800
ADD: backup by minio (#11245)
ADD: backup by minio
---
.../Backup-and-Restore/CREATE-REPOSITORY.md | 17 +++++++++++++++++
.../Backup-and-Restore/CREATE-REPOSITORY.md | 16 ++++++++++++++++
2 files changed, 33 insertions(+)
diff --git a/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md b/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
index dab7e695a2..5bef2f3048 100644
--- a/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
+++ b/docs/en/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
@@ -118,6 +118,23 @@ PROPERTIES
"fs.defaultFS"="hdfs://hadoop-name-node:54310",
"hadoop.username"="user"
);
+```
+
+6. Create a repository named minio_repo to link minio storage directly through the s3 protocol.
+
+```sql
+CREATE REPOSITORY `minio_repo`
+WITH S3
+ON LOCATION "s3://minio_repo"
+PROPERTIES
+(
+ "AWS_ENDPOINT" = "http://minio.com",
+ "AWS_ACCESS_KEY" = "MINIO_USER",
+ "AWS_SECRET_KEY"="MINIO_PASSWORD",
+ "AWS_REGION" = "REGION",
+ "use_path_style" = "true"
+);
+```
### Keywords
diff --git a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
index a78618a2ae..c43e6c7330 100644
--- a/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
+++ b/docs/zh-CN/docs/sql-manual/sql-reference/Data-Definition-Statements/Backup-and-Restore/CREATE-REPOSITORY.md
@@ -120,6 +120,22 @@ PROPERTIES
);
```
+6. 创建名为 minio_repo 的仓库,直接通过 s3 协议链接 minio.
+
+```sql
+CREATE REPOSITORY `minio_repo`
+WITH S3
+ON LOCATION "s3://minio_repo"
+PROPERTIES
+(
+ "AWS_ENDPOINT" = "http://minio.com",
+ "AWS_ACCESS_KEY" = "MINIO_USER",
+ "AWS_SECRET_KEY"="MINIO_PASSWORD",
+ "AWS_REGION" = "REGION",
+ "use_path_style" = "true"
+);
+```
+
### Keywords
CREATE, REPOSITORY
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org