Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GBAK ignores double quotes in source/destination file name [CORE5263] #5542

Open
firebird-automations opened this issue Jun 6, 2016 · 3 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Олег Короткий (олег короткий)

Votes: 1

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

@firebird-automations
Copy link
Collaborator Author

Commented by: @ibaseru

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.

@firebird-automations
Copy link
Collaborator Author

Commented by: @dyemanov

The problem with embedded blanks exists only when -se switch is used.

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

assignee: Alexander Peshkov [ alexpeshkoff ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants