[ec2-beta] Automatic snapshotting of EBS

Micah Walter micahwalter at me.com
Wed Apr 15 21:07:12 BST 2009


Thomas,
Thanks for the info... so basically put all that below in a shell  
script and run it as a cron job... I know that the AMI tools are  
installed on our beta images by default, but I was wondering if there  
was a special place I should consider installing the API tools? Or  
does it matter?

-micah


On Apr 15, 2009, at 12:27 PM, Thomas Butter wrote:

> Hi Micah,
>
> you could use the script below in a cronjob. EBS snapshots are
> instantenous. If your database does proper flushing of the transaction
> logs no freezing at the db/fs level is needed.
>
> export EC2_HOME=/PATH/TO/EC2-API-TOOLS
> export JAVA_HOME=/PATH/TO/YOUR/JAVA/HOME
> export PK_FILE=/PATH/TO/YOUR/EC2_PRIVATE_KEY
> export CERT_FILE=/PATH/TO/YOUR/EC2_CERT
> export VOLUME=VOLUME-ID (e.g. vol-12345678)
>
> $EC2_HOME/bin/ec2-create-snapshot -K $PK_FILE -C $CERT_FILE $VOLUME
>
> Regards,
>
> Thomas
>
> On 15.04.2009, at 17:57, Micah Walter wrote:
>
>> Hi,
>> I would like to set up auto-snapshotting of my EBS volume mounted on
>> the Ubuntu-beta instance I am running.
>>
>> Is there any documentation available or synopsis of what is required?
>>
>> I found a few things online but they look a little out-dated...
>>
>> thanks
>> micah
>>
>> -- 
>> Ec2-beta mailing list
>> Ec2-beta at lists.ubuntu.com
>> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ec2-beta
>>
>
>
> -- 
> Ec2-beta mailing list
> Ec2-beta at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ec2-beta





More information about the Ec2-beta mailing list