Even though I have setup site aliases with %dump-dir and %dump set, when trying to do sql-sync, I get the message about the temp files and to setup the dump-dir or dump variables.
Here is the aliases.drushrc.php:
<?php
$aliases['local'] = array(
'root' => 'C://wamp/www/local',
'uri' => 'localhost',
'db-url' => 'mysql://root@localhost/local',
'path-aliases' => array(
'%dump-dir' => 'C:/drush/drush-dumps',
'%dump' => 'C:/drush/dump.sql',
),
);
$aliases['live'] = array(
'root' => '/home/site/www/site',
'uri' => 'www.site.com',
'remote-host' => 'www.site.com',
'remote-user' => 'root',
'path-aliases' => array(
'%dump-dir' => '/home/site/tmp',
'%dump' => '/home/site/tmp/dump.sql',
),
);
Comments
Comment #1
eelkeblokI seem to have the same problem, but on Mac OS X (Lion)
Comment #2
drewish commentedsubscribe, same issue on lion. wondering if i'm just expecting it to work differently.
Comment #3
that0n3guy commentedI think I have the same issue. I am doing
drush sql-sync gtbc.local @serverDoing
drush site-alias gtbc.localI get:Doing
drush site-alias @serveri get:Here is the output I get when using sql sync:
My server is LAMP not windows so the
to aegir@gtbc.mydevserver.com:C:\Users\quadwin\AppData\Local\Temp\devF133.tmpis messed up for sure.Comment #4
that0n3guy commentedI think my issue is related to #1363610: sql-sync command fix on Drush on Windows
Comment #5
moshe weitzman commentedsqlsync tests are passing on windows. is resolved?
Comment #6
Bevan commented#1730758: sql-sync ignores dump-dir option in drushrc.php is similar but not the same.
Comment #7
greg.1.anderson commentedThis issue was marked
closed (won't fix)because Drush has moved to Github.If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to
closed (duplicate).Please ask support questions on Drupal Answers.