title: S3 Glacier Objects aren't restored
body: <p>So about 14h ago I did run a restore command on 2 folders (both relativly large 10.5 TiB and 200 GiB) in my S3 bucket</p>
  
  <pre><code>s3cmd restore --recursive --restore-days=4 -restore-priority=bulk s3://mybucket/folder1/
  s3cmd restore --recursive --restore-days=4 -restore-priority=bulk s3://mybucket/folder2/
  </code></pre>
  
  <p>now I want to copy both folders to a different bucket with</p>
  
  <pre><code>aws s3 sync s3://mybucket/folder1/ s3://mybucket2/
  </code></pre>
  
  <p>and</p>
  
  <pre><code>aws s3 sync s3://mybucket/folder2/ s3://mybucket2/
  </code></pre>
  
  <p>but the aws cli tells me that all my Object are of storage class GLACIER and that I have to restore them first. That is what I thought I did. When I take a look at them in the web interface they seem to be restored and they already have an expiration date. The expiration date is at <code>Apr 14, 2018 2:00:00 AM GMT+0200</code> so more than 4 days from now (it is when I'm writing this <code>Apr 9, 2018 10:30:00 AM GMT+0200</code>) does that mean the objects only become available on <code>Apr 10, 2018 2:00:00 AM GMT+0200</code> to conform with the 4 days of restore time?</p>
  
  <p><strong>A couple of edits:</strong></p>
  
  <p>a)</p>
  
  <p>I at least think why the expiration date is further than 4 Days away, because AWS always rounds the date up to the next UTC midnight which in this case is at <code>Apr 14, 2018 2:00:00 AM GMT+0200</code></p>
  
  <p>b)</p>
  
  <p>Also It tried to download the files through the web interface which works without a problem</p>
  
  <p>c)</p>
  
  <p>when I fetch the Metadata with <code>aws s3api head-object --bucket mybucket --key folder1/part1.file</code> this is the response:</p>
  
  <pre><code>{
      "Restore": "ongoing-request=\"false\", expiry-date=\"Sat, 14 Apr 2018 00:00:00 GMT\"", 
      "AcceptRanges": "bytes", 
      "ContentType": "binary/octet-stream", 
      "LastModified": "Wed, 20 Dec 2017 15:02:48 GMT", 
      "ContentLength": 59408357, 
      "ETag": "\"49b981b95eaf62abed0880c0db7c1200-8\"", 
      "StorageClass": "GLACIER", 
      "Metadata": {}
  }
  </code></pre>
  
  <p>which seems to be how it should be.</p>
  
  <p>d)</p>
  
  <p>when I try copy with <code>aws s3 cp s3://mybucket/folder1/part1.file s3://mybucket2/</code> it works but --recursive does not work <code>aws s3 cp --recursive s3://mybucket/folder1/ s3://mybucket2/</code></p>