Issue Details (XML | Word | Printable)

Key: CORE-6264
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Alexander Peshkov
Reporter: Pavel Zotov
Votes: 0
Watchers: 3
Operations

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

gbak with PIPE to stdout: invalid content if user '-se <host>:service_mgr' command switch

Created: 14/Mar/20 10:45 PM   Updated: 07/Apr/20 09:48 AM
Component/s: Engine, GBAK, SVCMGR
Affects Version/s: 4.0 Beta 1, 3.0.5
Fix Version/s: 4.0 Beta 2, 3.0.6

Issue Links:
Duplicate
 

QA Status: Done successfully
Test Details: Currently implemented only for Windows. For POSIX will be completed later.
Test Specifics: Platform (Windows/Linux) specific


 Description  « Hide

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


 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Alexander Peshkov added a comment - 01/Apr/20 10:23 AM
Restore is also working after this fix