Hello guys,
I am trying to create a backup of my site before moving on with its development.
To do so, I went to sites --> export to file which gave me the following error message:

Export failed.
STDERR:Initialized Drupal 7.20 root directory at
[notice]
C:\..\Drupal\Sites\demo
Command archive-dump needs a higher bootstrap level to run – you will [error]
need to invoke drush from a more functional Drupal environment to run this command.
The drush command ‘archive-dump demo’ could not be executed [error]
Could not find a Drupal settings.php file at 
[error]
./sites/default/settings.php

Anyone have an idea on how to fix this?
Thanks

Comments

Dr Jay’s picture

Drupal is not able to bootstrap on this command. Are you using drush to do this? Either you're trying to run this from a different location (other than the docroot containing settings.php) or else your webserver (acquia dev, I presume) is not running apache/php/mysql (in which case turn this on and hit start before you try this again). From the command line you can troubleshoot this (which drush will tell you what instance you're calling, drush sa --self will give you some details about the call itself, etc.). Let me know how it goes...

quvx’s picture

it has to do with the settings.php file. When I try to export the Drupal site that was created during the Acquia Dev Desktop installation, everything works fine and I can export the site.
When I try to export one of the other sites I created, it does not work and I get this error message. So do I have to move the settings.php file? I'm not using drush but the Acquia Dev Desktop Interface to export the site.
Thank you

Metasequoia’s picture

I experience exactly the same problem! Acquia dev desktop is not exporting my custom drupal installation. same error message. in which way do i have to move (?) the settings.php file to get it working?

Metasequoia’s picture

Any progress on this issue? I still get the error message and no idea how to fix it...

Tybot204’s picture

Having the same problem as described above. I used the Acuia Dev Desktop "Export Site" button. It exports the main site fine, but I want to export a new site I created (subdomain: mysite.localhost) rather than the main site created at installation.

HiveMadeThis’s picture

No one has found a solution?

cbrookins’s picture

After reproducing please email chris at acquia dot com the *.log files in the dev desktop directory.

lkruppa’s picture

I have the same problem with the acquia dev desktop export.