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.
you should also look into these as well. it might well be the next requirement.
On Sat, 5 Jun 2021 at 22:45, SMAX Inbound <smaxinbound@xxxxxxxxx> 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