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 with PIPE to stdout: invalid content if user '-se <host>:service_mgr' command switch [CORE6264] #6506

Closed
firebird-issue-importer opened this issue Mar 15, 2020 · 8 comments

Comments

@firebird-issue-importer

Submitted by: @pavel-zotov

Duplicates CORE6130

C:\FB\30SS\gbak.exe -b -se localhost:service_mgr stdout | C:\FB\30SS\gbak -c stdin C:\temp\employee.check-restore.tmp

Output:

gbak: ERROR:expected backup description record
gbak:Exiting before completion due to errors

This ( i.e. gbak without "-se ..."):
C:\FB\30SS\gbak.exe -b localhost:employee stdout | C:\FB\30SS\gbak -c stdin C:\temp\employee.check-restore.tmp
-- works OK

This:
C:\FB\30SS\fbsvcmgr localhost:service_mgr action_backup dbname employee bkp_file stdout | C:\FB\30SS\gbak -c stdin C:\temp\employee.check-restore.tmp
-- also works fine.

Checked on:
WI-T4.0.0.1803
WI-V3.0.6.33265

Commits: 38f5016 8204d55

====== Test Details ======

Currently implemented only for Windows. For POSIX will be completed later.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 16, 2020

Modified by: @AlexPeshkoff

assignee: Alexander Peshkov [ alexpeshkoff ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Mar 31, 2020

Modified by: @AlexPeshkoff

Fix Version: 4.0 Beta 2 [ 10888 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 1, 2020

Commented by: @AlexPeshkoff

Restore is also working after this fix

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 1, 2020

Modified by: @AlexPeshkoff

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

resolution: Fixed [ 1 ]

Fix Version: 3.0.6 [ 10889 ]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 4, 2020

Modified by: @pavel-zotov

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

QA Status: No test => Done successfully

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 4, 2020

Modified by: @pavel-zotov

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

Test Details: Currently implemented only for Windows. For POSIX will be completed later.

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 4, 2020

Modified by: @pavel-zotov

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

Test Specifics: [Platform (Windows/Linux) specific]

@firebird-issue-importer
Copy link
Author

firebird-issue-importer commented Apr 7, 2020

Modified by: @AlexPeshkoff

Link: This issue duplicates CORE6130 [ CORE6130 ]

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