0

I have two Drupal 7 sites. I want to keep them in sync with a drush command:

drush sql-sync SOURCE DEST

when I answer y to overwrite the databases I get the following error:

mysqldump: Can't create/write to file '/tmp/filename.sql' (errorcode 2 - no such file or directory)

both of my sites are running on a windows 2012 R2 server. So the temp folder should be d:\temp. If I go to a command prompts and type echo %TEMP% it returns d:\temp.

Anyone have any suggestions? According to everything I can find, this should work fine on windows.

Misa Lazovic
  • 2,805
  • 10
  • 32
  • 38
Jeff Brooks
  • 3
  • 1
  • 4

1 Answers1

0

According to the example.drushrc.php file there is a $options['dump-dir'] option which you should set if the temporary directory is not /tmp

Attila
  • 91
  • 1
  • 6