title: Backing up symlinks using AWS s3 sync
body: <p>I'm attempting to backup our system using the <code>aws s3 sync</code> command, however this will either backup the entire directory behind a symlink (default behaviour), or not backup the symlink at all.</p>
  
  <p>I'd like some way of backing up the symlink so it can be restored from S3 if need be.</p>
  
  <p>I don't want to archive the entire directory first, else I'll lose the ability to only backup the changed files.</p>
  
  <p>My current thought is to scan the dir for symlinks, and create metadata files containing the symlink's target, which, after restore, could be read to rebuild the symlink, but I'm not quite sure how to do this.</p>
  
  <p>Any advice would be very welcome.  Thanks in advance.</p>