PostgreSQL Base Backup pg_basebackup -U postgres -D /var/lib/postgresql/data -Fp -Xs -P Creates a physical backup of an entire PostgreSQL database cluster by copying the data files directly. Flags