Synchronizing with Drush

Here we are using Drush site aliases and assuming that SSH has been set up so we don't need passwords.

Copy the site files

Alternatively we can try to see the progress by using:

We need to specify the mode options for the rsync call so that we can change the standard option 'l' to 'L'. This is because of how servers are usually set up. It all has to do with soft links.

 

NOTE: Might need to do a 'chgrp -R www-data *' on the downloaded files when rsyncing from other servers to localhost

Content Category: