Hi, I tried for searching for an issue similar to this and couldn't find one.. so here it is:

I was testing "archive-dump @sites" today and noticed that once the command finishes running it uses one of my sub-sites SQL DB name as the final filename for the archive. (ex: drush-backups/archive-dump/20111101134047/somesubsiteSQLdbName.20111101_014049.tar.gz)
Shouldn't the primary sites name be used in the filename? (ex: drush-backups/archive-dump/20111101134047/mainsiteSQLdbName.20111101_014049.tar.gz)

Otherwise this command is simply amazing!

Thanks

Comments

moshe weitzman’s picture

Title: archive-dump @sites » archive-dump @sites uses a subsite DB as basis for filename
Priority: Normal » Minor

drupal has no notion of a primary site among many multi-sites. not sure how to fix this. It is pretty minor, given that --destination gives user full control.

greg.1.anderson’s picture

Version: » 8.x-6.x-dev
Status: Active » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If desired, you may copy this bug to our Github project and then post a link here to the new issue. Please also change the status of this issue to closed (duplicate).

Please ask support questions on Drupal Answers.