title: Unable to restore SQL Server bak file from S3, says file too large
body: <p>I'm trying to run a restore query from a bak file stored in S3 bucket to an RDS SQL Server Web edition, and kept getting this error:</p>
  
  <blockquote>
    <p>[2017-09-13 20:30:22.227] Aborted the task because of a task failure or a concurrent RESTORE_DB request. [2017-09-13 20:30:22.287] There is not enough space on the disk to perform restore database operaton.</p>
  </blockquote>
  
  <p>The bak file is 77 GB and the DB has 2TB, how come this is still not enough?</p>
  
  <p>This is the query from AWS docs:</p>
  
  <pre><code>exec msdb.dbo.rds_restore_database 
          @restore_db_name='database_name', 
          @s3_arn_to_restore_from='arn:aws:s3:::bucket_name/file_name_and_extension';
  </code></pre>
  
  <p>Source: <a href="http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html#SQLServer.Procedural.Importing.Native.Using" rel="nofollow noreferrer">http://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/SQLServer.Procedural.Importing.html#SQLServer.Procedural.Importing.Native.Using</a></p>