Restoring file back from Glacier to S3 [VC UG]
Here we will show you how to restore a file that has been lifecycle managed by AWS from S3 to Glacier.
To restore a file from Glacier, use the curl-command below;
curl -X PUT -u admin:pw "vidispine01:8080/API/storage/STORAGE-ID/file/FILE-ID/restore?extraData%3dexpirationInDays%3d30"
Note that you have to replace "STORAGE-ID" and "FILE-ID" with your own values.
Below is an example of a correct curl-command;
![](../../__attachments/2481816654/pSRw1D8E0ZNQ1uNmWMAxNn6A2wyeYnXTPQ.png?inst-v=c263b046-0db3-4e5e-9b28-d475c958150e)
You can read more about restoring from Glacier in the link below;