docs: rename -force to -apply in s3.iam.import example

Chris Lu committed 2026-04-07 14:14:57 -07:00
1 parent 6d0a7b031f
commit 18a3338dbd
1 file changed
+3 -3
+3 -3
@@ -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: