Is there a way to use drush archive-dump but to pass it somehow the name of sql file it dumps into archive? Current name is too long (full path with dots instead / and # to separate path and site name) and not as useful so I would love to override its name (like I can do with tar.gz name with --destination parameter)

1 Answer 1


Unfortunately, there is no way to stipulate what the sql dump file should be named. See the archive-dump source code for reference.

Wouldn't be too hard to adjust; PRs would be welcome.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.