I have an installation that has a default Drupal site, and a test site, as folders within the "Sites" folder. Each has its own database. How does Backup handle this? If I backup the default site, will I get the default site's database and all of the files for both sites? If I backup the test site, what database will be backed up? What files?

Thanks,
BillD

Comments

dmuth’s picture

Status: Active » Postponed

At this point, it doesn't handle multi-site installations. I guess it would back up the database that you are currently using, but I have never tried this.

If there's more demand for a future like this, I'll look into it.

-- Doug

fgm’s picture

Version: 5.x-2.x-dev » 5.x-4.x-dev
Status: Postponed » Active

I tried to use the module today with the latest dev release, but nothing seems to happen: the backup file appears not to be created, and nothing is logged to the watchdog to track where an error happens.

I'm in a similar configuration: multi-site (n sites, p databases due to some sites sharing a DB with different prefixes, no table sharing).

One related problem I had was that I wanted to backup to a directory outside the drupal hierarchy, but the module doesn't seem to handle this: backup destinations are relative, and using ".." in paths, these are "__SANITIZED__", cause the opendir() call to fail.

Petra’s picture

+1 for multi-site-installations with different databases.

I also use the latest dev release with a multisite-configuration, I have n sites but only 1 database so far. I created a directory backup in drupal's root directory to store the backupfiles and it works. The backupfile includes tho whole drupal directory (except the backup-directory) and the whole database.

For more than one database see http://drupal.org/node/155291