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 can't do verbose backup to stdout, even if verbose output is redirected to file [CORE4009] #4341

Closed
firebird-automations opened this issue Dec 11, 2012 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Artem Petkevych (artem)

Duplicates CORE3995

I used to do compressed backups redirecting backup from stdout of gbak to stdin of archiver. Log was saved to file with -v -y switches. With Firebird 2.5.2 I get error "standard output is not supported when using split operation or in verbose mode". This is because of changes related to CORE2666. I think it should be possible to use -v switch if output is redirected to file, at least for local backups. Minimal change is enough in burp.cpp, function open_files, line 1690 from
if (tdgbl->action->act_total >= 2 || fil->fil_next || sw_verbose)
to
if (tdgbl->action->act_total >= 2 || fil->fil_next || (sw_verbose && (tdgbl->sw_redirect == NOREDIRECT)) )

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

Link: This issue duplicates CORE3995 [ CORE3995 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @AlexPeshkoff

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Duplicate [ 3 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

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

1 participant