Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sjBPO-00GAOH-1n for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2024 05:39:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sjBPM-00HXwt-5l for pgsql-general@arkaria.postgresql.org; Wed, 28 Aug 2024 05:39:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sjBPL-00HXsh-PV for pgsql-general@lists.postgresql.org; Wed, 28 Aug 2024 05:39:52 +0000 Received: from mail-yw1-x112f.google.com ([2607:f8b0:4864:20::112f]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sjBPE-001s40-P0 for pgsql-general@postgresql.org; Wed, 28 Aug 2024 05:39:51 +0000 Received: by mail-yw1-x112f.google.com with SMTP id 00721157ae682-6b0c5b1adfaso57096257b3.0 for ; Tue, 27 Aug 2024 22:39:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724823583; x=1725428383; darn=postgresql.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=4v1zzuO9bTA8BQgBawwTQfGCPaLSRRCF8XgDNuM9Luo=; b=Pr9qUO489U8cUHw92sl8GUx8bWktuJ0lzimRUjTVTeQcuXGP/diBtogljHzjxGuxxe 2j13GYUxX4rSMNPD7dkjOrN/bcapviUGxhtFjmRaQSONkO48AUnHHt1xbbCV98Kt31Ny yjSh4MvtInJaOn1NaOUrIKY7uRpFJVYyVpkyrNwCVkv96XOBwJTL9JtEMCmLA3E1H/sl TJFiVDCleUtP9kvCsuf9UgrOFjTcpfYLUoO+OTUcd5X5U3/M08x7AB7eAHwhFsLqQPvX aLRZhHSQXWviu3fAGc73XtqC7OhMrQdhBktCth71BAz/18qq4TPOOBBtJVTjljHIyeE/ RKKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724823583; x=1725428383; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=4v1zzuO9bTA8BQgBawwTQfGCPaLSRRCF8XgDNuM9Luo=; b=kA7O2G3e38Css5YGBeh//m7QAhbflH8tS4CaC0hTpPOzpHXQ+E2gvVmUcD4bLTsMxy zd5feqPmfTazo0YwmqTcGWDuRdTDj/R5KEauUr4hGPIAb3FjsqVoWcK9hbhNs+zaCkm0 HliZxH/kQt2AnJZbLcyf8wChRBgJoXBno8ubdnIend9rdNuSLlA1INfQw8FQZPrEm+DR EEfHFWcgfkoUzflY9TEo/VuBUuK2rcfq5eM5dA5Irf2V0wrbt269GfHClBbMuhgHGiac cHAxX/ExmgcmFFAuFvMWI8YIwOngvC3cLLDbqJf2sWWLMvO4PnQUs0IOxo2r8DlQbmsG RNJQ== X-Gm-Message-State: AOJu0YzGmIgo9SMpS1Ifknsmha86iYVZXPpHXrY4JOIVUYXpNZ24I1VG 6ujzYSA3avOYu3pfhHK7mWAb1TNZjVtmh/OfVKgyuaZrgdqZ0uTW9JGAfG5CsTzPzewcruFtT4L EzH11cPDnZtXvm2fBgnKAwNiuEsxLet4r X-Google-Smtp-Source: AGHT+IEIS68BNbcjDMDUtskaoxaGd3CV38Efw/0h4lZXh2hUr5veb7MgOR8SGvbQpwiMy1G07RNqAJMbV2cct9xI7oQ= X-Received: by 2002:a05:690c:4607:b0:6b0:45d:bf7a with SMTP id 00721157ae682-6c6263ec4e6mr140056717b3.18.1724823583193; Tue, 27 Aug 2024 22:39:43 -0700 (PDT) MIME-Version: 1.0 From: KK CHN Date: Wed, 28 Aug 2024 11:09:51 +0530 Message-ID: Subject: Pgbackrest specifying the default DB necessary/correct way ? To: pgsql-general Content-Type: multipart/alternative; boundary="000000000000fa07e80620b7c896" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fa07e80620b7c896 Content-Type: text/plain; charset="UTF-8" List, I have configured the pgbackrest on a live DB server and a Repo Server. ( EPAS 16, RHEL 9.4 and Pgbackrest 2.52.1 ) On DB Server I have ############################## [root@db1 ~]# cd [root@db1 ~]# cat /etc/pgbackrest/pgbackrest.conf [Demo_Repo] pg1-path=/data/edb/as16/data pg1-port=5444 pg1-user=enterprisedb pg-version-force=16 pg1-database=edb *## Query 1. * [global] repo1-host=10.255.0.40 repo1-host-user=postgres archive-async=y spool-path=/var/spool/pgbackrest log-level-console=info log-level-file=debug delta=y [global:archive-get] process-max=2 [global:archive-push] process-max=4 ############################################## *## Query 1: * 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 ? ( I am just learning and exploring PgbackRest) found online some reference configurations so using like this ) 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 ? I want all databases on this server to be backed up to the remote repository. It is a production server and I can't perform a trial and error method here to understand how it works. Please shed some light on this . Thanks , Krishane --000000000000fa07e80620b7c896 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
List,=C2=A0=C2=A0

I have configured the= pgbackrest on a live DB server=C2=A0 and=C2=A0 a Repo Server. ( EPAS 16, R= HEL 9.4 and Pgbackrest 2.52.1 )

On DB Server I hav= e
##############################
[root@db1 ~]# cd
[root@db1= ~]# cat /etc/pgbackrest/pgbackrest.conf
[Demo_Repo]
pg1-path=3D/data= /edb/as16/data
pg1-port=3D5444
pg1-user=3Denterprisedb
pg-version-= force=3D16
pg1-database=3Dedb=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 ##=C2=A0 =C2=A0Q= uery 1.=C2=A0

[global]
repo1-host=3D10.255.0.40
repo1-host= -user=3Dpostgres
archive-async=3Dy
spool-path=3D/var/spool/pgbackrest=
log-level-console=3Dinfo
log-level-file=3Ddebug
delta=3Dy

= [global:archive-get]
process-max=3D2

[global:archive-push]
pro= cess-max=3D4
##############################################

<= div>## Query 1:=C2=A0=C2=A0

=C2=A0 In this DB server=C2=A0 =C2=A0 I have oth= er databases=C2=A0 than the default=C2=A0 "edb" database.=C2=A0 = =C2=A0 =C2=A0Specifying the above line as=C2=A0 =C2=A0 pg1-database=3Dedb= =C2=A0 =C2=A0// I am not sure this line is necessary=C2=A0 or not ?

( I am just learning and exploring PgbackRest)=C2=A0 foun= d online some reference configurations so using like this )
<= br>
=C2=A0pg1-database=3Dedb // specifying like this, will it blo= ck other databases=C2=A0 on this server to get backed up ?=C2=A0 =C2=A0IF y= es how can I overcome this ?

I want all=C2=A0datab= ases on this server to be backed up to the remote repository.=C2=A0


It is a production server and I can't = perform a trial and error method here to=C2=A0understand how it works.=C2= =A0


Please shed some light on this = .


Thanks ,
Krishane
=


--000000000000fa07e80620b7c896--