Commit Graph
3615 Commits
Author SHA1 Message Date
Krishna Srinivas 8a488ba0e4 Do full scan diff+mirror in multi-site mirror mode (#2994) 2019-12-09 01:32:58 -08:00
Krishna Srinivas ea0a4b2142 Fix multi-master setup help text (#2993) 2019-12-09 00:52:47 -08:00
kannappanr 4482063fb9 Retry mirror forever on watch (#2992) 2019-12-08 19:44:46 -08:00
Krishna Srinivas 2d8bd7aecc Support for multi master sites (#2991) 2019-12-08 16:25:50 -08:00
Harshavardhana 69bea2eb96 Continue listing upon error during diff and mirror (#2988) 2019-12-08 14:34:52 -08:00
Anis Elleuch c5112d4a0f watch: Add site wide level support (#2987) 2019-12-08 11:35:35 -08:00
Krishna Srinivas a8064ff644 Continue mirroring inspite of error events (#2986) 2019-12-07 18:00:58 -08:00
Harshavardhana fccdcfe803 fix: Source content can be nil when updating progress bar (#2984) 2019-12-07 10:06:16 +05:30
Harshavardhana 543ea4bd90 change target to name in config help (#2983) 2019-12-07 10:05:32 +05:30
Harshavardhana da47ed8ac4 Avoid re-parsing config history elements (#2981) 2019-12-06 07:17:35 +05:30
Harshavardhana f3b2d5471f Add finalized command line options (#2979) 2019-12-04 21:03:34 -08:00
Harshavardhana 3f426ff7e0 Update export command to print disabled sub-sys as comments (#2978) 2019-12-03 12:10:12 -08:00
Harshavardhana 1e1480f408 Fix progress bar update regression (#2976)
Regression introduced in cf6defe025
2019-11-30 17:19:23 -08:00
poornas 4e316c3a40 Remove duplicated API method(s) for object retention (#2973) 2019-11-27 09:44:39 -08:00
Harshavardhana cb110f7403 Add support for auto-complete in 'mc admin config' commands (#2975) 2019-11-27 09:36:40 -08:00
Harshavardhana 21a79b4a44 Add import/export command (#2974) 2019-11-26 10:08:41 -08:00
Harshavardhana cf6defe025 Fix totalSize and totalCounts calculation (#2969) 2019-11-25 18:27:01 +05:30
kannappanr 6eaf0dd05e Retention command to apply retention to objects with a Prefix (#2963) 2019-11-22 12:39:46 -08:00
poornas c2a771f51c Handle PutObjectRetention notification events correctly (#2966) 2019-11-22 09:38:36 -08:00
Harshavardhana 6cfbc809cf Add mirror command to compare metadata and copy (#2965)
mirror now uses the newly introduced
ListObjectsV2WithMetadata API in minio-go
2019-11-21 22:25:46 -08:00
Harshavardhana 3dc37f1ecd Add default values in 'get' (#2962) 2019-11-21 14:35:40 +05:30
poornas 5dda155f81 mirror object lock configuration to dest bucket (#2964)
if bucket does not exist on the target side.
2019-11-20 16:17:07 -08:00
Harshavardhana c51267871c help command is now part of mc admin config get/set (#2961) 2019-11-19 15:15:10 -08:00
Ashish Kumar Sinha 9a9a6d853d Rectify usage section of policy help (#2959) 2019-11-15 10:37:32 -08:00
Harshavardhana 9aebf1e818 update to latest minio (#2957) 2019-11-13 22:35:23 -08:00
poornas 3df8101903 Fix encrypt-key flag parsing (#2955) 2019-11-12 10:24:00 -08:00
Harshavardhana 94943334d4 update to latest minio (#2956) 2019-11-12 03:26:52 -08:00
Bala FA 27d1131825 add lock command (#2880)
`lock` command enables to set, get and clear object lock configuration
of given bucket.
2019-11-11 11:36:04 -08:00
Harshavardhana e0c6fabda6 Fix config history to list in git style format (#2951)
```
~ mc admin config history list -n 2 myminio
RestoreId: df0ebb1e-69b0-4043-b9dd-ab54508f2897
Date: Mon, 04 Nov 2019 17:27:27 GMT

region name="us-east-1" state="on"
region name="us-east-1" state="on"
region name="us-east-1" state="on"
region name="us-east-1" state="on"

RestoreId: ecc6873a-0ed3-41f9-b03e-a2a1bab48b5f
Date: Mon, 04 Nov 2019 17:28:23 GMT

region name=us-east-1 state=off
```
2019-11-05 14:41:52 -08:00
Praveen raj Mani 71f5a7568f Fix the storage prints for xl/fs disks in admin info server (#2947) 2019-10-31 10:14:53 -07:00
Wesley Collin Wright 2a33d28cb9 print disk usage as a plain integer when formatting as json (#2946) 2019-10-31 10:05:55 -07:00
Harshavardhana 9927c0d5c7 mc admin config set/get/del/history/help (#2835)
Related to https://github.com/minio/minio/pull/8392
2019-10-30 21:36:41 -07:00
Ashish Kumar Sinha 42898064f2 Add options to preserve filesystem attributes (#2938) 2019-10-30 00:35:25 -07:00
kannappanr 810978720f Fix typo in error message (#2945)
Change the error message from `Cannot remove new user` to 
`Cannot remove <User>`, when a non-existent user is removed.
2019-10-30 09:08:00 +05:30
kannappanr 90a60d3b6a Avoid index out of range errors (#2943)
Fixes #2941
2019-10-28 12:01:56 +05:30
Nitish Tiwari f6240587db Fix arrow signs to use more common U+2191 & U+2193 (#2942) 2019-10-27 20:55:36 -07:00
Praveen raj Mani 80aecfddff Adapt new changes in StorageInfo (#2889) 2019-10-23 08:47:38 -07:00
Bala FA 72403ecbd1 fix mc cp termination on signals (#2934) 2019-10-21 22:12:56 +05:30
Ashish Kumar Sinha 16965bc19a continue flag: Fix inconsistent punctuation in usage text (#2933) 2019-10-21 14:32:46 +05:30
Bala FA d7078ae153 Refactor mc cp and make session optional. (#2910)
Now `mc cp --recursive --continue` creates copy session on failure or
resumes if previous failed session is found.

Fixes #2893
2019-10-18 22:52:20 +05:30
Harshavardhana bced96ee98 Update mc to use secure-io package (#2931) 2019-10-17 03:04:05 -07:00
poornas 990a7b6d51 Add --type flag to mc admin console (#2914)
This allows filtering error logs by type
2019-10-15 00:47:09 +05:30
poornas 735aa139b1 Fix removing empty prefixes with mc rm command (#2912)
Fixes: 2909
2019-10-12 09:49:14 +05:30
Klaus Post aa4a4774da Fix Windows config path (#2898)
Remove '.exe' (case insensitive) from executable name for consistent config folder.

Potentially breaking: If people (for whatever reason) used 'mc.exe', this will potentially break their setup.
2019-10-12 00:07:10 +05:30
yiranzai c389ee4aa0 Fix zh_CN doc about policy errors (#2927) 2019-10-11 04:21:20 +05:30
kannappanr f93fe1330a Update minio-go to v6.0.39 (#2924) RELEASE.2019-10-09T22-54-57Z 2019-10-09 09:08:39 -07:00
ebozduman 3710c443bb No 'Removing ...' messages for prefixes(dirs) (#2925) 2019-10-09 06:58:55 +05:30
poornas 0f8345b207 trace - Add TimeToFirstByte to output in --json mode (#2904) 2019-10-09 01:25:54 +05:30
Oleg Utkin 6f478d0a6f update docker alpine base image to 3.10 (#2920) 2019-10-08 07:16:43 +05:30
Andy Boyett d902705d90 README: update minimum go version (#2923)
PR #2888 bumped the minimum go version from 1.12 to 1.13 but did not
update README.md to reflect the change. This commit updates the readme
to be in line with the code.

Attempting to build `mc` from source on go 1.12 yields this error:
```
$ GO111MODULE=on go get github.com/minio/mc
go: finding github.com/minio/mc latest
package github.com/minio/mc: build constraints exclude all Go files in /home/andy/go/pkg/mod/github.com/minio/mc@v0.0.0-20191004065813-f79aefa79713
```
2019-10-08 01:04:46 +05:30