Menu Search

5.5. Overwriting An Existing Configuration Store

If a configuration store already exists at the configured store location then it is used and the current 'Initial Configuration' is ignored.

The command line argument -os (or --overwrite-store) can be used to force a new broker configuration store to be initialised from the current 'Initial Configuration' even if one exists:

$ ./qpid-server -os -icp ./my-initial-configuration.json
        

This can be useful to effectively play configuration into one or more broker to pre-configure them to a particular state, or alternatively to ensure a broker is always started with a fixed configuration. In the latter case, use of the Memory Configuration Store Type may also be useful.