c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05490
[Bug 655087] Re: Dump/Restore of db names with embedded whitespace fails
** Changed in: openobject-server
Importance: High => Medium
** Changed in: openobject-server
Milestone: None => 6.0-rc2
** Changed in: openobject-server
Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)
--
Dump/Restore of db names with embedded whitespace fails
https://bugs.launchpad.net/bugs/655087
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Confirmed
Bug description:
Using OpenERP 5.0.14
Trying to dump or restore databases with whitespace in their names fails.
For example: Trying to dump a database called "FY Test" results in this server error:
[2010-10-05 09:09:34,068][?] INFO:web-services:DUMP DB: FY Test
pg_dump: too many command-line arguments (first is "Test")
Try "pg_dump --help" for more information.
Trying to restore the same database results in:
[2010-10-05 09:46:52,637][template1] INFO:web-services:RESTORE DB: FY Test
pg_restore: [archiver] could not open input file "Test": No such file or directory
I have attached a patch that fixes this for me.