Backups of domain attempts to backup same DB from both mysql and postgres

Hey guys, I just noticed that I've had a series of bad backups - thankfully at a time when I don't need them.

I'm including a small snippet of the email report message. As you can see, there are two DBs for this domain. Both are mysql, however it appears to go through the list of DBs again and tries to back them up from postgres - but they aren't there, so it fails. I have no idea why it only happens for this domain, but other domains before it backup just fine.

Copying Logrotate configuration ..
.. done

Dumping MySQL database thecaptionreview ..
.. done

Dumping MySQL database thecaptionreview_wordpress ..
.. done

Dumping PostgresSQL database thecaptionreview ..
.. dump failed! pg_dump: [archiver (db)] connection to database "thecaptionreview" failed: FATAL: database "thecaptionreview" does not exist

I've been able to correlate the start of the failures to last week when I enabled postgres on my system and told the virtualmin scheduled backup config to include them. I didn't really notice that there was a failure in the emails since it happens in the end of the message.

I'll put in a seperate feature request to add something to the subject line such that if any of the domains fails to backup to include a successful/failed indication like is done with the configuration backups:

Configuration backup on succeeded

Since I am not in immediate need of postgress, as a work around I can turn it off as part of the scheduled backups and survive for a while which is why I'm setting it to medium for severity.


Operating system CentOS Linux 5.2
Webmin version 1.441 Virtualmin version 3.64 Pro
Package updates All Virtualmin packages are up to date.
There are 4 optional Virtualmin packages that you can install.

Closed (fixed)