Support `pg_basebackup` in addition to `pg_dump`. https://www.postgresql.org/docs/9.5/static/app-pgbasebackup.html