From 9bd48849d6f725fe175b2325edb91477650dde95 Mon Sep 17 00:00:00 2001 From: SamyOubouaziz Date: Wed, 3 Apr 2024 13:32:44 +0200 Subject: [PATCH] docs(s3): doc review 1 --- storage/object/how-to/restore-an-object-from-glacier.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/storage/object/how-to/restore-an-object-from-glacier.mdx b/storage/object/how-to/restore-an-object-from-glacier.mdx index 287ec27dba..b8194cbbd9 100644 --- a/storage/object/how-to/restore-an-object-from-glacier.mdx +++ b/storage/object/how-to/restore-an-object-from-glacier.mdx @@ -57,9 +57,9 @@ categories: ## How to restore all objects in a bucket -If you have numerous files in a bucket that you would like to restore, we recommen using the command line interface with for example with a dedicated tool such as the [AWS CLI](/storage/object/api-cli/object-storage-aws-cli/). +If you have numerous files in a bucket that you would like to restore, we recommend using the command line interface, with a dedicated tool such as the [AWS CLI](/storage/object/api-cli/object-storage-aws-cli/). -1. Run the command below in a terminal to create a list of objects to restore and store it as a text file. Make sure to replace `` by the name of your bucket. +1. Run the command below in a terminal to create a list of objects to restore, and store it as a text file. Make sure to replace `` with the name of your bucket. ```sh aws s3api list-objects-v2 --bucket --query "Contents[?StorageClass=='GLACIER']" --output text | awk '{print $2}' > glacier-restore.txt @@ -68,7 +68,7 @@ If you have numerous files in a bucket that you would like to restore, we recomm The `list-objects-v2` operation is [limited to 1,000 objects](https://docs.aws.amazon.com/cli/latest/reference/s3api/list-objects-v2.html#description). -2. Run the following command to restore every object listed at the previous step. Make sure to replace `` by the name of your bucket, and `NUM` by the desired number of days. +2. Run the following command to restore every object listed at the previous step. Make sure to replace `` with the name of your bucket, and `NUM` by the desired number of days. ```sh for x in `cat glacier-restore.txt` @@ -82,7 +82,7 @@ If you have numerous files in a bucket that you would like to restore, we recomm ## Restore time -The time it takes to restore an object depends on the size of the object and on if [multipart](/storage/object/concepts/#multipart-uploads) is configured. If your object is larger than 1 MB, it can take anywhere from a few minutes to 24 hours for restore to start. +The time it takes to restore an object depends on the size of the object and if [multipart](/storage/object/concepts/#multipart-uploads) is configured. If your object is larger than 1 MB, it can take anywhere from a few minutes to 24 hours for restore to start. For multipart objects, each part is equivalent to one object. Consequently, the more parts your object has, the longer the restore time will be.