mirror of
https://github.com/restic/restic.git
synced 2025-06-03 04:38:17 +00:00
docs: fix unit for S3 restore timeout
"d" is not a valid unit.
This commit is contained in:
parent
3d14e92905
commit
eefff0d793
@ -253,7 +253,7 @@ Archive** storage classes is available:
|
|||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ restic backup -o s3.storage-class=GLACIER somedir/
|
$ restic backup -o s3.storage-class=GLACIER somedir/
|
||||||
$ RESTIC_FEATURES=s3-restore restic restore -o s3.enable-restore=1 -o s3.restore-days=7 -o s3.restore-timeout=1d latest
|
$ RESTIC_FEATURES=s3-restore restic restore -o s3.enable-restore=1 -o s3.restore-days=7 -o s3.restore-timeout=24h latest
|
||||||
|
|
||||||
**Notes:**
|
**Notes:**
|
||||||
|
|
||||||
|
@ -26,7 +26,7 @@ type Config struct {
|
|||||||
|
|
||||||
EnableRestore bool `option:"enable-restore" help:"restore objects from GLACIER or DEEP_ARCHIVE storage classes (default: false, requires \"s3-restore\" feature flag)"`
|
EnableRestore bool `option:"enable-restore" help:"restore objects from GLACIER or DEEP_ARCHIVE storage classes (default: false, requires \"s3-restore\" feature flag)"`
|
||||||
RestoreDays int `option:"restore-days" help:"lifetime in days of restored object (default: 7)"`
|
RestoreDays int `option:"restore-days" help:"lifetime in days of restored object (default: 7)"`
|
||||||
RestoreTimeout time.Duration `option:"restore-timeout" help:"maximum time to wait for objects transition (default: 1d)"`
|
RestoreTimeout time.Duration `option:"restore-timeout" help:"maximum time to wait for objects transition (default: 24h)"`
|
||||||
RestoreTier string `option:"restore-tier" help:"Retrieval tier at which the restore will be processed. (Standard, Bulk or Expedited) (default: Standard)"`
|
RestoreTier string `option:"restore-tier" help:"Retrieval tier at which the restore will be processed. (Standard, Bulk or Expedited) (default: Standard)"`
|
||||||
|
|
||||||
Connections uint `option:"connections" help:"set a limit for the number of concurrent connections (default: 5)"`
|
Connections uint `option:"connections" help:"set a limit for the number of concurrent connections (default: 5)"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user