Question: what is pg_basebackup in postgresql?
Answer: pg_basebackup is used to take base backups of a running PostgreSQL database cluster. ... pg_basebackup makes a binary copy of the database cluster files, while making sure the system is put in and out of backup mode automatically.