It would be a nice feature if the user can choose between downloading or saving to /temp when backing up the tables.
In some cases (like mine) you may not have access to the /tmp folder :-(
The feature request is somewhat related to the other request about having the ability to have the backup send by e-mail and also with the feature request to load and execute an local file.
Thanks

Comments

greggles’s picture

Isn't it possible to set the temp directory anywhere you want - like files/mydbabackups/ - and then it would be available inside the drupal root and possible to download, right?

I don't believe any changes to the module are necessary to achieve this functionality.

greggles’s picture

Pardon me, I didn't remember

If automatic backups are enabled, you must specify a directory where you would like to store the backup files. The path must be absolute and for security reasons should not be accesible to the web.

So, I guess the feature request is to have a path inside of the dba administration screens that internally serves up the file from /full/path/to/dir/backup.sql much like the "private file handling" works. Right?

jenscbc’s picture

I think the feature request should preferable be implemented as an extra option to download the backup.sql file to your local computer. This way the file will either be dowloaded to the local machine or stored on the webserver in the /tmp folder outside of the webscope.
I see that the "backup" module can make a backup of both the MySQL and the all the sites files but I think it is better to give the user the choice of only making a backup of the MySQL tables.

dww’s picture

Status: Active » Postponed (maintainer needs more info)

How is this different from going to admin/build/database, selecting all tables, and pressing the "Backup" button?

jenscbc’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Hi thanks for answering. It's kind'a long time ago I wrote the request and what my exact problem was is gone from my human memory :-)
Your description do allow for backing up and downloading - yes.

Thanks for answering anyway.