Bug #45003 Allow mysqldump to save dump files per database
| Submitted: | 21 May 2009 8:44 | Modified: | 24 Sep 2009 8:57 |
|---|---|---|---|
| Reporter: | Mikiya Okuno | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: mysqldump Command-line Client | Severity: | S4 (Feature request) |
| Version: | OS: | Any | |
| Assigned to: | CPU Architecture: | Any |
[21 May 2009 8:44]
Mikiya Okuno
[24 Sep 2009 8:57]
Susanne Ebrecht
Many thanks for writing a feature request. Verified as described.
[11 Dec 2009 14:52]
MySQL Verification Team
A patch for mysql 5.1
Attachment: bug45003.patch (application/octet-stream, text), 9.14 KiB.
[11 Dec 2009 14:57]
MySQL Verification Team
Please review the patch. It works on my environment. The patched mysqldump will: - have --backup-basedir option. If specified, dump files are created under the directory per DB. - create sub-directory under backup-basedir per backup if --backup-basedir option is specified. sub-directory has a name whose format is NNNNNN. Sub-directory name will be incremented each time when a sub-directory is created. - will create database-name.sql files under the sub-directory if --backup-basedir option is specified. Kind regards!
[14 Dec 2009 1:49]
MySQL Verification Team
Fixed an error message.
Attachment: bug45003.patch (application/octet-stream, text), 9.15 KiB.
[18 Mar 2010 15:54]
Qamar Sheikh
how do you implerment this fix ?
[15 Nov 2014 10:17]
Daniƫl van Eeden
This is an RFE for file-per-database. There is also RFE Bug #6945 which requests file-per-table.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.056 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.