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
title: Cold Archive - Getting started with Cold Archive (EN)
3
3
excerpt: This guide shows you how to manage your data with Cold Archive
4
-
updated: 2024-11-29
4
+
updated: 2025-08-18
5
5
---
6
6
7
7
## Objective
8
8
9
-
Cold Archive is a service for long-term data storage.
10
-
When archived, every object of a bucket is stored on physical tapes.
11
-
Restoration can take some time as it needs to be read on tapes.
9
+
Cold Archive provides long-term data storage by archiving bucket objects onto physical tapes.
10
+
Restoration may take some time since data is read from tapes.
12
11
13
-
**This guide explains how to set up storage on tapes with Cold Archive.**
12
+
**This guide explains how to set up and manage storage on tapes with Cold Archive, in coexistence with your Object Storage.**
14
13
15
14
## Requirements
16
15
@@ -19,14 +18,25 @@ Restoration can take some time as it needs to be read on tapes.
19
18
20
19
## Instructions
21
20
21
+
> [!primary]
22
+
>
23
+
> You can find the Cold Archive storage presentation and workflow [here](/pages/storage_and_backup/object_storage/cold_archive_overview).
24
+
>
25
+
26
+
This section explains the step-by-step process to configure, archive, restore, and delete buckets with Cold Archive, in coexistence with your Object Storage.
27
+
22
28
In this tutorial, **awscli aliases** are used to simplify the commands.
23
29
30
+
### Initial Setup: create AWS CLI Aliases
31
+
32
+
To simplify commands, create or edit the `~/.aws/cli/alias` file:
> -`Id` is a string used to identify the S3**\*** Intelligent-Tiering configuration. Its value is arbitrary and up to you. It will be necessary for further PUT, GET and DELETE operations on the intelligent-tiering configuration.
55
+
> -`Id` is a string used to identify the S3<sup>1</sup> Intelligent-Tiering configuration. Its value is arbitrary and up to you. It will be necessary for further PUT, GET and DELETE operations on the intelligent-tiering configuration.
46
56
>
47
-
> -`Status` and `Days` are mandatory but not used.
57
+
> -`Status` and `Days` are mandatory but not used.`Days` is only meaningful with certain access tiers.
48
58
>
49
59
50
-
To retrieve an Intelligent tiering configuration, use the get-bucket-intelligent-tiering-configuration command:
60
+
### Check for Incomplete Multipart Uploads Before Archiving
61
+
62
+
Run this command to ensure there are no incomplete multipart uploads on your bucket:
After this request, the bucket is not archived yet.<br>
87
-
It will take some time before it is archived on the tapes.<br>
88
-
From this command and until a restoration, the bucket cannot accept any read or write requests on objects (listing objects is still allowed).
89
-
90
-
#### Archive a bucket with retention lock
104
+
### Archive a bucket with retention lock (WORM Compliance)
91
105
92
106
By default, an archive is not locked i.e you can still delete an archive after it has been written to tapes. To ensure your archive follows the WORM (Write Once Read Many) model, you can set a retention period in your intelligent tiering configuration using the `OVH_ARCHIVE_LOCK` access tier and a number of days. The archive will be then locked until the current date + the number of days specified.
93
107
@@ -113,7 +127,7 @@ By default, an archive is not locked i.e you can still delete an archive after i
113
127
> Similarly, you cannot have multiple access tiers in your intelligent tiering configuration i.e either you use the `OVH_ARCHIVE` access tier or you use the `OVH_ARCHIVE_LOCK` access tier but not both.
114
128
>
115
129
116
-
####Lock a bucket after it is archived
130
+
### Lock an already archived bucket
117
131
118
132
If you have buckets that have been previously archived without using the `OVH_ARCHIVE_LOCK` access tier, you can still lock them by re-applying an intelligent tiering configuration to your bucket using the `OVH_ARCHIVE_LOCK` access tier and specifying a retention duration in days.
119
133
@@ -135,30 +149,47 @@ If you want to edit the retention period, similarly, re-apply the intelligent ti
135
149
> - OVHcloud Cold Archive will return an error because 2024-02-23 + 5 days < 2024-03-03.
- Objects become accessible in read-only mode once restoration completes.
145
170
146
-
After this request, the bucket is not restored yet.<br>
147
-
It will take some time before it is restored and for the objects to be accessible in read-only (writing objects is forbidden).
148
-
149
-
### Bucket deletion
171
+
### Delete an archive
150
172
151
173
> [!primary]
152
174
>
153
-
> If you have locked your archive, trying to delete it before the end of the retention period will result in a 400 Bad Request error:
175
+
> If the bucket is locked, deletion before the retention period expires will fail.
154
176
>`An error occurred (BadRequest) when calling the DeleteBucketIntelligentTieringConfiguration operation: Archive deletion is locked until 2124-01-19T15:24:56.000Z`
155
177
>
156
178
157
-
Delete an intelligent-tiering configuration and objects of a bucket:
>> Click on the `⋮`{.action}, thenselect`Delete`{.action}.
190
+
>>
191
+
>>{.thumbnail}
192
+
>>
162
193
163
194
After this request, the objects of the bucket are not deleted yet as the deletion is done asynchronously.<br>
164
195
The operation will delete everything (on tapes and all objects if restored) and the bucket status will be in a "Deleting" status.<br>
@@ -180,34 +211,43 @@ Once the deletion is completed:
180
211
aws s3 rb s3://<bucket_name>
181
212
```
182
213
183
-
### Bucket status
184
-
185
-
Once an intelligent-tiering configuration has been pushed (via a `put-bucket-intelligent-tiering-configuration` operation) and until it is removed (via a `delete-bucket-intelligent-tiering-configuration` operation), the status of a bucket is readable through:
If you have locked your archive, you can check the retention period using the `get-bucket-tagging command`.
214
+
### Check the bucket status and retention tags
215
+
216
+
> [!tabs]
217
+
> Via the AWS S3 API
218
+
>> Once an intelligent-tiering configuration has been pushed (via a `put-bucket-intelligent-tiering-configuration` operation) and until it is removed (via a `delete-bucket-intelligent-tiering-configuration` operation), the status of a bucket is readable through:
>> You can check the status of your bucket by looking at the value in the `Status` column, as well as its retention period in the `Locked until` column.
This command returns detailed configuration info which can be useful for debugging or verification.
273
+
224
274
## Go further
225
275
276
+
Check out our dedicated Discord channel: <https://discord.gg/ovhcloud>. Ask questions, share feedback, and interact directly with the team behind our storage and backup services.
277
+
226
278
If you need training or technical assistance to implement our solutions, contact your sales representative or click on [this link](/links/professional-services) to get a quote and ask our Professional Services experts for assisting you on your specific use case of your project.
227
279
228
280
Join our [community of users](/links/community).
229
281
230
-
**\***: S3 is a trademark of Amazon Technologies, Inc. OVHcloud’s service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.
282
+
<sup>1</sup>: S3 is a trademark of Amazon Technologies, Inc. OVHcloud’s service is not sponsored by, endorsed by, or otherwise affiliated with Amazon Technologies, Inc.
0 commit comments