Re: Automate pg_basebackup in linux

From: Vijaykumar Jain <vijaykumarjain(dot)github(at)gmail(dot)com>
To: SMAX Inbound <smaxinbound(at)gmail(dot)com>
Cc: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Automate pg_basebackup in linux
Date: 2021-06-05 17:44:05
Message-ID: CAM+6J94_J14rcEitGR+BED4agiQHqTcNuzE+OA+kSvFzsAtGkw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

you should write your own scripts imho.
I just github searched and found one .... but read and understand what it
does. how does it suit your db version etc.

etsin-harvester-ops/db_backup.sh at
0f6b9402ada16770894e7c63077c325cac1ed85f · CSCfi/etsin-harvester-ops
(github.com)
<https://github.com/CSCfi/etsin-harvester-ops/blob/0f6b9402ada16770894e7c63077c325cac1ed85f/ansible/roles/backup/templates/db_backup.sh>

you should also look into these as well. it might well be the next
requirement.
dhamaniasad/awesome-postgres: A curated list of awesome PostgreSQL
software, libraries, tools and resources, inspired by awesome-mysql
(github.com) <https://github.com/dhamaniasad/awesome-postgres#backups>

On Sat, 5 Jun 2021 at 22:45, SMAX Inbound <smaxinbound(at)gmail(dot)com> 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...
>
>
> Thanks
>
>

--
Thanks,
Vijay
Mumbai, India

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2021-06-05 18:40:38 Re: Automate pg_basebackup in linux
Previous Message SMAX Inbound 2021-06-05 17:14:22 Automate pg_basebackup in linux