Torch Object Storage
Parameter | Type | Description |
Parameter | Type | Description |
bucket | String | Bucket name. |
key | String | Object name. |
prefix | String | The prefix used for filtering objects in batch restore operations. |
-r | Bools | Batch restore objects with a specified prefix. |
-j | Integer | The maximum concurrency for restoring objects in batches. This value is set to the "defaultJobs" value in the configuration file by default. |
-v | Bools | Batch restore objects with multiple versions that share the specified prefix. |
-f | Bools | Force the operation without prompting for confirmation. |
-versionId | String | Sets the version of the object to be restored. If this is not set, the latest version will be restored by default. |
-d | Integer | Sets how long object copies will be reserved. The default value is 1 day. Restoring an object creates a temporary copy that you can access, which will be automatically deleted once it expires. The unit is days. |
-tier | Enum | Restoration mode. The available options are Standard, Expedited, and Bulk. The default setting is Standard. The available restoration modes vary depending on where the object is stored.
|
-fr | Bools | Generate a result file when restoring a single object. |
-o | String | The folder where result files are stored. The default location is specified in the configuration file as defaultOutputDir. |
-bt | String | The type of the bucket. The options are as follows:
If the bucket type is not specified, the default will be the type obtained from the bucket metadata. |