Skip to content

Instantly share code, notes, and snippets.

@welly
Created March 12, 2015 01:26
Show Gist options
  • Save welly/30687db6695733e9eb56 to your computer and use it in GitHub Desktop.
Save welly/30687db6695733e9eb56 to your computer and use it in GitHub Desktop.
drush alias entry for vagrant
$aliases['site.vm'] = array(
'env' => 'dev',
'site' => 'site',
'uri' => 'site.vm',
'root' => '/vagrant/www',
'remote-host' => 'site.vm',
'remote-user' => 'vagrant',
'ssh-options' => '-i ~/Clients/site/puphpet/files/dot/ssh/id_rsa',
'command-specific' => array(
'sql-dump' => array(
'gzip' => TRUE,
'result-file' => '/vagrant/sql_dumps/@[email protected]',
),
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment