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 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:
>> - **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
+
>>{.thumbnail}
107
+
>>
108
+
>> On an existing bucket, by modifying its parameters via the OVHcloud dashboard.
109
+
>>
110
+
>>{.thumbnail}
111
+
>>
100
112
101
113
### How to Suspend Versioning
102
114
103
-
#### Using the AWS CLI
104
-
105
-
To suspend versioning, set the versioning configuration status to `Suspended`:
-**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`:
>> - **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:
#### 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
+
>> 
-**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 :
>> - **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
+
>> {.thumbnail}
107
+
>>
108
+
>> Sur un bucket existant, en modifiant ses paramètres via le tableau de bord OVHcloud.
109
+
>>
110
+
>> {.thumbnail}
111
+
>>
100
112
101
113
### Comment suspendre la gestion des versions
102
114
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` :
-**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` :
>> - **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
+
>> 
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 :
#### 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
+
>>
0 commit comments