aws s3 sync s3://mybucket .
Using FTP to backup a large S3 bucket is slow. That's because FTP creates a new request for each file, downloads the file, and closes the request. That adds a lot of time to your download.
| # Add this to config/environments/development.rb | |
| # Limit your development log file to 5 MB | |
| config.logger = Logger.new(config.paths["log"].first, 1, 5242880) # 5 megabytes |
| # Load Twitter Widgets | |
| window.twttr = ((d, s, id) -> | |
| js = undefined | |
| fjs = d.getElementsByTagName(s)[0] | |
| unless d.getElementById(id) | |
| js = d.createElement(s) | |
| js.id = id | |
| js.src = "//platform.twitter.com/widgets.js" | |
| fjs.parentNode.insertBefore js, fjs | |
| window.twttr || t = { _e: [], ready: (f)-> t._e.push(f) } |
| # Open bash.rc in Terminal using the 'mate' command | |
| mate ~/.bashrc | |
| # Do you have this line in your .bashrc file? The PostgresApp should have added PostgresApp to your PATH. | |
| PATH="/Applications/Postgres.app/Contents/Versions/9.3/bin:$PATH" |
aws s3 sync s3://mybucket .
Using FTP to backup a large S3 bucket is slow. That's because FTP creates a new request for each file, downloads the file, and closes the request. That adds a lot of time to your download.