All commands are now run through a single array variable
All logs are in logs folder for the restore which is a sub folder to where the SQL file is located
On restore abort if the basic database creation failed or skip to the next database in block restore
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