From 8d77e4819024545be07ad1e4ab3189958ae1adf0 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Mon, 19 Jun 2017 15:51:39 -0700 Subject: [PATCH] Minio supports ETags and metadata. Current doc mentioned lack of ETag and metadata support which since has been long fixed in many upstream Minio releases. Also cleanup the doc to show new startup banner etc. --- docs/content/s3.md | 48 +++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/docs/content/s3.md b/docs/content/s3.md index a65138e94..a6f31e715 100644 --- a/docs/content/s3.md +++ b/docs/content/s3.md @@ -410,20 +410,31 @@ use the secret key as `xxxxxx/xxxx` it will work fine. It is very easy to install and provides an S3 compatible server which can be used by rclone. -To use it, install Minio following the instructions from the web site. +To use it, install Minio following the instructions [here](https://docs.minio.io/docs/minio-quickstart-guide). When it configures itself Minio will print something like this ``` -AccessKey: WLGDGYAQYIGI833EV05A SecretKey: BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF Region: us-east-1 +Endpoint: http://192.168.1.106:9000 http://172.23.0.1:9000 +AccessKey: USWUXHGYZQYFYFFIT3RE +SecretKey: MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03 +Region: us-east-1 +SQS ARNs: arn:minio:sqs:us-east-1:1:redis arn:minio:sqs:us-east-1:2:redis -Minio Object Storage: - http://127.0.0.1:9000 - http://10.0.0.3:9000 +Browser Access: + http://192.168.1.106:9000 http://172.23.0.1:9000 -Minio Browser: - http://127.0.0.1:9000 - http://10.0.0.3:9000 +Command-line Access: https://docs.minio.io/docs/minio-client-quickstart-guide + $ mc config host add myminio http://192.168.1.106:9000 USWUXHGYZQYFYFFIT3RE MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03 + +Object API (Amazon S3 compatible): + Go: https://docs.minio.io/docs/golang-client-quickstart-guide + Java: https://docs.minio.io/docs/java-client-quickstart-guide + Python: https://docs.minio.io/docs/python-client-quickstart-guide + JavaScript: https://docs.minio.io/docs/javascript-client-quickstart-guide + .NET: https://docs.minio.io/docs/dotnet-client-quickstart-guide + +Drive Capacity: 26 GiB Free, 165 GiB Total ``` These details need to go into `rclone config` like this. Note that it @@ -431,10 +442,10 @@ is important to put the region in as stated above. ``` env_auth> 1 -access_key_id> WLGDGYAQYIGI833EV05A -secret_access_key> BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF +access_key_id> USWUXHGYZQYFYFFIT3RE +secret_access_key> MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03 region> us-east-1 -endpoint> http://10.0.0.3:9000 +endpoint> http://192.168.1.106:9000 location_constraint> server_side_encryption> ``` @@ -444,19 +455,16 @@ Which makes the config file look like this ``` [minio] env_auth = false -access_key_id = WLGDGYAQYIGI833EV05A -secret_access_key = BYvgJM101sHngl2uzjXS/OBF/aMxAN06JrJ3qJlF +access_key_id = USWUXHGYZQYFYFFIT3RE +secret_access_key = MOJRH0mkL1IPauahWITSVvyDrQbEEIwljvmxdq03 region = us-east-1 -endpoint = http://10.0.0.3:9000 +endpoint = http://192.168.1.106:9000 location_constraint = server_side_encryption = ``` -Minio doesn't support all the features of S3 yet. In particular it -doesn't support MD5 checksums (ETags) or metadata. This means rclone -can't check MD5SUMs or store the modified date. However you can work -around this with the `--size-only` flag of rclone. - So once set up, for example to copy files into a bucket - rclone --size-only copy /path/to/files minio:bucket +``` +rclone copy /path/to/files minio:bucket +``` \ No newline at end of file