My client decided to change the name of the project and requ开发者_JS百科ires that I change the domain names in our SimpleDB. I could not find any way, service, API call or tool to allow me to do that. I tried using the AWS tools for Eclipse as well as some other 3rd party tools.
At most, they allow you to delete a domain or export its contents to a data file. There's no import functionality.My question/s:
- Is there an easy way to rename a domain?
- Failing that, is there an easy way to copy contents from one domain to another? If so, I'll just copy to the new one and delete the old one.
- Failing 2, does someone have any ready-made code (preferably in PHP) to manually copy record-by-record from one domain to another?
Thanks for your help.
SdbNavigator lets you export and import data (in JSON format). You could export from domain A and import into domain B.
There is no way to rename a domain, if the domain names MUST change, your only recourse is copying the data over manually; there is no automatic or API means to make the copy.
You may be able to use the online web services SimpleBackr or BackupSDB to backup the domains and restore to different domain names. I'm not positive that both services support restoring to different domain names, but I do know the people who run both sites and they are very helpful and responsive when it comes to supporting their services.
Whenever giving out your AWS secret key temporarily, even to trusted individuals, I always recommend that you generate a second key in the AWS Account website and give that out. When the temporary use is done, you can delete the second key, and the existing key used by your apps remains functional and secret.
精彩评论