Hi Raj,
It is certainly_ possible_ to do this however it is not something
which is recommended in a production environment (at least, not by the
Barman maintainers [1]). The reason is because, in Barman, the full
backup history and WAL archive must relate to a single PostgreSQL
system - it should be possible for Barman to recover any known backup
and replay any WALs in the archive onto that PostgreSQL system.
Changing the system identifier breaks this requirement which may lead
to undefined behaviour. Also, updating the system ID and continuing to
take backups with the same server definition in Barman is not
something which is extensively tested across PostgreSQL and Barman
versions.
Best regards,
Mike
[1]:
https://docs.pgbarman.org/release/3.4.0/#setup-of-a-new-server-in-barman
On Thu, Mar 16, 2023 at 12:32 PM 'Rajasekar Arumugam' via Barman,
> To view this discussion on the web, visit
https://groups.google.com/d/msgid/pgbarman/eaa78fed-2313-4a7e-abc5-fe76a5a8aae2n%40googlegroups.com.