gbak can't do verbose backup to stdout, even if verbose output is redirected to 
file
------------------------------------------------------------------------------------

                 Key: CORE-4009
                 URL: http://tracker.firebirdsql.org/browse/CORE-4009
             Project: Firebird Core
          Issue Type: Bug
          Components: GBAK
    Affects Versions: 2.5.2
         Environment: Windows 7, Firebird 2.5.2
            Reporter: Artem Petkevych
            Priority: Minor


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 CORE-2666. 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)) )


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to