Skip to content

Commit 803b8b8

Browse files
committed
feat(bucket Object Storage): improve the version guide
1 parent e5be0c7 commit 803b8b8

File tree

7 files changed

+145
-60
lines changed

7 files changed

+145
-60
lines changed

pages/storage_and_backup/object_storage/s3_versioning/guide.en-gb.md

Lines changed: 72 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -82,39 +82,81 @@ When versioning is enabled:
8282

8383
### How to Enable Versioning
8484

85-
#### Using the AWS CLI
86-
87-
To enable versioning on an Object Storage bucket, use the following command:
88-
89-
```sh
90-
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled
91-
```
92-
93-
**Explanation:**
94-
95-
- **put-bucket-versioning:** AWS CLI command to configure versioning.
96-
- **--bucket my-bucket:** Replace `my-bucket` with the name of your bucket.
97-
- **--versioning-configuration Status=Enabled:** Enables versioning for the specified bucket.
98-
99-
After enabling versioning, all objects added to the bucket will have a unique version ID. This means that every time an object is modified or deleted, a new version is created, which can be restored if needed.
85+
> [!tabs]
86+
> Via AWS CLI
87+
>> To enable versioning on an Object Storage bucket, use the following command:
88+
>>
89+
>> ```sh
90+
>> aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled
91+
>> ```
92+
>>
93+
>> **Explications :**
94+
>>
95+
>> - **put-bucket-versioning :** AWS CLI command to configure version management.
96+
>> - **--bucket my-bucket :** replace `my-bucket` with the name of your bucket.
97+
>> - **--versioning-configuration Status=Enabled :** enable versioning for the specified bucket.
98+
>>
99+
>> After enabling versioning, all objects added to the bucket will have a unique version identifier. This means that each time an object is modified or deleted, a new version is created, which can be restored if necessary.
100+
>>
101+
> Via the OVHcloud Control Panel
102+
>> There are two ways to activate versioning on an Object Storage bucket:
103+
>>
104+
>> When creating the bucket, simply activate the versioning option in the associated step:
105+
>>
106+
>> ![OVHcloud control panel - versioning in bucket creation](images/bucket_creation_versioning.png){.thumbnail}
107+
>>
108+
>> On an existing bucket, by modifying its parameters via the OVHcloud dashboard.
109+
>>
110+
>> ![OVHcloud control panel - versioning in bucket modification](images/bucket_modification_versioning.png){.thumbnail}
111+
>>
100112
101113
### How to Suspend Versioning
102114
103-
#### Using the AWS CLI
104-
105-
To suspend versioning, set the versioning configuration status to `Suspended`:
106-
107-
```sh
108-
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Suspended
109-
```
110-
111-
**Explanation:**
112-
113-
- **put-bucket-versioning:** AWS CLI command to configure versioning.
114-
- **--bucket my-bucket:** Replace `my-bucket` with the name of your bucket.
115-
- **--versioning-configuration Status=Suspended:** Suspends versioning for the specified bucket.
116-
117-
Suspending versioning stops new objects from receiving a version ID. Existing objects and their versions remain unchanged, but new objects will not have version IDs until versioning is re-enabled.
115+
> [!tabs]
116+
> Via AWS CLI
117+
>> To suspend versioning, set the versioning configuration status to `Suspended`:
118+
>>
119+
>> ```sh
120+
>> aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Suspended
121+
>> ````
122+
>>
123+
>> **Explanations:**
124+
>>
125+
>> - **put-bucket-versioning :** AWS CLI command to configure versioning.
126+
>> - **--bucket my-bucket :** replace `my-bucket` with the name of your bucket.
127+
>> - **--versioning-configuration Status=Suspended :** suspend versioning for the specified bucket.
128+
>>
129+
>> Suspending versioning prevents new objects from receiving a version identifier. Existing objects and their versions remain unchanged, but new objects will not have version identifiers until versioning is reactivated.
130+
>>
131+
132+
### Manage and access object versions
133+
134+
#### View object versions
135+
136+
> [!tabs]
137+
> Via the OVHcloud Control Panel
138+
>> You can show or hide object versions in an Object Storage bucket by `clicking`{.action} on the following button:
139+
>>
140+
>> [enable version objects](images/bucket_enable_versions.png)
141+
>>
142+
143+
#### View the different versions of an object
144+
145+
> ![tabs]
146+
> Via the OVHcloud Control Panel
147+
>> To view the different versions of an object, `click`{.action} directly on the object concerned. You'll be redirected to a page detailing the information and versions available for this object:
148+
>>
149+
>> ![information versions object](images/bucket_versions_object_details.png)
150+
>>
151+
152+
#### Download a current or previous version of an object
153+
154+
> [!tabs]
155+
> Via the OVHcloud Control Panel
156+
>> From the main page of your Object Storage bucket (if version display is enabled) or from the object details page (see previous step), you can download the desired version by `clicking`{.action} on the three dots, then on `Download`{.action}.
157+
>>
158+
>> ![download current or versioned objects](images/bucket_download_versions.png)
159+
>>
118160
119161
### Important Considerations
120162

pages/storage_and_backup/object_storage/s3_versioning/guide.fr-fr.md

Lines changed: 73 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -82,39 +82,82 @@ Lorsque le versioning est activé :
8282

8383
### Comment activer le versioning
8484

85-
#### Via l'AWS CLI
86-
87-
Pour activer le versioning sur un bucket Object Storage, utilisez la commande suivante :
88-
89-
```sh
90-
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled
91-
```
92-
93-
**Explications :**
94-
95-
- **put-bucket-versioning :** commande AWS CLI pour configurer la gestion des versions.
96-
- **--bucket my-bucket :** remplacez `my-bucket` par le nom de votre bucket.
97-
- **--versioning-configuration Status=Enabled :** active la gestion des versions pour le bucket spécifié.
98-
99-
Après avoir activé la gestion des versions, tous les objets ajoutés au bucket auront un identifiant de version unique. Cela signifie que chaque fois qu'un objet est modifié ou supprimé, une nouvelle version est créée, pouvant être restaurée si nécessaire.
85+
> [!tabs]
86+
> Via l'AWS CLI
87+
>> Pour activer le versioning sur un bucket Object Storage, utilisez la commande suivante :
88+
>>
89+
>> ```sh
90+
>> aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Enabled
91+
>> ```
92+
>>
93+
>> **Explications :**
94+
>>
95+
>> - **put-bucket-versioning :** commande AWS CLI pour configurer la gestion des versions.
96+
>> - **--bucket my-bucket :** remplacez `my-bucket` par le nom de votre bucket.
97+
>> - **--versioning-configuration Status=Enabled :** active la gestion des versions pour le bucket spécifié.
98+
>>
99+
>> Après avoir activé la gestion des versions, tous les objets ajoutés au bucket auront un identifiant de version unique. Cela signifie que chaque fois qu'un objet est modifié ou supprimé, une nouvelle version est créée, pouvant être restaurée si nécessaire.
100+
>>
101+
> Via l'espace client OVHcloud
102+
>> Pour activer le versioning sur un bucket Object Storage, deux possibilités s’offrent à vous :
103+
>>
104+
>> Lors de la création du bucket, activez simplement l’option de versioning dans l'étape associée:
105+
>>
106+
>> ![OVHcloud control panel - versioning in bucket creation](images/bucket_creation_versioning.png){.thumbnail}
107+
>>
108+
>> Sur un bucket existant, en modifiant ses paramètres via le tableau de bord OVHcloud.
109+
>>
110+
>> ![OVHcloud control panel - versioning in bucket modification](images/bucket_modification_versioning.png){.thumbnail}
111+
>>
100112
101113
### Comment suspendre la gestion des versions
102114
103-
#### Via l'AWS CLI
104-
105-
Pour suspendre la gestion des versions, définissez l'état de la configuration de la gestion des versions sur `Suspended` :
106-
107-
```sh
108-
aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Suspended
109-
```
110-
111-
**Explications :**
112-
113-
- **put-bucket-versioning :** commande AWS CLI pour configurer le versioning.
114-
- **--bucket my-bucket :** remplacez `my-bucket` par le nom de votre bucket.
115-
- **--versioning-configuration Status=Suspended :** suspend le versioning pour le bucket spécifié.
116-
117-
La suspension du versioning empêche les nouveaux objets de recevoir un identifiant de version. Les objets existants et leurs versions restent inchangés, mais les nouveaux objets n'auront pas d'identifiants de version jusqu'à ce que le versioning soit réactivé.
115+
> [!tabs]
116+
> Via l'AWS CLI
117+
>>
118+
>> Pour suspendre la gestion des versions, définissez l'état de la configuration de la gestion des versions sur `Suspended` :
119+
>>
120+
>> ```sh
121+
>> aws s3api put-bucket-versioning --bucket my-bucket --versioning-configuration Status=Suspended
122+
>> ```
123+
>>
124+
>> **Explications :**
125+
>>
126+
>> - **put-bucket-versioning :** commande AWS CLI pour configurer le versioning.
127+
>> - **--bucket my-bucket :** remplacez `my-bucket` par le nom de votre bucket.
128+
>> - **--versioning-configuration Status=Suspended :** suspend le versioning pour le bucket spécifié.
129+
>>
130+
>> La suspension du versioning empêche les nouveaux objets de recevoir un identifiant de version. Les objets existants et leurs versions restent inchangés, mais les nouveaux objets n'auront pas d'identifiants de version jusqu'à ce que le versioning soit réactivé.
131+
>>
132+
133+
### Gérer et accéder aux versions d’objets
134+
135+
#### Afficher les versions d'objets
136+
137+
> [!tabs]
138+
> Via l'espace client OVHcloud
139+
>> Vous pouvez afficher ou masquer les versions des objets dans un bucket Object Storage en `cliquant`{.action} sur le bouton suivant :
140+
>>
141+
>> ![enable version objects](images/bucket_enable_versions.png)
142+
>>
143+
144+
#### Afficher les différentes versions d'un objet
145+
146+
> ![tabs]
147+
> Via l'espace client OVHcloud
148+
>> Pour consulter les différentes versions d’un objet, `cliquez`{.action} directement sur l’objet concerné. Vous serez redirigé vers une page détaillant les informations et versions disponibles pour cet objet :
149+
>>
150+
>> ![informations versions object](images/bucket_versions_object_details.png)
151+
>>
152+
153+
#### Télécharger une version actuelle ou antérieure d’un objet
154+
155+
> [!tabs]
156+
> Via l'espace client OVHcloud
157+
>> Depuis la page principale de votre bucket Object Storage (si l’affichage des versions est activé) ou depuis la page de détails d’un objet (voir étape précédente), vous pouvez télécharger la version souhaitée en `cliquant`{.action} sur les trois points, puis sur `Télécharger`{.action}.
158+
>>
159+
>> ![download current or versioned objects](images/bucket_download_versions.png)
160+
>>
118161
119162
### Considérations importantes
120163
95 KB
Loading
54.4 KB
Loading
145 KB
Loading
107 KB
Loading
47.8 KB
Loading

0 commit comments

Comments
 (0)