Clone database via API?
I've seen the API1/adddb and API2/createdb functions for creating new databases. What about cloning an existing database? E.g. I have a model database that I want to be able to clone for new customers. Is there a way to do that programmatically via the API? (I'm using PHP in case it makes any difference.) Thanks for any help or suggestions!
-
Hello :) We don't offer any API functions that allow you to clone or copy an existing database, but you are welcome to submit a feature request for this via: Submit A Feature Request In the meantime, you could develop a script that copies/clones the database through the MySQL command line and have it run as a post account creation script hook: Guide To Standardized Hooks Thank you. 0
Please sign in to leave a comment.
Comments
1 comment