emerichunter / get_postgresql.conf

bash script to get configuration from server and make a postgresql.conf backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

get_postgresql.conf

Bash scripts to get configuration from postgresql server and make a postgresql.conf backup

  • Use recup_postgresql.conf.sh to get from one or more server (inline usage)
./recup_postgresql.conf.sh -u <user> -h <cluster1> [-h <cluster2> ... ]
  • Use filerecup_postgresql.conf.sh to get configuration from servers listed in a file :
./filerecup_postgresql.conf.sh  -u <user> -f <ips.txt>

Future usage

Use with maintenance_schema (without the need to deploy locally) to collect aggregated statistics proactively and prevent issues from happening and maintain performances.

About

bash script to get configuration from server and make a postgresql.conf backup


Languages

Language:Shell 100.0%