File Metadata format used by FastGlacier. How to restore the files uploaded with FastGlacier.
FastGlacier
Free Windows Client for Amazon Glacier
Follow:
Like:
Share:

FastGlacier File Metadata Format

As you probably know, Amazon Glacier doesn't support file names. Each file (an 'archive') has a unique ID and an optional description (an 'archive description').

FastGlacier and many other Amazon Glacier tools use archive description to store filenames and other metadata such as last modification time.

Unfortunately there is no single standard on storing metadata. FastGlacier supports most of the common metadata formats.

Below we will describe metadata format used by FastGlacier. This might be useful if you would like to write your own custom tool to restore files uploaded with FastGlacier.

If you are not developer, or do not want to write the code, check out these instructions: How to download files from Amazon Glacier

Metadata Format v4

The following metadata format is used from version 2.6.1:

ArchiveDescription =

  <m>
    <v>4</v>
    <p>path</p>
    <lm>utc-lastmodified</lm>
    <ce>compressed_flag:encrypted_flag:file_hash:file_size</ce>
  </m>
 
where:
 
  path = base64(utf8(file name))
 
  utc-lastmodified = "yyyyMMdd\\THHmmss\\Z"
  
  compressed_flag - "1" if file compressed and "0" otherwise
  
  encrypted_flag - "1" if file encrypted and "0" otherwise
  
  file_hash - an md5 hash of uncompressed/unencrypted file
  
  file_size - the size in bytes of uncompressed/unencrypted file
		

Example:

<m>
  <v>4</v>
  <p>Z2xhY2llci1kZy5wZGY=</p>
  <lm>20120821T170824Z</lm>
  <ce>1:1:4340ebcf79712dc5e3ef7d50bab98ba5:54687</ce>
</m>
		

Metadata Format v3

The following metadata format is used from version 2.5.1:

ArchiveDescription =

  <m>
    <v>3</v>
    <p>path</p>
    <lm>utc-lastmodified</lm>
    <ce>compressed_flag:encrypted_flag:original_file_hash</ce>
  </m>
 
where:
 
  path = base64(utf8(file name))
 
  utc-lastmodified = "yyyyMMdd\\THHmmss\\Z"
  
  compressed_flag - "1" if file compressed and "0" otherwise
  
  encrypted_flag - "1" if file encrypted and "0" otherwise
  
  original_file_hash - an md5 hash of uncompressed/unencrypted file
		

Example:

<m>
  <v>3</v>
  <p>Z2xhY2llci1kZy5wZGY=</p>
  <lm>20120821T170824Z</lm>
  <ce>1:1:4340ebcf79712dc5e3ef7d50bab98ba5</ce>
</m>
		

Metadata Format v2

The following metadata format was used from version 1.3.9:

ArchiveDescription =

  <m>
    <v>2</v>
    <p>path</p>
    <lm>utc-lastmodified</lm>
  </m>
 
where:
 
  path = base64(utf8(file name))
 
  utc-lastmodified = "yyyyMMdd\\THHmmss\\Z"
		

Example:

<m>
  <v>2</v>
  <p>Z2xhY2llci1kZy5wZGY=</p>
  <lm>20120821T170824Z</lm>
</m>
		

Metadata Format v1

The following metadata format was used in very first versions of FastGlacier:

ArchiveDescription =

  <ArchiveMetadata>
    <Path>path</Path>
    <LastModified>lastmodified</LastModified>
  </ArchiveMetadata>
 
where:
 
  path = base64(utf8(file name))
 
  lastmodified = rfc-822-date-time(file last write time)
		

Example:

<ArchiveMetadata>
  <Path>Z2xhY2llci1kZy5wZGY=</Path>
  <LastModified>Wed, 19 Sep 2012 11:11:11 +0000</LastModified>
</ArchiveMetadata>
		

FastGlacier 3.5.9 Freeware
Powered by Amazon Web Services
Social Connection
Glacier Client Logo
 
People like FastGlacier!
Our customers say

"Your client software has been wonderful to use and has made working with the Glacier service a pleasant experience. What I like most about FastGlacier is that it's extremely easy to use, even for non-technical/IT people." - Rob Costello, Pro User

"Your product recently saved me after I deleted everything I had locally. But with FG, I restored all our video and photos from AWS. Phew! Divorce averted!!" - Jamie C., USA

"Spending ~$40 on @FastGlacier was one of my best software purchases." - J Biggert (Twitter)

Related Products
Copyright © 2012-2017 NetSDK Software, LLC. All rights reserved.  Terms of Use.  Privacy Policy.