I want to use drush for upgrade my drupal 6 to drupal7. i read this document. i have a problem with create alias. i have been doing this
1- create a subdomain in my plesk (create sub.domain.com)
2- go to /var/www/vhosts/domain.com/httpdocs and download this file and rename this to "aliases.drushrc.php"
3- remove aliases.drushrc.php content and replace with
<?php
$aliases['sub'] = array(
'root' => '/var/www/vhosts/domain.com/sub',
'uri' => 'sub.domain.com',
);
?>
4- run command: drush @sub status and i get this error:
The drush command '@sub status' could not be found. Run
drush cache-clear drushto clear the commandfile cache if you have installed new extensions