Cloning websites

Cloning websites

#1

Although the front-end does not yet permit you to re-clone over the top of an existing site, this is possible at the lower level by using the drush CLI adn provision-clone.

   drush $phase2site provision-clone $phase3site $phase3platform
eg I have several platforms in the same project and continuously rebuild them (as part of a trial upgrade migration) so I need to copy between phase2 and phase3
   drush @phase2d7.projectname.devhost provision-clone @phase3d7.projectname.devhost @platform_ProjectnameD7Phase3

#2

Further to the above - though it seems to re-clone - it does not delete the original DB - you end up with a new DB each time (numbered incrementally) and the old one is detached and becomes unused, but never deleted.

Suggestion : to re-clone, you really do have to delete the target, then clone anew.