public inbox for [email protected]  
help / color / mirror / Atom feed
From: Greg Sabino Mullane <[email protected]>
To: KK CHN <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Pgbackrest specifying the default DB necessary/correct way ?
Date: Wed, 28 Aug 2024 08:20:34 -0400
Message-ID: <CAKAnmmK8Xnuxwsq4OUUZ7af=DqktRKWoWZ+2n8Upf5f_rQyGfg@mail.gmail.com> (raw)
In-Reply-To: <CAKgGyB9jNiGJZHjQRhCico=6zGoxz8zWPrsv2xv5vm2c5tJvow@mail.gmail.com>
References: <CAKgGyB9jNiGJZHjQRhCico=6zGoxz8zWPrsv2xv5vm2c5tJvow@mail.gmail.com>

On Wed, Aug 28, 2024 at 1:39 AM KK CHN <[email protected]> wrote:

> In this DB server    I have other databases  than the default  "edb"
> database.     Specifying the above line as    pg1-database=edb   // I am
> not sure this line is necessary  or not ?
>

The pgbackrest process needs to connect to the database, which means it
needs a user and database. You need this variable if you do not have the
default database, "postgres". If you have a database named postgres, you
can leave this out. Otherwise, yes, it is necessary.

 pg1-database=edb // specifying like this, will it block other databases
> on this server to get backed up ?   IF yes how can I overcome this ?
>

pgBackRest works on a cluster level, so *all* the databases are backed up.
Indeed, it is not possible to only backup some of the databases. It's the
whole cluster.

 ( I am just learning and exploring PgbackRest)  found online some
> reference configurations so using like this )


Probably best to stick to the official docs; this section in particular is
worth a read:

https://pgbackrest.org/user-guide-rhel.html

Cheers,
Greg


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: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Pgbackrest specifying the default DB necessary/correct way ?
  In-Reply-To: <CAKAnmmK8Xnuxwsq4OUUZ7af=DqktRKWoWZ+2n8Upf5f_rQyGfg@mail.gmail.com>

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

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