![]() ![]() It's supposed to be drush sql-sync but I assume that's just a typo because you mentioned you tried piping it (with the correct alias) as well. So the task should work running from the host (where you would run it in most setups).įirst of all, you mention you ran drush which is incorrect. I'm not sure if this is the correct approach though and now I'm running into some php issues that I'm not seeing on dev desktop or on Acquia Dev oddly enough.ĭrush sql-sync is definitely supposed to be able to sync between two remotes (unlike plain drush core-rsync). ![]() I ended up installing Drush SQL Sync Pipe and was able to get the DB from the Acquia Dev site and push it up to the Virtual Box. I was thinking I could copy in the aliases but then I feel like that might open up a bunch of issues with the ssh key of my virtual box not being added to my Acquia account, etc.Mainly because I don't have access to all of my Acquia aliases. I think I should be running this sql-sync on the host and not within the vagrant ssh.I found a project called Drush SQL Sync Pipe that looks promising but wanted to check here before I start going down that - Any help is greatly appreciated. ![]() I also tried drush sql-dump | drush sql-cli with no luck even though I can create the sql file no problem with Rsync error: error in rsync protocol data stream (code 12) at io.c(226) Ĭopying dump file from Source to Destination. Rsync: connection unexpectedly closed (0 bytes received so far) I can create a new drush alias to the Drupal-VM no problem by adding the following into /./drush/: I can vagrant ssh in and verify that ssh-agent is forwarding correctly to the host by running ssh -T as I get the expected message: Hi xxx! You've successfully authenticated, but GitHub does not provide shell access. Ideally this could all be done after vagrant up completes, but I'd be happy if I could just get the workflow sorted out manually to start.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |