Issue Details (XML | Word | Printable)

Key: CORE-5263
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Олег Короткий
Votes: 1
Watchers: 4

If you were logged in you would be able to see more operations.
Firebird Core

GBAK ignores double quotes in source/destination file name

Created: 06/Jun/16 02:48 PM   Updated: 22/Jun/16 10:46 AM
Component/s: GBAK
Affects Version/s: 3.0.0
Fix Version/s: None

Environment: Windows server 2012 r2 x64, FB x64

QA Status: No test

 Description  « Hide
gbak.exe -B -L -USER SYSDBA -PASSWORD masterkey -SE srv:service_mgr -T energo3 "D:\Backup\db\temp\energo3 2016-06-06 23-27-16.fbk"
gbak: ERROR:cannot open backup file 23-27-16.fbk

When I put commas instead of spaces in filename, I get what I want
gbak.exe -B -L -USER SYSDBA -PASSWORD masterkey -SE srv:service_mgr -T energo3 "D:\Backup\db\temp\energo3.2016-06-06.23-27-16.fbk" -V
gbak:readied database energo3 for backup
gbak:creating file D:\Backup\db\temp\energo3.2016-06-06.23-27-16.fbk
gbak:starting transaction

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
kdv added a comment - 06/Jun/16 05:00 PM - edited
side comments
-L - do you use 2phase commit?
-T is a default option for transportable backup, and it is not needed to specify.

I suggest to eliminate unnecessary options.

Dmitry Yemanov added a comment - 22/Jun/16 10:46 AM
The problem with embedded blanks exists only when -se switch is used.