Postgres offers a plain text backup solution, pg_dump.
pg_dump is a utility for backing up a PostgreSQL database.
Script dumps are plain-text files containing the SQL commands required to reconstruct the database to the state it was in at the time it was saved.