* Tim Johnson tim@akwebsoft.com [131205 16:08]:
FYI: I am new to drupal, drush and PHP but am an experienced programmer in other areas. Am familiar and comfortable with the command line.
I use drush on both Linux and Mac.
I have a drupal site to archive, but there are many directories under the filesystem root which are not part of the site.
NOTE: This has happened because I use Hostmonster and add-on domains are "added on" under the site root.
I know that archive-dump has an exclude option and I could chain a couple of dozen 'excludes' but that's not nearly as 'elegant' as chaining seven 'includes' - which would be
includes, misc, modules, profiles, scripts, sites, themes
Forgot to say : I have used rsync and sql-sync to do something similar, it does (I think) take only the site directories, but the downside is that one would have to have a local site built already to 'syn' to .....