title: Retain owner and file permissions info when syncing to AWS S3 Bucket from Linux
body: <p>I am syncing a directory to AWS S3 from a Linux server for backup. </p>
  
  <pre><code>rsync -a --exclude 'cache' /path/live /path/backup
  aws s3 sync  path/backup s3://myBucket/backup --delete
  </code></pre>
  
  <p>However, I noticed that when I want to restore a backup like so:</p>
  
  <pre><code>aws s3 sync s3://myBucket/backup path/live/ --delete
  </code></pre>
  
  <p>The owner and file permissions are different.  Is there anything I can do or change in the code to retain the original Linux information of the files?</p>
  
  <p>Thanks!</p>