Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Hi all I want to backup my amazon instance currently running on ubuntu 10.4 LTS, anyone know how to do that?

I also have a Cent-OS instance which I bakup and restore by creating snapshots and images where necessary but I have been unable to do this with Ubuntu.

:(

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I'll go ahead and assume you mean ec2 only by the tags on your question.

If you are using an EBS root image, this is as easy as ec2-create-snapshot. You'll get a block device which you can attach to another machine and copy anywhere. Its important to note that these are in the same availability zone as the instance, so don't rely on the snapshot alone for surviving an availability zone going down.

If you are on an ephemeral drive (sometimes called the "instance storage"), you will need to do it the old fashioned way, by copying all the data off your instance. One lightning fast way to do this is to use something like s3cmd to sync all your data into an S3 bucket. You can get the s3cmd tool in the s3cmd package.

share|improve this answer
    
Yeah I am on ec2... Let me try it... Thanks –  mainakibui Dec 8 '11 at 10:30

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.