Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I transfer a tarball from my web server (e.g. http://example.com/backup.tar.gz) to an Amazon S3 bucket? Do I have to download it locally and upload it?

share|improve this question
add comment

2 Answers 2

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 : pkgs.org/centos-5-rhel-5/rpmfusion-nonfree-updates-testing-i386/… –  ℝ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: dnho.es/6MSy). 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
show 4 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.