Install PostgreSQL on Ubuntu 22.04
The following scripts install PostgreSQL on Ubuntu 22.04 Installation Steps Perform Updates First install any updates for Ubuntu Add Repository and Install Ubuntu does not include PostgreSQL so we must…
The following scripts install PostgreSQL on Ubuntu 22.04 Installation Steps Perform Updates First install any updates for Ubuntu Add Repository and Install Ubuntu does not include PostgreSQL so we must…
Prerequisites The following Ansible script installs prerequisites. This includes packages for Python, etc. PostgreSQL The following Ansible script installs a single instance of PostgreSQL via ansible.
The following script is for backing up a postgres database Backup Via .env file The following script uses a .env instead of a .pgpass file
The following list is a list of questions that a Database Administrator should ask when provisioning a new database. The questions are also useful when examining an existing database as…
The following scripts backup your PostgreSQL databases via Python using pg_dump. The scripts will then compress the backup via zip. These backup scripts are linux specific. You’ll have to manage…
The following python script gets all databases from a PostgreSQL server.
A list of tasks for Database administrator, regardless of platform.
Create a new user in PostgreSQL
The following scripts create some tables that store PostgreSQL permissions. The permissions come from the system tables pg_roles, pg_auth_members, and others. The scripts assume there is a database named DBA,…
Read and Display Postgres configuration information The following script reads the Postgresql configuration file and displays key settings. Results are sent to the console and an outfile. You can also…