Subject | Redirect output of gbak |
---|---|
Author | liviuslivius |
Post date | 2018-05-30T08:45:30Z |
Hi,
how to redirect output of gbak to the file?
----------------------------
"%FB_DIR%\gbak" -service 127.0.0.1:service_mgr -c -v -BUFFERS 0 -STATISTICS TD -user SYSDBA -password masterkey %FB_BACKUP%\security3.bak
%FB_RESTORE%\security3.fdb.restored 2>&1 %FB_RESTORE%\rest.security3.rep
---------------------------------------
when i use above command it go to screen instead of file
---------------------------------------
gbak: ERROR:expected page buffers, encountered "0"
gbak: ERROR: Exiting before completion due to errors
gbak:Exiting before completion due to errors
----------------------------------------
if i change buffers to -BUFFERS 65536
it redirect info to the file but errors are not redirected - why?
regards,
Karol Bieniaszewski