PostgreSQL Database: administration, queries and backup!
Databases
Published on
Karl Certa Infrastructure Engineer | Linux & Automation6+ years on Linux and Windows in production, from support to infrastructure automation. I write here about what I work with. AWS Certified Solutions Architect Associate Based in Dublin, available now LinkedIn karlcerta.com GitHub Karl Certa
PostgreSQL is an open source relational and object database management system, renowned for its robustness, advanced features and SQL standards compliance.
🤔 Why PostgreSQL?
PostgreSQL is for:
🏗️ Linked data - Customers → Orders → Products
💰 Precise calculations - Money, accounting (no rounding bugs)
# The postgres user can connect locally without passwordlocal all postgres trust# Only PCs in network 192.168.1.0 to 192.168.1.255 can connect# with password (md5 = encrypted password)host all all 192.168.1.0/24 md5# Concrete example: allow only web server 192.168.1.10host myapp webuser 192.168.1.10/32 md5# DANGER: allows everyone on the internet (avoid this!)host all all 0.0.0.0/0 md5# SSL required for external connections (more secure)hostssl all all 0.0.0.0/0 md5