pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Holger Jakobs <holger@jakobs.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: version control based configuration in Postgresql
Date: Mon, 3 Jul 2023 12:58:26 +0200
Message-ID: <93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com> (raw)
In-Reply-To: <CALXkTpy76LEu1V06yVG5LvfeAHOwspcvZZXDAz=2r1ARenJG3Q@mail.gmail.com>
References: <CALXkTpy76LEu1V06yVG5LvfeAHOwspcvZZXDAz=2r1ARenJG3Q@mail.gmail.com>

Am 03.07.23 um 12:18 schrieb Nikhil Ingale:
> Hi All,
> I would like to know how to perform version control based 
> configuration backup for the postgresql database.
>
> Regards,
> Nikhil Ingale

If it's about the postgresql.conf, pg_hba.conf, pg_ident_conf and files 
in the conf.d subdirectory, any version control system will do.

Whether it's git, bazaar, mercurial or fossil.

I version all my configurations (all of /etc) with https://fossil-scm.org

-- 
Holger Jakobs, Bergisch Gladbach, Tel. +49-178-9759012



Attachments:

  [application/pgp-signature] OpenPGP_signature (202B, ../93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com/2-OpenPGP_signature)
  download

view thread (5+ messages)  latest in thread

Message-ID: <93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com>
Permalink:  ../93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com/
Also on:    postgresql.org/message-id/93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: version control based configuration in Postgresql
  In-Reply-To: <93533ffa-2dd7-2110-cbcb-6426037ea363@jakobs.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox