Subject Re[2]: [firebird-support] gbak -CREATE_DATABASE -buffers 0 => not work :(
Author Dmitry Kuzmenko
Hello, Vander!

Monday, December 26, 2011, 11:51:27 AM, you wrote:

>>I'm curious, what error,

VCS> gbak: ERROR:expected page buffers, encountered "0"
VCS> gbak:Exiting before completion due to errors

perfect.

VCS> because it's not written clearly about default value for
VCS> buffers = 0 and i have for habitude to always specify
VCS> default value because you never know what it's will be
VCS> in futur version ...

no doubt that it will NOT be changed in future versions.
Because there is no any reason to.
When you create database, it have cache size = 0,
so, specifying -buffers 0 at that moment is meaningless.

Moreover, specifying -buffers for the database is a admin
task only. And, it is for cases, when 2 or more databases
at the same server must have DIFFERENT cache sizes.
Otherwise, set needed cache size for all databases in firebird.conf
and forget about -buffers option.

--
Dmitry Kuzmenko, www.ib-aid.com