Question

Before working on a site, I take a quick dump of a site via drush arb --destination=/var/backup/latest.tgz --overwrite from the root level /var/www/html.

However, on the rare occasion that I need to restore via drush arr ../backup/latest.rgz --overwrite, I end up with a restored database but the file structure is written to /var/www/html/html.

Would drush arr ../backup/latest.rgz --overwrite --destination=/var/www/ solve this issue? Do I just continue to muddle through withmv /var/www/html/html* /var/www/html?

How can I get drush to write to the actual root level for the default drupal site?

No correct solution

Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top