I am new to use Drush.
this following is my .drushrc.php file
$aliases['server'] = array ( 'remote-host' => '184.108.40.206', 'remote-user' => 'root', ); $aliases["dxb"] = array ( '#name' => 'dxb', 'root' => '/var/www/dev/daxuebao', );
I try to use this following command to sync local site to remote site
$ drush rsync @self @dxb
But it alert me:
rsync: mkdir "/var/www/dev/daxuebao" failed: No such file or directory (2) rsync error: error in file IO (code 11) at /SourceCache/rsync/rsync-42/rsync/main.c(544) [receiver=2.6.9] rsync: connection unexpectedly closed (8 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [sender=2.6.9] Could not rsync from /Users/tangmonk/Sites/drupal/daxuebao// to [error] /var/www/dev/daxuebao/
It seems directory
/var/www/dev/daxuebao do not exist, so I try to mkdir to my server :
$ mkdir /var/www/dev/daxuebao
The I type
$ drush rsync @self @dxb again, But still above problem.
How to solved it?