I like having site alias defined for easy Drupal management for backing up, syncing dev site with live etc.
But I am afraid of having great loses if I mistyped the drush command having order of site aliases interchanged.
drush sql-sync @dev @live
drush sql-sync @live @dev
Other possibilities include:
drush rsync @dev @live
Is there any option that I can set while defining site aliases that make a site ready only in drush commands? I tried to find one, including drush source code, but didn't succeed.
Of course, outside of drush I can create separate user account that only have ready only access to the site. Also extra database user with no