Download & Extend

send database backup to an email -manually and CRON-schedule-possible?

Project:Database Administration
Version:5.x-1.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

It would be great if the module also send DB backup -manually and CRON-schedule options- to an EMAIL as much as saving the database into local- i.e gMail and gMaildisk giving you 2 MB would be perfect -or infact any email will do

Comments

#1

My understanding of this feature request is to provide a field for the admin to specify an email address where the backup should be sent instead of sending it to the site admin. I believe it should default to the site admin address, but being able to specify one would be even better for me.

I need this feature and would be happy to provide it if the maintainers are interested in the functionality.

#2

I certainly wouldn't be opposed to a setting to control where the backups should be sent, instead of having it hard-coded to the site admin. If you want to roll a patch, go for it. ;)

#3

Status:active» needs work

Attached patch achieves this...

It has no upgrade path, since I wanted to discuss it:

1) I'll create an install file with an update called dba_update_5001
2) That update will get the dba_auto_backup_mail setting and
3) if enabled, it will load the admin email and then
4) create the new variable using the admin email as the value
5) then, regardless of previous settings delete the old variable

Agreed?

AttachmentSize
dba_mail_option.patch 2.28 KB

#4

I thought about this some more - maybe we should keep the checkbox and the email box. Then the upgrade path is easy - just make the email address the site admin's mail as the default.

Either way...let me know.

#5

Status:needs work» closed (won't fix)

The 5.x branch is no longer supported.