Commit Graph

6 Commits

Author SHA1 Message Date
3eb09635f9 Remove default backup dir and do not create backup folder automatically
Fails if the backup folder does not exist or is not writable.
2025-10-15 18:46:02 +09:00
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
52ebf9671c Scripts to dump and restore PostgreSQL databases 2021-12-14 06:35:56 +09:00