You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
>> - **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.
92
+
>> - `put-bucket-versioning`: AWS CLI command to configure version management.
93
+
>> - `--bucket my-bucket`: replace `my-bucket` with the name of your bucket.
94
+
>> - `--versioning-configuration Status=Enabled`:enable versioning for the specified bucket.
98
95
>>
99
96
>> 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.
>> - **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.
122
+
>> - `put-bucket-versioning`: AWS CLI command to configure versioning.
123
+
>> - `--bucket my-bucket`: replace `my-bucket` with the name of your bucket.
124
+
>> - `--versioning-configuration Status=Suspended`:suspend versioning for the specified bucket.
128
125
>>
129
126
>> 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
127
>>
@@ -135,54 +132,53 @@ When versioning is enabled:
135
132
136
133
> [!tabs]
137
134
> 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:
135
+
>> You can show or hide object versions in an Object Storage bucket by clicking on the following button:
139
136
>>
140
-
>> [enable version objects](images/bucket_enable_versions.png)
137
+
>> [enable version objects](images/bucket_enable_versions.png){.thumbnail}
141
138
>>
142
139
143
140
#### View the different versions of an object
144
141
145
142
>![tabs]
146
143
> 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:
144
+
>> To view the different versions of an object, click directly on the object concerned. You'll be redirected to a page detailing the information and versions available for this object:
#### Download a current or previous version of an object
153
150
154
151
> [!tabs]
155
152
> 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}.
153
+
>> 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 clickin the `...`{.action} button, then on `Download`{.action}.
157
154
>>
158
-
>> 
155
+
>> {.thumbnail}
159
156
>>
160
157
161
158
### Object deletion: simple, permanent deletion and Delete Marker management
162
159
163
160
> [!primary]
164
161
>
165
-
> If versioning is enabled on your S3 bucket, deleting an object adds a Delete Marker: the object disappears from the default view, but remains visible via the View versions option.
162
+
> If versioning is enabled on your S3 bucket, deleting an object adds a Delete Marker: the object disappears from the default view, but remains visible via the `View versions`{.action} option.
166
163
>
167
164
> This protection allows you to restore an object deleted by mistake.
168
165
>
169
166
170
167
> [!tabs]
171
-
> Via the OVHcloud customer area
172
-
>> From the main page of your Object Storage bucket, or from the object details page, you can delete your object by clicking on `delete`{.action}.
173
-
>>
174
-
>> 
168
+
> Via the OVHcloud Control Panel
169
+
>> From the main page of your Object Storage bucket, or from the object details page, you can delete your object by clicking on `Delete`{.action}.
175
170
>>
171
+
>> {.thumbnail}
176
172
>>
177
-
>> To delete a version definitively, click on the `three dots`{.action}, then on `Delete`{.action}, and confirm the definitive deletion action.
173
+
>> To delete a version permanently, click the `...`{.action} button, then on `Delete`{.action}, and confirm the definitive deletion action.
178
174
>>
179
175
>>
180
176
> Via the AWS CLI
181
177
>> To delete an object, use the following command:
Copy file name to clipboardExpand all lines: pages/storage_and_backup/object_storage/s3_versioning/guide.fr-fr.md
+21-24Lines changed: 21 additions & 24 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,9 @@
1
1
---
2
2
title: "Object Storage - Premiers pas avec la gestion de versions"
3
3
excerpt: "Découvrez comment activer et gérer la gestion de versions pour vos buckets de stockage d'objets OVHcloud en utilisant les API"
4
-
updated: 2024-07-08
4
+
updated: 2025-07-07
5
5
---
6
6
7
-
> [!primary]
8
-
> Ce guide documente l'utilisation via l'API. Les futures mises à jour de ce guide détailleront le fonctionnement via l'espace client OVHcloud.
9
-
10
7
## Objectif
11
8
12
9
**Ce guide explique comment activer et gérer la gestion de versions pour vos buckets de stockage d'objets OVHcloud en utilisant les API.**
@@ -92,20 +89,20 @@ Lorsque le versioning est activé :
92
89
>>
93
90
>>**Explications :**
94
91
>>
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é.
92
+
>> - `put-bucket-versioning`: commande AWS CLI pour configurer la gestion des versions.
93
+
>> - `--bucket my-bucket`: remplacez `my-bucket` par le nom de votre bucket.
94
+
>> - `--versioning-configuration Status=Enabled`: active la gestion des versions pour le bucket spécifié.
98
95
>>
99
96
>> 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
97
>>
101
98
> Via l'espace client OVHcloud
102
99
>> Pour activer le versioning sur un bucket Object Storage, deux possibilités s’offrent à vous :
103
100
>>
104
-
>> Lors de la création du bucket, activez simplement l’option de versioning dans l'étape associée:
101
+
>>- Lors de la création du bucket, activez simplement l’option de versioning dans l'étape associée:
105
102
>>
106
103
>> {.thumbnail}
107
104
>>
108
-
>> Sur un bucket existant, en modifiant ses paramètres via le tableau de bord OVHcloud.
105
+
>> - Sur un bucket existant, en modifiant ses paramètres via le tableau de bord OVHcloud :
109
106
>>
110
107
>> {.thumbnail}
111
108
>>
@@ -123,9 +120,9 @@ Lorsque le versioning est activé :
123
120
>>
124
121
>> **Explications :**
125
122
>>
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é.
123
+
>> - `put-bucket-versioning` : commande AWS CLI pour configurer le versioning.
124
+
>> - `--bucket my-bucket` : remplacez `my-bucket` par le nom de votre bucket.
125
+
>> - `--versioning-configuration Status=Suspended` : suspend le versioning pour le bucket spécifié.
129
126
>>
130
127
>> 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
128
>>
@@ -136,46 +133,46 @@ Lorsque le versioning est activé :
136
133
137
134
> [!tabs]
138
135
> 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 :
136
+
>> Vous pouvez afficher ou masquer les versions des objets dans un bucket Object Storage en cliquant sur le bouton suivant :
140
137
>>
141
-
>> 
138
+
>> {.thumbnail}
142
139
>>
143
140
144
141
#### Afficher les différentes versions d'un objet
145
142
146
143
>![tabs]
147
144
> 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 :
145
+
>> Pour consulter les différentes versions d’un objet, cliquez directement sur l’objet concerné. Vous serez redirigé vers une page détaillant les informations et versions disponibles pour cet objet :
#### Télécharger une version actuelle ou antérieure d’un objet
154
151
155
152
> [!tabs]
156
153
> 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}.
154
+
>> 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 sur le bouton `...`{.action}, puis sur `Télécharger`{.action}.
158
155
>>
159
-
>>
156
+
>>{.thumbnail}
160
157
>>
161
158
162
159
### Suppression d’objets : suppression simple, définitive et gestion des Delete Markers
163
160
164
161
> [!primary]
165
162
>
166
-
> Si le versioning est activé sur votre bucket S3, la suppression d’un objet ajoute un Delete Marker : l’objet disparaît de la vue par défaut, mais reste visible via l’option Voir les versions.
163
+
> Si le versioning est activé sur votre bucket S3, la suppression d’un objet ajoute un Delete Marker : l’objet disparaît de la vue par défaut, mais reste visible via l’option `Voir les versions`{.action}.
167
164
>
168
165
> Cette protection permet de restaurer un objet supprimé par erreur.
169
166
>
170
167
171
168
> [!tabs]
172
169
> Via l'espace client OVHcloud
173
-
>> Depuis la page principale de votre bucket Object Storage ou depuis la page de détails d’un objet, vous pouvez supprimer votre objet en cliquant sur `supprimer`{.action}.
170
+
>> Depuis la page principale de votre bucket Object Storage ou depuis la page de détails d’un objet, vous pouvez supprimer votre objet en cliquant sur `Supprimer`{.action}.
174
171
>>
175
172
>> 
176
173
>>
177
174
>>
178
-
>> Pour supprimer définitivement une version, cliquez sur les `trois points`{.action}, puis sur `Supprimer`{.action}, et confirmez l’action de suppression définitive.
175
+
>> Pour supprimer définitivement une version, cliquez sur le bouton `...`{.action} puis sur `Supprimer`{.action}, et confirmez l’action de suppression définitive.
179
176
>>
180
177
>>
181
178
> Via l'AWS CLI
@@ -197,17 +194,17 @@ Lorsque le versioning est activé :
0 commit comments