Hi everybody,
Is anyone working on a feature to backup a complete Drupal install (excluding the files directory) .
This could be handy while developing a website.

Thanks

Comments

derhasi’s picture

Do you really need BAM to do this? Have you tried working with a VCS (like GIT)? I guess this would be a much better approach for "backing up" source code.

Besides, any information to restore a Drupal installation is held in the Database (installed modules and themes are located in {system}) and the files. So if you only use contrib modules and themes (and do not hack them), more should not be needed. As you se custom modules and themes, you should work with GIT (or any other VCS).

tostinni’s picture

A VCS is usefull for this but, providing this feature is also nice when you don't use a VCS but you would like to get some basic backup of your modules/themes, especially when working with custom module/theme.

Is there anything in Drupal that would prevent this to be built ?

Thanks

niklp’s picture

Status: Active » Postponed

This is probably something that is more likely to be provided by Drush than this module. It seems a little out of scope. Perhaps you could raise this in the Drush issue queue?

ronan’s picture

Drush 5 has archive-dump which does this:

http://drush.ws/help/5#archive-dump

Backup and Migrate will eventually support this for those without command line access, but the Drush option will be faster, better and stronger for those who can use it.

ronan’s picture

Oh, and if you're impatient for this feature, you can checkout my implementation of whole-site archiving at: https://github.com/ronan/backup_migrate_archive

It's a rough proof of concept still and it doesn't quite meet the current spec for this format which is being developed here: http://groups.drupal.org/site-archive-format