I want to use the following command to backup my site to s3:
s3cmd sync /var/www/html/ s3://bucket/backup/html/
However, when I run this any php, js, css, and other file types are first compressed locally then uploaded to S3 (index.php is compressed and becomes index.php.gz - index.php does not exist) - while I think this great in the general case, it breaks my website while the backup is happening (I'm not sure if the files are restored to the original state once sync completes)
So, is there any way to stop this behavior? I looked through the documentation and found no mention of this behavior in the first place, so there is no mention of how to disable it.
Thanks in advance,