views:

376

answers:

3

I just created my first database instance on the Amazon RDS service. I was wondering...

1) Is there a way to have Amazon automatically back up my data in a way that it persists even if the instance is deleted?

2) Is it possible to share tables across multiple instances?

3) When I first connected to the instance, I found there were three databases: the one I specifically created, innob, and mysql. Should I continue using the one I created or one of the others? Are there cost implications?

THANK YOU.

+1  A: 

You can use MySQl commands mysqlimport (import) and mysqldump (export) against Amazon RDS. IIRC Imports are limited to 1GB

TFD
Thank you. I should have been more specific in my question (which I just revised). I meant via an automatic process provided by Amazon.
Alan Neal
+5  A: 

1) Is there a way to have Amazon automatically back up my data in a way that it persists even if the instance is deleted?

Yes, Amazon can automatically backup your data

Amazon RDS can automatically back up all of your DB Instances. You can set the backup parameters when you create a DB Instance. However, if you don't set the backup retention period, Amazon RDS sets a default period for you. You can modify the backup parameters whenever you want.

See here

Also, there are DB snapshots which are are user-initiated backups of a DB Instance. DB Snapshots are retained until they are deleted by the user. See here.

2) Is it possible to share tables across multiple instances?

Yes, the instances must be in the same security group.

3) When I first connected to the instance, I found there were three databases: the one I specifically created, innob, and mysql.

The innodb and mysql tables are needed for mysql to run. You should use the one you created.

BigJoe714
Thanks for the answers, Joe. Exactly what I was looking for.
Alan Neal
+1  A: 

TFD: Imports are not limited to 1GB. However, aws recommends that if you are importing more than 1g, you should import tables separately from flatfiles, rather than monolithically piped in from mysqldump.

http://developer.amazonwebservices.com/connect/entry.jspa?externalID=2933

tphyahoo