Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I transfer a tarball from my web server (e.g. to an Amazon S3 bucket? Do I have to download it locally and upload it?

share|improve this question
up vote 1 down vote accepted

If you have an SSH access to your server and you can use the amazon tools (e.g. the ec2-api-tools package on Ubuntu), then you can upload your tarball directly from your server. However, if you only have FTP access to it, your only choice (afaik) is to download it and upload it from your workstation.

share|improve this answer
Thank you! I was hoping for some sort of command line solution a la wget, but I suppose I can't have it all... – ethicka Apr 29 '11 at 7:06
Well this is a command line solution if you use SSH + ec2-api-tools. – ℝaphink Apr 29 '11 at 8:04
I have a (dv) on MediaTemple that I believe is running CentOS, so Ubuntu is not an option :/ – ethicka Apr 29 '11 at 20:03
CentOS has ec2-api-tools, too :… – ℝaphink Apr 29 '11 at 20:06
Wow... Thank you so much. I confirmed I have Centos, but I'm not sure if I can upload safely via Plesk's application pkg install (screenshot: However, I installed it on my Mac and am trying to configure it there and figure it out before I put it on my server. – ethicka Apr 29 '11 at 20:51

You can use minio client aka mc. Using [mc cp] you can achieve this & alternatively write a cron job for same.

$ mc cp backup.tar.gz S3/Mybackupbucket 

mc: minio client
cp : copy command 
backup.tar.gz: File to be copied on S3 bucket
S3: Alias for
Mybackupbucket: your remote bucket on S3

hope it helps.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .