Get Databases from a Server
The following python script gets all databases from a PostgreSQL server.
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…
Find and Replace parts of a File Name The following script will find and replace part of a file name with another string.
Find and read the file using Python The following python script reads mongod.conf file and returns some settings.
Some Query Plan
Verifying Linux Setting in Python The following Python script checks several Linux settings. Results of the check are written to the console. If the results are within the desired ranges…
The following script uploads files from the first of the month via S3 With Notification Email The following version sends an email with the results There is no error handling…