From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: Automate pg_basebackup in linux
Date: Sat, 5 Jun 2021 13:48:04 -0500
Message-ID: <345839be-63ea-5a68-da74-4121cfddbf88@gmail.com> (raw)
In-Reply-To: <CACvDJ+-83LwuC1bC2dJ9062Y3MMtMm0z0fNrnN_kwm7enPHMwg@mail.gmail.com>
References: <CACvDJ+-83LwuC1bC2dJ9062Y3MMtMm0z0fNrnN_kwm7enPHMwg@mail.gmail.com>
On 6/5/21 12:14 PM, SMAX Inbound wrote:
>
> Hi All,
>
> is there any script to automate pg_basebackup in linux using cron job..
> i.e. shell script that will automate taking basebackup weekly, and
> removing previous backup and wal files once base backup is successfully
> completed...
>
If you know any shell scripting languages, such a script is easy to write.
(Are you saying that you don't know "shell"?)
--
Angular momentum makes the world go 'round.
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: ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
Subject: Re: Automate pg_basebackup in linux
In-Reply-To: <345839be-63ea-5a68-da74-4121cfddbf88@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 DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox