diff --git a/weed-shell.md b/weed-shell.md index 4228bf5..9580ddf 100644 --- a/weed-shell.md +++ b/weed-shell.md @@ -155,7 +155,7 @@ I0212 22:22:56.666094 filechunk_manifest.go:197 read http://fast-volume-1:8080/2 ``` 1. `volume.check.disk` ``` -> lock; volume.check.disk -v -force -slow -volumeId 2480 -nonRepairThreshold 1 -syncDeleted +> lock; volume.check.disk -v -apply -slow -volumeId 2480 -nonRepairThreshold 1 -syncDeleted load collection logs-data volume 2480 index size 2621232 from fast-volume-3:8080 ... load collection logs-data volume 2480 index size 2621232 from fast-volume-1:8080 ... volume 2480 fast-volume-1:8080 has 163827 entries, fast-volume-3:8080 missed 0 and partially deleted 0 entries @@ -306,12 +306,12 @@ Use `-expiry` for time-limited credentials (must be positive; 0 = no expiration) ### Backup and restore IAM state ``` > s3.iam.export -file iam-backup.json -> s3.iam.import -file iam-backup.json -force +> s3.iam.import -file iam-backup.json -apply > s3.config.show ``` `s3.iam.export -file` writes with mode 0600 to protect credentials. -`s3.iam.import` requires `-force` since it overwrites the entire IAM configuration. +`s3.iam.import` requires `-apply` since it overwrites the entire IAM configuration. # One more trick You can skip the "fs." prefix, for all "fs.*" commands: