Commit Graph

8 Commits

Author SHA1 Message Date
01b434fca0 Postgresql version check calls update formatting 2025-04-15 08:44:00 +09:00
806247996d Clean up all scripts to match bash linting rules
pg_db_dump_file log parameter never set the log folder, it was always overwritten

pg_drop_restore had a double ;; inside which stopped the script from working

All: remove -a flag for Amazon Linux OS. This was only for V1 type and we do no longer support this (or use it) and V2 AWS Linux is based more on a redhat type, so the -r flag will work

Various other formatting updates

Change all strange ls to find calls

Change all exec calls with params to params in array
2025-04-15 08:40:21 +09:00
7d2f75366d Clean up code for pg_db_dump_file
Fixes for wrong empty settings
Fix log path not set correct if given as parameter

Fix all shell linting problems
2025-04-14 15:58:41 +09:00
6adee6abc4 Do only set LOG_PATH if LOG_PATH is not set 2025-04-14 10:59:08 +09:00
fc1f5dcae7 Add shellcheckrc 2024-09-03 12:40:48 +09:00
fb092feabc Fix for "local" socket host name
if -h local is set, be sure to never set -h flag so we use the socket
and not host connection.

Needed for trust with socket flow (sudo -u)
2022-01-17 15:12:12 +09:00
e787fb2370 Add Readme file v1.0.0 2021-12-14 06:47:15 +09:00
52ebf9671c Scripts to dump and restore PostgreSQL databases 2021-12-14 06:35:56 +09:00